Permanently protected template

Difference between revisions of "Template:Card table anime and manga appearances"

From Yugipedia
Jump to: navigation, search
(try this on for size instead)
(see if this fixes a bug)
Line 2: Line 2:
 
| [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #replace: {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | @], [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}  }} | $ | [ }} | @ | ] }}]]
 
| [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #replace: {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | @], [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}  }} | $ | [ }} | @ | ] }}]]
 
| {{IfSemantics
 
| {{IfSemantics
| {{ #arraymap: {{{1}}} | / | x | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:x|3|0}}|{{padleft:x|3|0}}]] }}
+
| {{ #arraymap: {{ #ifeq: {{ #len: {{{1}}} }} | {{ #expr: {{ #rpos: {{{1}}} | / }} + 1 }} | {{ #sub: {{{1}}} | 0 | {{ #expr: {{ #len: {{{1}}} }} - 1 }} }} | {{{1}}} }} | / | x | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:x|3|0}}|{{padleft:x|3|0}}]] }}
 
| {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | ,  }}
 
| {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | ,  }}
 
}}{{
 
}}{{
 
#if: {{{extra|}}} | , {{{extra}}}}}{{
 
#if: {{{extra|}}} | , {{{extra}}}}}{{
 
#if: {{{extra2|}}} | , {{{extra2}}}}}
 
#if: {{{extra2|}}} | , {{{extra2}}}}}
}}<noinclude>{{Documentation}}
+
}}<noinclude>
 +
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 08:17, 24 June 2011

[[Yu-Gi-Oh! - {{{type}}} {{{1}}}|{{{1}}}]]