Template:Rank power

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m (number typo ><")
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}}}>=140 | [[Image:Rank_B.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=140 | [[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 power 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 power|0}} ERR
{{rank power|1}} 1
{{rank power|30}} 30
{{rank power|90}} 90
{{rank power|100}} 100
{{rank power|130}} 130
{{rank power|152}} 152
{{rank power|194}} 194
{{rank power|291}} ERR


Personal tools