Template:Ship Stats: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
<onlyinclude>{{#if: {{{image|}}} | [[File:{{#setmainimage:{{{image}}}}}|thumb]] }}
<onlyinclude>{{#if: {{{image|}}} | [[File:{{#setmainimage:{{{image}}}}}|thumb]] }}
; Commanding Officer : {{{co|Unknown}}}
; Commanding Officer : {{{co|Unknown}}}
{{#if: {{{xo|}}} | ; Executive Officer : {{{xo}}}}}{{#if: {{{oo|}}} | ; Operations Officer : {{{oo}}}}}{{#if: {{{sec|}}} | ; Security Chief : {{{sec}}}}}{{#if: {{{engineer|}}} | ; Chief Engineer : {{{engineer}}}}}{{#if: {{{cmo|}}} | ; Chief Medical Officer : {{{cmo}}}}}{{#if: {{{quote|}}} | ; Dedication Plaque : {{{quote}}}}}{{#if: {{{discord|}}} | ; Server Link : {{{discord}}}}}
{{#if: {{{xo|}}} | ; Executive Officer : {{{xo}}}}}{{#if: {{{oo|}}} | ; Operations Officer : {{{oo}}}}}{{#if: {{{sec|}}} | ; Security Chief : {{{sec}}}}}{{#if: {{{engineer|}}} | ; Chief Engineer : {{{engineer}}}}}{{#if: {{{cmo|}}} | ; Chief Medical Officer : {{{cmo}}}}}{{#if: {{{quote|}}} | ; Dedication Plaque : {{{quote}}}}}{{#if: {{{auxtype|}}} | {{#if: {{{auxname|}}} | ; {{{auxtype}}} : {{{auxname}}} }} }}{{#if: {{{discord|}}} | ; Server Link : {{{discord}}}}}
The {{{name}}} is a {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }}.
The {{{name}}} is a {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }}.
</onlyinclude>
</onlyinclude>
Line 20: Line 20:
|name=USS Lollipop
|name=USS Lollipop
|class=Gum-Ball Class Starship
|class=Gum-Ball Class Starship
|auxtype=Yellow Submarine
|auxname=Gummy
}}
}}
</pre>
</pre>
Line 35: Line 37:
|name=USS Lollipop
|name=USS Lollipop
|class=Gum-Ball Class Starship
|class=Gum-Ball Class Starship
|auxtype=Yellow Submarine
|auxname=Gummy
}}
}}
</noinclude>
</noinclude>

Revision as of 15:27, 27 November 2017

Commanding Officer
Unknown

The {{{name}}} is a {{{class}}}.

Usage

The parameters of co, name, and class are required. The value of class will automatically be linked to the appropriate page if a page of that name exists.

{{Ship Stats
|image=iss-image.jpeg
|co=Someone
|xo=Someone Else
|oo=Third Someone Else
|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=USS Lollipop
|class=Gum-Ball Class Starship
|auxtype=Yellow Submarine
|auxname=Gummy
}}

Example

Commanding Officer
Someone
Executive Officer
Someone Else
Operations Officer
Third Someone Else
Security Chief
Security Dude
Chief Engineer
Engineering Dude
Chief Medical Officer
Doctor Dude
Dedication Plaque
"Once more unto the breech, once more." - William Shakespeare
Yellow Submarine
Gummy
Server Link
Discord Server Invite Link

The USS Lollipop is a Gum-Ball Class Starship.