Difference between revisions of "Template:Rank"


Line 1: Line 1:
 
<div style="position: relative; width: {{{6|144}}}px;"><!-- Opening div -->
 
<div style="position: relative; width: {{{6|144}}}px;"><!-- Opening div -->
<!-- Pips div --><div style="position: absolute; left: 0px; top: 0px; padding: 0;"><!--
+
<!-- Pips div --><div style="position: absolute; left: 0px; top: 0px; padding: 0; height: {{{7|40}}}px;"><!--
 
   Pips image -->[[Image:{{{4|AGT}}}{{{1|Blank}}}.png|{{{6|144}}}px]]</div><!--
 
   Pips image -->[[Image:{{{4|AGT}}}{{{1|Blank}}}.png|{{{6|144}}}px]]</div><!--
 
   Uniform image -->[[Image:{{{5|{{{4|AGT}}}}}}{{{2|Black}}}.png|{{{6|144}}}px]]<!--
 
   Uniform image -->[[Image:{{{5|{{{4|AGT}}}}}}{{{2|Black}}}.png|{{{6|144}}}px]]<!--

Revision as of 15:53, 13 March 2016

AGTBlank.png
AGTBlack.png

Usage:

{{Rank
|RankImage
|UniformColour
|RankName
|PipsGenre
|UniformGenre
}}

Example:
{{Rank|o6|Red|Captain|AGT}}

AGTo6.png
AGTRed.png

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 either set a rank name or use the pipe (|) twice to indicate an empty value. You only need to set the PipsGenre unless the genre of the pips and the uniform do not match - for example, the Voyager uniforms use the DS9 pips.