Template:Rank stamina

From MLB Power Pros Wiki

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

Current revision as of 22:45, 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 stamina 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 stamina|0}} ERR
{{rank stamina|1}} 1
{{rank stamina|20}} 20
{{rank stamina|40}} 40
{{rank stamina|70}} 70
{{rank stamina|90}} 90
{{rank stamina|130}} 130
{{rank stamina|194}} 194
{{rank stamina|291}} ERR