Template:Pips: Difference between revisions
(added examples) |
(added ds9 style support) |
||
Line 1: | Line 1: | ||
<includeonly><div style="position: relative;">{{ | <includeonly><div style="position: relative;">{{#if: {{{PIPSTYLE|}}} | ||
# | |{{#switch: {{{PIPSTYLE}}} | ||
| DS9Style = | |||
| DS9style = | |||
| DS9 = <div style="position: relative>[[File:DS9style-{{DS9Ranks|{{{1}}} {{DS9Color|{{{2}}}}}.png]]</div> | |||
}} | |||
|<div style="position: relative>[[File:{{{1}}}-{{{2}}}.png]]</div> | |||
}}</div></includeonly><noinclude>===Pip Picker (Blank through Fleet Captain)=== | }}</div></includeonly><noinclude>===Pip Picker (Blank through Fleet Captain)=== | ||
Used in [[Template:Roster]], but can also be used standalone. | Used in [[Template:Roster]], but can also be used standalone. | ||
Line 77: | Line 61: | ||
|Civilian||{{Pips|Civilian|Silver}} | |Civilian||{{Pips|Civilian|Silver}} | ||
|} | |} | ||
===Change Pip Style=== | |||
Change pip style from the default to "DS9style" by adding PIPSTYLE=DS9. | |||
{{Pips|Captain|Red|PIPSTYLE=DS9}} | |||
<pre>{{Pips|Captain|Red|PIPSTYLE=DS9}}</pre> | |||
==Examples== | ==Examples== | ||
===Blank/Civilian=== | ===Blank/Civilian=== |
Revision as of 09:29, 30 January 2014
Pip Picker (Blank through Fleet Captain)
Used in Template:Roster, but can also be used standalone.
Colors:
NOTE: Not all ranks are available in all colors! Red, Gold, Blue, Teal, Violet, Black, Silver, Green
Ranks:
(type exactly as below)
Starfleet | ||||||
---|---|---|---|---|---|---|
Fleet Captain | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Captain | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Commander | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Lt. Commander | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Lieutenant | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Lieutenant JG | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Ensign | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Chief Warrant Officer 4th Grade | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Chief Warrant Officer 3rd Grade | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Chief Warrant Officer 2nd Grade | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Warrant Officer | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Marines (Don't need to specify color) | ||||||
Brigadier | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Brigadier-{{{2}}}.png]]
}}
|
Colonel | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Colonel-{{{2}}}.png]]
}}
|
Lt. Colonel | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Lt. Colonel-{{{2}}}.png]]
}}
|
Major | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Major-{{{2}}}.png]]
}}
|
Marine Captain | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Marine Captain-{{{2}}}.png]]
}}
|
First Lieutenant | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:First Lieutenant-{{{2}}}.png]]
}}
|
Second Lieutenant | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
[[File:Second Lieutenant-{{{2}}}.png]]
}}
|
Other | ||||||
Ambassador (only in black) | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Civilian | {{#if:
|
{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style = | DS9 = [[File:DS9style-
|
}} |
Change Pip Style
Change pip style from the default to "DS9style" by adding PIPSTYLE=DS9.
|{{#switch: DS9 | DS9Style = | DS9style =
| DS9 ={{Pips|Captain|Red|PIPSTYLE=DS9}}
Examples
Blank/Civilian
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Blank|Silver}}
or
{{Pips|Civilian|Silver}}
Ensign
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Ensign|Violet}}
Lieutenant JG
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Lieutenant JG|Black}}
Lieutenant
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Lieutenant|Blue}}
Lt. Commander
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Lt. Commander|Teal}}
Commander
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Commander|Gold}}
Captain
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Captain|Red}}
Fleet Captain
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Fleet Captain|Red}}
Marines
Don't need to specify color:
|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =
| DS9 ={{Pips|Marine Captain}}