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: {{{{type|}}} {{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> | ||
| Line 22: | Line 22: | ||
{{#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:{{{ | {{#if:{{{type|}}}| {{!}} 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}}} }} }} | ||
Revision as of 16:32, 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 | ||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||