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:{{#setmainimage:{{{image|ship-no-image.png}}}}}|{{{scale|300px}}}]]
|align="center" colspan="2" style="background-color: {{{imagebg|#ffffff}}}; padding: 2px;"|[[File:{{#setmainimage:{{{image|ship-no-image.png}}}}}|{{{scale|300px}}}]]
|-
|-
{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{discord|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}}|{{!}} 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|}}} {{{xia}}} {{{discord|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}}|{{!}} 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>
|-
|-
|style="padding: 2px;"|
|style="padding: 2px;"|
|-class{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{discord|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}}|{{!}}-{{!}}}}="hiddenStructure"
|-class{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{xia}}} {{{discord|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}}|{{!}}-{{!}}}}="hiddenStructure"
|
|
{|class= "collapsible" cellspacing="0" width="100%" align="center" style="tpadding: 0; background-color:#d9d9d9;"
{|class= "collapsible" cellspacing="0" width="100%" align="center" style="tpadding: 0; background-color:#d9d9d9;"
Line 39: Line 39:
|
|
{{#if:{{{cmo|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Chief Medical Officer:''' {{!!}} {{{cmo}}} }}
{{#if:{{{cmo|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Chief Medical Officer:''' {{!!}} {{{cmo}}} }}
|
{{#if:{{{cmo|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} ''[[XIA]]:''' {{!!}} {{{xia}}} }}
|
|
{{#if:{{{quote|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Quote:''' {{!!}} {{{quote}}} }}
{{#if:{{{quote|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Quote:''' {{!!}} {{{quote}}} }}

Revision as of 18:28, 24 June 2018

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
|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
|aff=Government
}}

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
XIA:' {{{xia}}}
Quote: "Once more unto the breech, once more." - William Shakespeare
Yellow Submarine: Gummy
Discord Server: Discord Server Invite Link