Template:PowerRankingsRow: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(I'll be testing this, don't use in articles until I do)
 
m (Undid edit by CanvasK: Actually I saw some older ones with tier rankings and there was never an issue raised. May be better to let the error show to prevent other weird inputs)
Tag: Undo
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{PowerRankingsHeader}}
<noinclude>{{PowerRankingsHeader}}
</noinclude>|-
</noinclude>|-
|{{{1|}}}||{{Sm|{{{2|}}}}}||{{{3|&mdash;}}}||{{#if:{{{3|}}}|{{#ifexpr:{{{1|}}}={{{3|}}}|&mdash;|{{#ifexpr:{{{1|}}}>{{{3|}}}|{{#expr:{{{1|}}}-{{{3|}}}}}|{{#expr:{{{3|}}}-{{{1|}}}}}}}}}|&mdash;}}||{{{4|}}}<noinclude>
|{{{1|}}}||{{#if:{{{5|}}}|{{flag|{{{5}}}}}}} {{Sm|{{{2}}}|p={{{location|}}}}}||{{#ifeq:{{{3|-}}}|-|&mdash;|{{{3|}}}}}||{{#ifeq:{{{3|-}}}|-|&mdash;|{{#ifexpr:{{{1|}}}={{{3|}}}|0|{{#ifexpr:{{{1|}}}>{{{3|}}}|{{#expr:{{{1|}}}-{{{3|}}}}}|{{#expr:{{{3|}}}-{{{1|}}}}}}}}}}}||{{{4|}}} {{#if:{{{score|}}}| {{!!}} {{{score}}} | }}<noinclude>
|}
|}


<pre>
<pre>
{{PowerRankingsRow|rank|smasher's name|previous rank|characters}}
{{PowerRankingsRow|rank|smasher's name|previous rank|characters|(flag)}}
</pre>
</pre>


Leave previous rank blank if the smasher was previously unranked.
If the smasher was previously unranked, put <code>-</code> (hyphen) for previous rank. Don't bother using flags unless the PR has smashers from multiple countries.
 
See also {{t|PowerRankingsHeader}}.
[[Category:Meta-templates]]</noinclude>
[[Category:Meta-templates]]</noinclude>

Latest revision as of 14:06, May 7, 2022

Ranking Smasher Previous rank Movement Character
[[Smasher:{{{2}}}|{{{2}}}]]
{{PowerRankingsRow|rank|smasher's name|previous rank|characters|(flag)}}

If the smasher was previously unranked, put - (hyphen) for previous rank. Don't bother using flags unless the PR has smashers from multiple countries.

See also {{PowerRankingsHeader}}.