Changes

Jump to: navigation, search
Undo revision 1504487 by Dinoguy1000 (talk) - oh boy, that broke
{{ #if: {{{test|}}} | [[Yu-Gi-Oh! {{ #ifreplace: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #subreplace: {{{1}}} | 0 | {{ #posreplace: {{{1}}} | // }} }} | / . | ]], [[$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} &#32; }} | $ | [ }} | @ | ]], }}| : | ]]<br /><br /> }}| {{IfSemantics | {{ #arraymap: {{{1}}} | / | x | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{padleft:x|3|0}}|{{padleft:x|3|0}}]] }} | [[Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}} {{ #replace: {{ #sub: {{{1}}} | 0 | {{ #pos: {{{1}}} | // }} }} | / | ]], [[Yu-Gi-Oh! {{ &#if: {{{series|32; }}} | {{{series}}} }} - {{{type}}} }}]]
}}{{
#if: {{{extra|}}} | , {{{extra}}}}}{{ #if: {{{extra2|}}} | , {{{extra2}}}}}
}}<noinclude>
 
:'''To get figured out later''' - <code>#arraymap</code> can probably be replaced by a "doubled" input array and some <code>#replace</code>s (still got a little bit to be worked out, and this can doubtless be refined somehow or another):
:<code><nowiki>{{ #replace: {{ #replace: {{ #replace: {{ #replace: .001@ .002@ .003: | . | [$Yu-Gi-Oh! {{ #if: {{{series|}}} | {{{series}}} }} - {{{type}}}&#32; }} | $ | [ }} | @ | ]], }} | : | ]] }}</nowiki></code>
 
{{Documentation}}
</noinclude>

Navigation menu