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]] }}
{{#if: {{owner|}} | ; Owner : {{{{owner}}}}}{{#if: {{co|}} | ; Commanding Officer : {{{co}}}}}{{#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: {{{owner|}}} | ; Owner : {{{{owner}}}}}{{#if: {{{co|}}} | ; Commanding Officer : {{{co}}}}}{{#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: {{{name|}}} | The {{{name}}} is a | She 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 ==

Revision as of 16:13, 27 November 2017


She is a {{{class}}}.

Usage

The parameter of class is 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
|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=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.