Template:Pips: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(added examples)
(added ds9 style support)
Line 1: Line 1:
<includeonly><div style="position: relative;">{{
<includeonly><div style="position: relative;">{{#if: {{{PIPSTYLE|}}}
#switch: {{{1}}}
|{{#switch: {{{PIPSTYLE}}}
  | Blank = <div style="position: relative>[[File:00-Blank-{{{2}}}.png]]</div>
| DS9Style =  
  | Civilian = <div style="position: relative>[[File:00-Blank-{{{2}}}.png]]</div>
| DS9style =  
  | Ensign = <div style="position: relative>[[File:01-Ens-{{{2}}}.png]]</div>
| DS9 = <div style="position: relative>[[File:DS9style-{{DS9Ranks|{{{1}}} {{DS9Color|{{{2}}}}}.png]]</div>
  | Lieutenant JG = <div style="position: relative>[[File:02-LtJG-{{{2}}}.png]]</div>
}}
  | Lieutenant = <div style="position: relative>[[File:03-Lt-{{{2}}}.png]]</div>
|<div style="position: relative>[[File:{{{1}}}-{{{2}}}.png]]</div>
  | Lt. Commander = <div style="position: relative>[[File:04-LtCmdr-{{{2}}}.png]]</div>
  | Commander = <div style="position: relative>[[File:05-Cmdr-{{{2}}}.png]]</div>
  | Captain = <div style="position: relative>[[File:06-Capt-{{{2}}}.png]]</div>
  | Fleet Captain = <div style="position: relative>[[File:07-FltCapt-{{{2}}}.png]]</div>
  | Chief Warrant Officer 4th Grade = <div style="position: relative>[[File:W4-CWO4th-{{{2}}}.png]]</div>
  | Chief Warrant Officer 3rd Grade = <div style="position: relative>[[File:W3-CWO3rd-{{{2}}}.png]]</div>
  | Chief Warrant Officer 2nd Grade = <div style="position: relative>[[File:W2-CWO2nd-{{{2}}}.png]]</div>
  | Warrant Officer = <div style="position: relative>[[File:W1-WO1-{{{2}}}.png]]</div>
  | Brigadier = <div style="position: relative>[[File:M07-Brig-Green.png]]</div>
  | Colonel = <div style="position: relative>[[File:M06-Col-Green.png]]</div>
  | Lt. Colonel = <div style="position: relative>[[File:M05-LtCol-Green.png]]</div>
  | Major = <div style="position: relative>[[File:M04-Mjr-Green.png]]</div>
  | Marine Captain = <div style="position: relative>[[File:M03-Cpt-Green.png]]</div>
  | First Lieutenant = <div style="position: relative>[[File:M02-1stLt-Green.png]]</div>
  | Second Lieutenant = <div style="position: relative>[[File:M01-2Lt-Green.png]]</div>
  | Ambassador = <div style="position: relative>[[File:A-Amb-Black.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.

{{#if: DS9

|{{#switch: DS9 | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Captain|Red|PIPSTYLE=DS9}}

Examples

Blank/Civilian

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Blank|Silver}}

or

{{Pips|Civilian|Silver}}

Ensign

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Ensign|Violet}}

Lieutenant JG

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Lieutenant JG|Black}}

Lieutenant

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Lieutenant|Blue}}

Lt. Commander

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Lt. Commander|Teal}}

Commander

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Commander|Gold}}

Captain

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Captain|Red}}

Fleet Captain

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- | }}
{{Pips|Fleet Captain|Red}}

Marines

Don't need to specify color:

{{#if:

|{{#switch: {{{PIPSTYLE}}} | DS9Style = | DS9style =

| DS9 =
[[File:DS9style- |
[[File:Marine Captain-{{{2}}}.png]]
}}
{{Pips|Marine Captain}}