Template:Rank control

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
(Fixed with correct scale.)
m (removed spaces and linebreaks)
 
(One intermediate revision not shown)
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}}}]] |  
Line 21: Line 20:
{{!}} <nowiki>{{rank control|1}}</nowiki>
{{!}} <nowiki>{{rank control|1}}</nowiki>
{{!}} {{rank control|1}}
{{!}} {{rank control|1}}
-
{{!-}}
 
-
{{!}} <nowiki>{{rank control|50}}</nowiki>
 
-
{{!}} {{rank control|50}}
 
{{!-}}
{{!-}}
{{!}} <nowiki>{{rank control|105}}</nowiki>
{{!}} <nowiki>{{rank control|105}}</nowiki>
Line 33: Line 29:
{{!}} <nowiki>{{rank control|130}}</nowiki>
{{!}} <nowiki>{{rank control|130}}</nowiki>
{{!}} {{rank control|130}}
{{!}} {{rank control|130}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank control|150}}</nowiki>
 +
{{!}} {{rank control|150}}
{{!-}}
{{!-}}
{{!}} <nowiki>{{rank control|170}}</nowiki>
{{!}} <nowiki>{{rank control|170}}</nowiki>

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