Template:PowerRankingsRow: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
(Undid edit by Toomai: wait what the hell, why is 3 being copied to 4)
(okay never mind this was me being unobservant)
Line 1: Line 1:
<noinclude>{{PowerRankingsHeader}}
<noinclude>{{PowerRankingsHeader}}
</noinclude>|-
</noinclude>|-
|{{{1|}}}||[[Smasher:{{{2}}}{{#if:{{{location|}}}|&nbsp;({{{location}}})}}|{{{2}}}]]||{{#ifeq:{{{3|-}}}|-|&mdash;|{{{3|}}}}}||{{#ifeq:{{{3|-}}}|-|&mdash;|{{#ifexpr:{{{1|}}}={{{3|}}}|&mdash;|{{#ifexpr:{{{1|}}}>{{{3|}}}|▼ {{#expr:{{{1|}}}-{{{3|}}}}}|▲ {{#expr:{{{3|}}}-{{{1|}}}}}}}}}}}||{{{4|}}}<noinclude>
|{{{1|}}}||[[Smasher:{{{2}}}{{#if:{{{location|}}}|&nbsp;({{{location}}})}}|{{{2}}}]] {{#if:{{{5|}}}|{{flag|{{{5}}}}}}}||{{#ifeq:{{{3|-}}}|-|&mdash;|{{{3|}}}}}||{{#ifeq:{{{3|-}}}|-|&mdash;|{{#ifexpr:{{{1|}}}={{{3|}}}|&mdash;|{{#ifexpr:{{{1|}}}>{{{3|}}}|▼ {{#expr:{{{1|}}}-{{{3|}}}}}|▲ {{#expr:{{{3|}}}-{{{1|}}}}}}}}}}}||{{{4|}}}<noinclude>
|}
|}


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


If the smasher was previously unranked, put <code>-</code> (hyphen) for previous rank.
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.
[[Category:Meta-templates]]</noinclude>
[[Category:Meta-templates]]</noinclude>

Revision as of 20:16, May 12, 2016

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.