Permanently protected template

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

From Yugipedia
Jump to: navigation, search
(nothing uses these, and there are better ways to do it anyways)
(Copying over from the sandbox; changing to #arrayprint and adding a property)
Line 1: Line 1:
{{IfSemantics
+
{{ #arraydefine: $episodes | {{{1|}}} | , }}
| {{
+
<div class="hlist hcomma">
    #arraymap: {{{1}}} | , | $x$ | {{
+
{{ #arrayprint: $episodes
      #if: {{ #pos: $x$ | ]] }}
+
|
      | $x$
+
| $episode
      | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} $x$|$x$]]
+
|&#32;
    }}
+
* [[Appears in::Yu-Gi-Oh! {{{series|}}} - {{{type}}} $episode|$episode]]
  }}
+
}}
| {{
+
</div><noinclude>
    #ifexpr: {{ #len: {{{1}}} }} * 35 < 1000
 
    | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{
 
      #replace: {{
 
        #replace: {{{1}}}
 
          | , | @], [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}&#32;
 
        }}
 
        | $ | [
 
      }}
 
      | @ | ]
 
    }}]]
 
    | {{{1}}}
 
  }}
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:43, 28 December 2013