Template:Rank stamina

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m (typo...)
m (removed spaces and linebreaks)
 
(2 intermediate revisions not shown)
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}}}]] |  
Line 9: Line 8:
{{#ifexpr: {{{1|1}}}>=1 | [[Image:Rank_G.png|{{{1}}}]] | '''ERR'''  
{{#ifexpr: {{{1|1}}}>=1 | [[Image:Rank_G.png|{{{1}}}]] | '''ERR'''  
}}}}}}}}}}}}}}}}</includeonly><noinclude>
}}}}}}}}}}}}}}}}</includeonly><noinclude>
-
{{usage|1=The template is to show [[rank|rank icons]] for the control scale.
+
{{usage|1=The template is to show [[rank|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.
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.
Line 16: Line 15:
! width="200" valign="top" {{!}} Wiki Text !! width="200" valign="top" {{!}} Output
! width="200" valign="top" {{!}} Wiki Text !! width="200" valign="top" {{!}} Output
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|0}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|0}}</nowiki>
-
{{!}} {{rank control|0}}
+
{{!}} {{rank stamina|0}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|1}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|1}}</nowiki>
-
{{!}} {{rank control|1}}
+
{{!}} {{rank stamina|1}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|20}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|20}}</nowiki>
-
{{!}} {{rank control|20}}
+
{{!}} {{rank stamina|20}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|40}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|40}}</nowiki>
-
{{!}} {{rank control|40}}
+
{{!}} {{rank stamina|40}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|70}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|70}}</nowiki>
-
{{!}} {{rank control|70}}
+
{{!}} {{rank stamina|70}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|90}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|90}}</nowiki>
-
{{!}} {{rank control|90}}
+
{{!}} {{rank stamina|90}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|130}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|130}}</nowiki>
-
{{!}} {{rank control|130}}
+
{{!}} {{rank stamina|130}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|194}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|194}}</nowiki>
-
{{!}} {{rank control|194}}
+
{{!}} {{rank stamina|194}}
{{!-}}
{{!-}}
-
{{!}} <nowiki>{{rank control|291}}</nowiki>
+
{{!}} <nowiki>{{rank stamina|291}}</nowiki>
-
{{!}} {{rank control|291}}
+
{{!}} {{rank stamina|291}}
{{!}}}
{{!}}}
}}</noinclude>
}}</noinclude>

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


Personal tools