Template:Pips: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(added STO pips)
No edit summary
Line 4: Line 4:
| STO = {{STOPips|{{{1}}}|{{{2}}}}}
| STO = {{STOPips|{{{1}}}|{{{2}}}}}
|{{DefaultPips|{{{1}}}|{{{2}}}}}
|{{DefaultPips|{{{1}}}|{{{2}}}}}
}}</includeonly><noinclude>Used in [[Template:Roster]] to choose between pip styles.
}}</includeonly><noinclude>Used in [[Template:Roster]] to choose between pip styles. You can use it yourself to call up any pip image from one of four styles: Default, DS9, Slanted, and STO.
[[Category:Wiki System Templates]]
 
Just use the format <nowiki>{{Pips|Rank|Color|Style}}</nowiki>. You can leave off style if you just want the default pips.
 
Example:
<pre>{{Pips|Lieutenant|Red}}</pre>
gives you
{|width=120
|{{Pips|Lieutenant|Red}}
|}
 
and
<pre>{{Pips|Lt. Commander|Blue|DS9}}</pre>
gives you
{|width=120
|{{Pips|Lt. Commander|Blue|DS9}}
|}
 
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 08:03, 31 May 2014

Used in Template:Roster to choose between pip styles. You can use it yourself to call up any pip image from one of four styles: Default, DS9, Slanted, and STO.

Just use the format {{Pips|Rank|Color|Style}}. You can leave off style if you just want the default pips.

Example:

{{Pips|Lieutenant|Red}}

gives you

03-Lt-Red.png

and

{{Pips|Lt. Commander|Blue|DS9}}

gives you

DS9style-ltcmdr blue.png