Template:Rank15
From MLB Power Pros Wiki
(Difference between revisions)
Maxdsterling (Talk | contribs) m (removed number) |
Maxdsterling (Talk | contribs) m (Updated Usage) |
||
Line 1: | Line 1: | ||
- | {{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png]] | | + | <includeonly>{{#ifexpr: {{{1|1}}}>=16 | '''ERR''' | {{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png]] | {{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png]] | {{#ifexpr: {{1|1}}}>=10 | [[Image:Rank_C.png]] | {{#ifexpr: {{{1|1}}}>=8 | [[Image:Rank_D.png]] | {{#ifexpr: {{{1|1}}}>=6 | [[Image:Rank_E.png]] | {{#ifexpr: {{{1|1}}}>=4 | [[Image:Rank_F.png]] | {{#ifexpr: {{{1|1}}}>=1 | [[Image:Rank_G.png]] | '''ERR''' }}}}}}}}}}}}</includeonly><noinclude> |
- | {{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png]] | | + | {{usage|1=The template is to show [[rank|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. |
- | {{#ifexpr: | + | |
- | {{#ifexpr: {{{1|1}}}>=8 | [[Image:Rank_D.png]] | | + | 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. An errorchecking mechanism may be put into place later (for monitoring invalid values). |
- | {{#ifexpr: {{{1|1}}}>=6 | [[Image:Rank_E.png]] | | + | |
- | {{#ifexpr: {{{1|1}}}>=4 | [[Image:Rank_F.png]] | [[Image:Rank_G.png]] }} | + | {{{!}} class="wikitable" |
- | }} | + | ! Wiki Text !! Output |
- | }} | + | {{!-}} |
- | }} | + | {{!}} width="200" valign="top"{{!}} |
- | }} | + | <pre> |
- | }} | + | {{rank15|0}}<br /> |
+ | |||
+ | {{rank15|1}}<br /> | ||
+ | |||
+ | {{rank15|4}}<br /> | ||
+ | |||
+ | {{rank15|6}}<br /> | ||
+ | |||
+ | {{rank15|8}}<br /> | ||
+ | |||
+ | {{rank15|10}}<br /> | ||
+ | |||
+ | {{rank15|12}}<br /> | ||
+ | |||
+ | {{rank15|14}}<br /> | ||
+ | |||
+ | {{rank15|21}}<br /> | ||
+ | </pre> | ||
+ | {{!}} width="200" valign="top"{{!}} | ||
+ | <br />{{rank15|0}}<br />{{rank15|1}}<br />{{rank15|4}}<br />{{rank15|6}}<br />{{rank15|8}}<br />{{rank15|10}}<br />{{rank15|12}}<br />{{rank15|14}}<br />{{rank15|21}}<br /> | ||
+ | {{!}}} | ||
+ | }}</noinclude> |
Revision as of 20: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. An errorchecking mechanism may be put into place later (for monitoring invalid values).
Wiki Text | Output |
---|---|
{{rank15|0}}<br /> {{rank15|1}}<br /> {{rank15|4}}<br /> {{rank15|6}}<br /> {{rank15|8}}<br /> {{rank15|10}}<br /> {{rank15|12}}<br /> {{rank15|14}}<br /> {{rank15|21}}<br /> |