Template:InstructionalQuoteRow: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
(Someone has pointed out that some moves need 5 descriptions, so I'm attempting to extend the template here. Full disclosure, I am only 50% sure of what I'm doing here, but I'll rollback it if it fails.)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
|-
|-
|rowspan="{{{charcount|1}}}"|{{GameIcon|{{{game}}}|20px}} {{{icondesc}}}{{#ifexpr:{{{charcount|1}}}>1|{{!!}}{{Head|{{{char}}}|g={{{game}}}|s=20px}}}}{{!!}}{{{desc}}}}}
|rowspan="{{{charcount|1}}}"|{{GameIcon|{{{game}}}|20px}} {{{icondesc}}}{{#ifexpr:({{{charcount|1}}}+{{#ifeq:{{{showhead|n}}}|y|1|0}})>1|{{!!}}{{Head|{{{char}}}|g={{{game}}}|s=20px}}}}{{!!}}{{{desc}}}
{{#ifexpr:{{{charcount|1}}}>1|
|-
{{!}}-
{{#ifexpr:{{{charcount|1}}}>1|{{!}}{{Head|{{{char2}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc2}}}
{{!}}{{Head|{{{char2}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc2}}}}}
{{!}}-}}
{{#ifexpr:{{{charcount|1}}}>2|
{{#ifexpr:{{{charcount|1}}}>2|{{!}}{{Head|{{{char3}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc3}}}
{{!}}-
{{!}}-}}
{{!}}{{Head|{{{char3}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc3}}}}}
{{#ifexpr:{{{charcount|1}}}>3|{{!}}{{Head|{{{char4}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc4}}}
<noinclude>[[Category:Meta-templates]]</noinclude>
{{!}}-}}
{{#ifexpr:{{{charcount|1}}}>4|{{!}}{{Head|{{{char5}}}|g={{{game}}}|s=20px}}{{!!}}{{{desc5}}}}}<noinclude>[[Category:Meta-templates]]</noinclude>

Latest revision as of 23:33, June 20, 2020

|- |rowspan="1"|Other {{{icondesc}}}||{{{desc}}} |-