Template:2collar: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
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>

Revision as of 05:38, 11 January 2014

The 2collar Template

This templates creates a bar with 2 collars that can be inserted into a table or a sidebar for display.

Use as follows:

{{2collar|Color|Rank}}

For example, inserting this code in your sidebar:

{{2collar|Gold|03-Lieutenant}}

will place this bar with 2 collars, one of which displays lieutenant pips, that will span the width of your side bar:

03-Lieutenant-Gold.jpg 00-Blank-Gold-Flip.jpg

Use the following names for colors and ranks, including capitalization:

Colors:

  • Black
  • Gold
  • Blue
  • Red
  • Teal
  • Violet
  • 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