Template:Ship Stats: Difference between revisions

Template page
No edit summary
No edit summary
Line 2: Line 2:
; Commanding Officer : {{{co|Unknown}}}
; Commanding Officer : {{{co|Unknown}}}
{{#if: {{{xo|}}} | ; Executive Officer : {{{xo}}}}}{{#if: {{{oo|}}} | ; Operations Officer : {{{oo}}}}}{{#if: {{{science|}}} | ; Science Officer : {{{science}}}}}{{#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}}}}}
{{#if: {{{xo|}}} | ; Executive Officer : {{{xo}}}}}{{#if: {{{oo|}}} | ; Operations Officer : {{{oo}}}}}{{#if: {{{science|}}} | ; Science Officer : {{{science}}}}}{{#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}}} }}.</onlyinclude>
{{#if: {{{name|}}} | The {{{name}}} is a | She is a }} {{#ifexist: {{{class}}} | [[{{{class}}}]] | {{{class}}} }}.</onlyinclude>
<noinclude>== Usage ==
<noinclude>== 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.
The parameters of ''co'' and ''class'' are required.  The value of ''class'' will automatically be linked to the appropriate page if a page of that name exists.


<pre>
<pre>

Revision as of 15:41, 27 November 2017

Commanding Officer
Unknown

She is a {{{class}}}.

Usage

The parameters of co 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
|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=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
Science Officer
Science Dude
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.