Template:PowerRankingsRow: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
(flags can now be used)
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:{{{4|}}}|{{flag|{{{4}}}}}}}||{{#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:13, 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.