Template:Rank15

From MLB Power Pros Wiki

(Difference between revisions)
Jump to: navigation, search
m (removed number)
m (removed spaces and linebreaks)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
-
{{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png]] |
+
<includeonly>{{#ifexpr: {{{1|1}}}>=16 | '''ERR''' |
-
{{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png]] |
+
{{#ifexpr: {{{1|1}}}>=14 | [[Image:Rank_A.png|{{{1}}}]] |  
-
{{#ifexpr: {{{1|1}}}>=10 | [[Image:Rank_C.png]] |
+
{{#ifexpr: {{{1|1}}}>=12 | [[Image:Rank_B.png|{{{1}}}]] |  
-
{{#ifexpr: {{{1|1}}}>=8 | [[Image:Rank_D.png]] |
+
{{#ifexpr: {{{1|1}}}>=10 | [[Image:Rank_C.png|{{{1}}}]] |  
-
{{#ifexpr: {{{1|1}}}>=6 | [[Image:Rank_E.png]] |
+
{{#ifexpr: {{{1|1}}}>=8 | [[Image:Rank_D.png|{{{1}}}]] |  
-
{{#ifexpr: {{{1|1}}}>=4 | [[Image:Rank_F.png]] | [[Image:Rank_G.png]] }}  
+
{{#ifexpr: {{{1|1}}}>=6 | [[Image:Rank_E.png|{{{1}}}]] |  
-
}}
+
{{#ifexpr: {{{1|1}}}>=4 | [[Image:Rank_F.png|{{{1}}}]] |
-
}}
+
{{#ifexpr: {{{1|1}}}>=1 | [[Image:Rank_G.png|{{{1}}}]] | '''ERR'''
-
}}
+
}}}}}}}}}}}}}}}}</includeonly><noinclude>
-
}}
+
{{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.
-
}}
+
 
 +
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.
 +
 
 +
{{{!}} class="wikitable"
 +
! width="200" valign="top" {{!}} Wiki Text !! width="200" valign="top" {{!}} Output
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|0}}</nowiki>
 +
{{!}} {{rank15|0}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|1}}</nowiki>
 +
{{!}} {{rank15|1}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|4}}</nowiki>
 +
{{!}} {{rank15|4}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|6}}</nowiki>
 +
{{!}} {{rank15|6}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|8}}</nowiki>
 +
{{!}} {{rank15|8}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|10}}</nowiki>
 +
{{!}} {{rank15|10}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|12}}</nowiki>
 +
{{!}} {{rank15|12}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|14}}</nowiki>
 +
{{!}} {{rank15|14}}
 +
{{!-}}
 +
{{!}} <nowiki>{{rank15|21}}</nowiki>
 +
{{!}} {{rank15|21}}
 +
{{!}}}
 +
}}</noinclude>

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


Personal tools