Template:Ship Stats: Difference between revisions

Template page
No edit summary
No edit summary
Line 6: Line 6:
|align="center" colspan="2" style="background-color: {{{imagebg|#ffffff}}}; padding: 2px;"|[[File:{{{image|ship-no-image.png}}}|{{{scale|300px}}}]]
|align="center" colspan="2" style="background-color: {{{imagebg|#ffffff}}}; padding: 2px;"|[[File:{{{image|ship-no-image.png}}}|{{{scale|300px}}}]]
|-
|-
{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia|}}} {{{ai|}}} {{{discord|}}} {{{status|}}} {{{class}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}} colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; text-align:center; padding: 2px;"{{!}}{{{caption|}}} }}
{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia|}}} {{{ai|}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}} colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; text-align:center; padding: 2px;"{{!}}{{{caption|}}} }}
|- class{{{name|{{PAGENAME}}}}}="hiddenStructure"
|- class{{{name|{{PAGENAME}}}}}="hiddenStructure"
| colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; color:{{{nametext|black}}}; background-color: {{{nicknumbg|#ffffff}}}; font-size: 13.5px; text-align:center; padding: 2px;"|<b><i>{{{fullname|{{PAGENAME}}}}}</i></b>
| colspan="2" style="border-bottom:2px solid {{{line|#ffffff}}}; color:{{{nametext|black}}}; background-color: {{{nicknumbg|#ffffff}}}; font-size: 13.5px; text-align:center; padding: 2px;"|<b><i>{{{fullname|{{PAGENAME}}}}}</i></b>

Revision as of 22:47, 6 April 2019

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
|quote="Once more unto the breech, once more." - William Shakespeare
|discord=Discord Server Invite Link
|name=Lollipop
|class=Gum-Ball Class Starship
|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
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
AI: {{{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