Template:Rank stamina
From MLB Power Pros Wiki
(Difference between revisions)
Maxdsterling (Talk | contribs) (Rank icon template for Control stat) |
Maxdsterling (Talk | contribs) m (removed spaces and linebreaks) |
||
(3 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 6: | Line 5: | ||
{{#ifexpr: {{{1|1}}}>=60 | [[Image:Rank_D.png|{{{1}}}]] | | {{#ifexpr: {{{1|1}}}>=60 | [[Image:Rank_D.png|{{{1}}}]] | | ||
{{#ifexpr: {{{1|1}}}>=30 | [[Image:Rank_E.png|{{{1}}}]] | | {{#ifexpr: {{{1|1}}}>=30 | [[Image:Rank_E.png|{{{1}}}]] | | ||
- | {{#ifexpr: {{{1|1}}}>= | + | {{#ifexpr: {{{1|1}}}>=15 | [[Image:Rank_F.png|{{{1}}}]] | |
{{#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 | + | {{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 | + | {{!}} <nowiki>{{rank stamina|0}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|0}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|1}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|1}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|20}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|20}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|40}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|40}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|70}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|70}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|90}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|90}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|130}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|130}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|194}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{rank stamina|194}} |
{{!-}} | {{!-}} | ||
- | {{!}} <nowiki>{{rank | + | {{!}} <nowiki>{{rank stamina|291}}</nowiki> |
- | {{!}} {{rank | + | {{!}} {{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.