No edit summary |
No edit summary |
||
Line 21: | Line 21: | ||
| | | | ||
{{#if:{{{class|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Class:''' {{!!}} {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }} }} | {{#if:{{{class|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Class:''' {{!!}} {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }} }} | ||
| | |||
{{#if:{{{class|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Type:''' {{!!}} {{#ifexist: {{{type}}} | [[{{{type}}}]] | {{{type}}} }} }} | |||
| | | | ||
{{#if:{{{aff|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Affiliation:''' {{!!}} {{#ifexist: {{{aff}}} | [[{{{aff}}}]] | {{{aff}}} }} }} | {{#if:{{{aff|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Affiliation:''' {{!!}} {{#ifexist: {{{aff}}} | [[{{{aff}}}]] | {{{aff}}} }} }} | ||
Line 82: | Line 84: | ||
|name=Lollipop | |name=Lollipop | ||
|class=Gum-Ball Class Starship | |class=Gum-Ball Class Starship | ||
|type=Jawbreaker Sub-Type | |||
|auxtype=Yellow Submarine | |auxtype=Yellow Submarine | ||
|auxname=Gummy | |auxname=Gummy | ||
Line 135: | Line 138: | ||
|name=Lollipop | |name=Lollipop | ||
|class=Gum-Ball Class Starship | |class=Gum-Ball Class Starship | ||
|type=Jawbreaker Sub-Type | |||
|auxtype=Yellow Submarine | |auxtype=Yellow Submarine | ||
|auxname=Gummy | |auxname=Gummy |
Revision as of 16:10, 28 July 2022
Ship Stats | ||||||
Ship Stats | ||||||
|
Code Example
{{Ship Stats |image=Ship-no-image.png |owner=Big Deal Guy |co=Someone |xo=Someone Else |oo=Third Someone Else |science=Science Dude |sec=Security Dude |engineer=Engineering Dude |cmo=Doctor Dude |pilot=Your Most Excellent Pilot |xia=Your Awesome XIA |ai=That Amazing AI |quote="Once more unto the breech, once more." - William Shakespeare |discord=Discord Server Invite Link |name=Lollipop |class=Gum-Ball Class Starship |type=Jawbreaker Sub-Type |auxtype=Yellow Submarine |auxname=Gummy |auxpilot=Sweet Pilot Person |aff=Government |status=Active, Missing, Destroyed, Unknown, Unassigned }}
The status property tells the template what category to place a ship in and should take one of the values listed:
- Active
- Missing
- Destroyed
- Unknown
- Unassigned
Active and unassigned allow a ship to be easily found when a new captain or pilot character needs a ship.
Other Options
|mainbg= Templates background color. |mainborder= Templates border color. |titletext= Template title color. |titlebg= Title/header bg color. |titleborder= Title/header border color. |imagebg= Image section background color. |headertext= Set color of inner headers text. |headerbg= Set color of inner headers background. |line= Horizontal line(s) color. |nicknumbg= Character Fullname and Player Name Background Color. |esbg= Set color of even rows. |osbg= Set color of odd rows.
- Note: The color customization should be set using hexadecimal format ONLY! If you need help, talk with one of the Wiki editors.
In-Use Example
Lollipop | ||||||||||||||||||||||||||||||||||||||||||
Ship Stats | ||||||||||||||||||||||||||||||||||||||||||
|