Template:Rank15

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m (Usage, Equations, tooltips)
m (removed spaces and linebreaks)
 
Line 1: Line 1:
-
<includeonly>
+
<includeonly>{{#ifexpr: {{{1|1}}}>=16 | '''ERR''' |  
-
{{#ifexpr: {{{1|1}}}>=16 | '''ERR''' |  
+
{{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png|{{{1}}}]] |  
{{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png|{{{1}}}]] |  

Current revision as of 22:44, 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 abilities on the 1-15 scale. Because the A-G ranks are easily and evenly distributed, the actual number isn't shown.

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
{{rank15|0}} ERR
{{rank15|1}} 1
{{rank15|4}} 4
{{rank15|6}} 6
{{rank15|8}} 8
{{rank15|10}} 10
{{rank15|12}} 12
{{rank15|14}} 14
{{rank15|21}} ERR