Template:Pips2Collar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
| Fleet Captain = {{FlagPips2Collar|{{{1}}}|{{{2}}}|{{{3|}}}}}
| Fleet Captain = {{FlagPips2Collar|{{{1}}}|{{{2}}}|{{{3|}}}}}
| {{NonFlagPips2Collar|{{{1}}}|{{{2}}}|{{{3|}}}}}
| {{NonFlagPips2Collar|{{{1}}}|{{{2}}}|{{{3|}}}}}
}}</includeonly><noinclude>This template will create a decorative "collar" header appropriate for use in sidebars, tables, section headers, whatever! Think of it as version 2 of the original [[Template:2collar]]. This version now lets you choose one of the different pip styles used in [[Template:Roster]]. As such, the rank names and colors need to be the same as the ones you would use in [[Template:Roster]] (i.e., full rank names and colors '''<font color=maroon>Red</font>, <font color=darkgoldenrod>Gold</font>, <font color=steelblue>Blue</font>, <font color=teal>Teal</font>, <font color=purple>Violet</font>, <font color=black>Black</font>, <font color=dimgray>Silver</font>, <font color=darkgreen>Green</font>'''.)
}}</includeonly><noinclude>{{Sidebar
|NAME = Victor Frankenstein
|SHIP = USS Gemini
|RANK = Lieutenant
|PIPSTYLE = DS9
|POST = Medical Research Specialist
|COLOR = Teal
|SPECIES = Medusan
|GENDER = Male
|BIRTHMONTH = 12
|BIRTHDATE = 18
|BIRTHYEAR = 2014
|BIRTHPLACE = Visalayan
|IMAGE = victor-frankenstein800.jpg
}}
This template will create a decorative "collar" header appropriate for use in sidebars (such as the one for {{n|Victor|Franklenstein}} you see to the right), tables, section headers, whatever! Think of it as version 2 of the original [[Template:2collar]]. This version now lets you choose one of the different pip styles used in [[Template:Roster]]. As such, the rank names and colors need to be the same as the ones you would use in [[Template:Roster]] (i.e., full rank names and colors '''<font color=maroon>Red</font>, <font color=darkgoldenrod>Gold</font>, <font color=steelblue>Blue</font>, <font color=teal>Teal</font>, <font color=purple>Violet</font>, <font color=black>Black</font>, <font color=dimgray>Silver</font>, <font color=darkgreen>Green</font>'''.)


''NOTE: Not all ranks are available in all colors!''
''NOTE: Not all ranks are available in all colors!''
Line 18: Line 33:
* Styles are Default (can leave blank or type Default), DS9, and Slanted.
* Styles are Default (can leave blank or type Default), DS9, and Slanted.
* While you can pick STO, STO currently does not have a blank pip image yet, so it would look wrong for non-flag officer ranks.
* While you can pick STO, STO currently does not have a blank pip image yet, so it would look wrong for non-flag officer ranks.
For instance, typing
<pre>{{Pips2Collar|Ensign|Black}}</pre>
will give you
{|width=300
|{{Pips2Collar|Ensign|Black}}
|}
while
<pre>{{Pips2Collar|Second Lieutenant|Green|DS9}}</pre>
will give you
{|width=300
|{{Pips2Collar|Second Lieutenant|Green|DS9}}
|}


==Examples==
==Examples==