Template:2collar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
|}</includeonly><noinclude>
|}</includeonly><noinclude>
===The 2collar Template===
===The 2collar Template===
{{2collar|Gold|03-Lieutenant}}
This templates creates a bar with 2 collars that can be inserted into a table or a sidebar for display.
This templates creates a bar with 2 collars that can be inserted into a table or a sidebar for display.


Line 10: Line 9:
:<nowiki>{{2collar|Color|Rank}}</nowiki>
:<nowiki>{{2collar|Color|Rank}}</nowiki>


For example, inserting this code in your sidebar will give you the example on the right:
For example, inserting this code in your sidebar:
:<nowiki>{{2collar|Gold|03-Lieutenant}}</nowiki>
:<nowiki>{{2collar|Gold|03-Lieutenant}}</nowiki>
will place this bar with 2 collars, one of which displays lieutenant pips, that will span the width of your side bar:
{{2collar|Gold|03-Lieutenant}}


Use the following names for colors and ranks, including capitalization:
Use the following names for colors and ranks, including capitalization:
'''Colors:'''
'''Colors:'''
*Black
*Black
Line 22: Line 25:
*Violet
*Violet
*White
*White
'''Ranks (Must include numbers, including leading zero):'''
Officers:
*00-Blank
*01-Ensign
*02-LieutenantJG
*03-Lieutenant
*04-LtCommander
*05-Commander
*06-Captain
*07-FleetCaptain
*08-Commodore
*09-RearAdmiral
*10-ViceAdmiral
*11-Admiral
*12-FleetAdmiral
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>