Template:Ship Stats: Difference between revisions

Template page
(added mobile friendly code)
m (Minor typo correction)
 
Line 44: Line 44:
{{#if:{{{pilot|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Pilot:''' {{!!}} {{{pilot}}} }}
{{#if:{{{pilot|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Pilot:''' {{!!}} {{{pilot}}} }}
|
|
{{#if:{{{xia|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[XIA]]:''' {{!!}} {{{xia}}} }}
{{#if:{{{xia|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[Xia]]:''' {{!!}} {{{xia}}} }}
|
|
{{#if:{{{ai|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[MSAI]]:''' {{!!}} {{{ai}}} }}
{{#if:{{{ai|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''[[MSAI]]:''' {{!!}} {{{ai}}} }}

Latest revision as of 03:11, 3 May 2024

Ship Stats
Ship Stats
Information




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
Information
Class: Gum-Ball Class Starship
Type: Jawbreaker Sub-Type
Affiliation: Government
Owner: Big Deal Guy
Commanding Officer: Someone
Executive Officer: Someone Else
Operations Officer: Third Someone Else
Science Officer: Science Dude
Security Chief: Security Dude
Chief Engineer: Engineering Dude
Chief Medical Officer: Doctor Dude
Pilot: Your Most Excellent Pilot
Xia: Your Awesome XIA
MSAI: That Amazing AI
Quote: "Once more unto the breech, once more." - William Shakespeare
Yellow Submarine: Gummy
Gummy Pilot: Sweet Pilot Person
Discord Server: Discord Server Invite Link