Difference between revisions of "Template:Rank"
m |
|||
Line 1: | Line 1: | ||
− | <div style="position: relative; width: | + | <div style="position: relative; width: {{{6|144}}}px;"><!-- Opening div --> |
− | <div style="position: absolute; left: 0px; top: 0px; padding: 0;">[[Image: | + | <!-- Pips div --><div style="position: absolute; left: 0px; top: 0px; padding: 0;"><!-- |
− | [[Image: | + | Pips image -->[[Image:{{{4|AGT}}}{{{1|Blank}}}.png|{{{6|144}}}px]]</div><!-- |
− | <noinclude>{{Rank|Captain|Red|AGT|AGT}}</noinclude> | + | Uniform image -->[[Image:{{{5|{{{4|AGT}}}}}}{{{2|Black}}}.png|{{{7|144}}}px]]<!-- |
+ | Rank name and link -->{{#if: {{{3|}}} | <br \><div style="text-align:center;"><font size="1">[[{{{3|}}}]]</font></div>}} | ||
+ | </div><noinclude> | ||
+ | |||
+ | Usage: | ||
+ | <pre>{{Rank | ||
+ | |RankImage | ||
+ | |UniformColour | ||
+ | |RankName | ||
+ | |PipsGenre | ||
+ | |UniformGenre | ||
+ | }}</pre> | ||
+ | |||
+ | Example:<br /> | ||
+ | <nowiki>{{Rank|o6|Red|Captain|AGT|AGT}}</nowiki> | ||
+ | {{Rank|o6|Red|Captain|AGT|AGT}} | ||
+ | |||
+ | All fields except RankImage and UniformColour are optional. If you leave off the RankName, no text will appear beneath the uniform. If you give no genre, it will default to AGT (All Good Things). Values must be given in the correct order, so to set a different genre, you must set a rank name. | ||
+ | |||
+ | [[Category:Rank Templates]]</noinclude> |
Revision as of 13:34, 13 March 2016
Usage:
{{Rank |RankImage |UniformColour |RankName |PipsGenre |UniformGenre }}
Example:
{{Rank|o6|Red|Captain|AGT|AGT}}
All fields except RankImage and UniformColour are optional. If you leave off the RankName, no text will appear beneath the uniform. If you give no genre, it will default to AGT (All Good Things). Values must be given in the correct order, so to set a different genre, you must set a rank name.