Template:Rank control

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m (fixed usage)
m (removed spaces and linebreaks)
 
Line 1: Line 1:
-
<includeonly>
+
<includeonly>{{#ifexpr: {{{1|1}}}>255 | '''ERR''' |  
-
{{#ifexpr: {{{1|1}}}>255 | '''ERR''' |  
+
{{#ifexpr: {{{1|1}}}>=180 | [[Image:Rank_A.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=180 | [[Image:Rank_A.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=155 | [[Image:Rank_B.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=155 | [[Image:Rank_B.png|{{{1}}}]] |  

Current revision as of 22:46, 27 February 2008

Usage

These usage notes will not be included in articles bearing this template.

The template is to show rank icons for the control scale.

Note: When another template contains this one, that template page will show an error if passing a parameter through, due to this template requesting a number, and receiving '{' instead.

Wiki Text Output
{{rank control|0}} ERR
{{rank control|1}} 1
{{rank control|105}} 105
{{rank control|115}} 115
{{rank control|130}} 130
{{rank control|150}} 150
{{rank control|170}} 170
{{rank control|194}} 194
{{rank control|291}} ERR


Personal tools