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|}}} {{{pilot|}}} {{{xia}}} {{{discord|}}} {{{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}}} {{{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> | ||
|- | |- | ||
|style="padding: 2px;"| | |style="padding: 2px;"| | ||
|-class{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia}}} {{{discord|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}}-{{!}}}}="hiddenStructure" | |-class{{#if: {{{aff|}}} {{{quote|}}} {{{owner|}}} {{{co|}}} {{{xo|}}} {{{oo|}}} {{{science|}}} {{{|}}} {{{sec|}}} {{{engineer|}}} {{{cmo|}}} {{{pilot|}}} {{{xia}}} {{{discord|}}} {{{status|}}} {{{class|}}} {{{auxtype|}}} {{{auxname|}}} {{{auxtype|}}}|{{!}}-{{!}}}}="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 51: | Line 51: | ||
| | | | ||
{{#if:{{{discord|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Discord Server:''' {{!!}} {{{discord}}} }} | {{#if:{{{discord|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Discord Server:''' {{!!}} {{{discord}}} }} | ||
| | |||
{{#if:{{{status|}}}| {{!}} width=47% style="padding: 3px 4px;"{{!}} '''Status:''' {{!!}} {{{status}}} }} | |||
}} | }} | ||
|} | |} | ||
|}{{#ifexist: Category:{{{aff}}} Vessels and Facilities | [[Category:{{{aff}}} Vessels and Facilities]]}}</onlyinclude> | |}{{#ifeq {{{status|Active}}} | Active | {{#ifexist: Category:{{{aff}}} Vessels and Facilities | [[Category:{{{aff}}} Vessels and Facilities]]}}}}{{#ifeq: {{{status}}} | Destroyed | [[Category:Missing or Destroyed]]|}}{{#ifeq: {{{status}}} | Missing | [[Category:Missing or Destroyed]]|}} | ||
</onlyinclude> | |||
<noinclude> | <noinclude> | ||
<br style="clear: both;" /> | <br style="clear: both;" /> |
Revision as of 16:24, 31 October 2018
Ship Stats | ||||||
Ship Stats | ||||||
|
{{#ifeq Active | Active | }}
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 }}
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 | ||||||||||||||||||||||||||||||||||||||
|
{{#ifeq Active | Active | }}