Difference between revisions of "Template:RankRow"

From Rigged Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>
<includeonly>
|-
|  align="center" | <b>{{{1}}}</b>
|  align="center" | <b>{{{1}}}</b>
|  align="center" | {{#ifexpr: {{{2}}} > 0 | [[File:Increase.png]] {{{2}}}|{{#ifexpr: {{{2}}} < 0 | [[File:Decrease2.png]] {{#expr:abs {{{2}}} }} | [[File:Steady.png]] }} }}
|  align="center" | {{#ifexpr: {{{2}}} > 0 | [[File:Increase.png]] {{{2}}}|{{#ifexpr: {{{2}}} < 0 | [[File:Decrease2.png]] {{#expr:abs {{{2}}} }} | [[File:Steady.png]] }} }}
|  align="left" | {{team away|{{{3}}}}}
|  align="left" | {{team away|{{{3}}}}}
|  align="right" |  {{{4}}}
|  align="right" |  {{{4}}}
|- 
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<nowiki>
<pre>
{{RankRow|Rank|Change|Team|Points}}<br>
{{RankStart|logo=Image to use|date=Date Text|cup=What cup it's related to}}
{|<br>
{{RankRow|Rank|Change|Team|Points}}
{{RankRow|1|4|mu|984}}<br>
 
{{RankRow|55|-33|mu|20}}<br>
Input
{{RankRow|9|0|mu|654}}<br>
{{RankStart|logo=4chanworldcup.png|date=Rankings as of 11 August 2011|cup=After the [[2011 4chan Summer Cup]]}}
|}<br>
{{RankRow|1|4|mu|984}}
</nowiki>
{{RankRow|55|-33|mu|20}}
{|
{{RankRow|9|0|mu|654}}
|}
</pre>
Output
{{RankStart|logo=4chanworldcup.png|date=Rankings as of 11 August 2011|cup=After the [[2011 4chan Summer Cup]]}}
{{RankRow|1|4|mu|984}}
{{RankRow|1|4|mu|984}}
{{RankRow|55|-33|mu|20}}
{{RankRow|55|-33|mu|20}}

Latest revision as of 04:47, 5 July 2018


{{RankStart|logo=Image to use|date=Date Text|cup=What cup it's related to}}
{{RankRow|Rank|Change|Team|Points}}

Input
{{RankStart|logo=4chanworldcup.png|date=Rankings as of 11 August 2011|cup=After the [[2011 4chan Summer Cup]]}}
{{RankRow|1|4|mu|984}}
{{RankRow|55|-33|mu|20}}
{{RankRow|9|0|mu|654}}
|}

Output

4chanworldcup.png
Rankings as of 11 August 2011
After the 2011 4chan Summer Cup
Rank Change Teams Points
1 Increase.png 4 Mu icon.png /mu/ 984
55 Decrease2.png 33 Mu icon.png /mu/ 20
9 Steady.png Mu icon.png /mu/ 654