Template:ShipSum: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(making edges rounder)
(adding if for no CO)
Line 8: Line 8:
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>[[ma:{{{Ship1Class}}} class|''{{{Ship1Class}}}'' class]]|}}
|}
|}
<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>
{{#if: {{{CO1-First|}}}|<font size=3><center>'''Commanding {{#if: {{{CO2-First|}}}|Officers|Officer}}: {{n|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{n|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{n|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>|}}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>

Revision as of 17:21, 26 August 2014


Example

USS Endeavour II
Nebula-scale.png
USS Endeavour-A
Galaxy-scale.png
NCC-71805
Nebula class
NCC-1895-A
Galaxy class
Commanding Officers: Amasov & Geoffrey Macarius


USS Endeavour
Galaxy-scale.png
NCC-1895-A
Galaxy class
Commanding Officer: Geoffrey Macarius


Directions

For this same template, but with a character's info below the ship, use Template:ShipCharSum. The ship images used can be found here; don't copy over the file names into the "ShipClass = " line, just put the class name (e.g. "ShipClass = Akira" or "ShipClass = Galaxy").To use on your ship's page (or for any other reason), just type the following:

{{ShipSum
|Ship = 
|ShipNick = (optional, in case you'd like the title to hide the "-C"
or whatever letter from your ship's name)
|ShipClass = 
|ShipReg = 
|CO1-First = 
|CO1-Last = (optional, in case your CO only has one name)
|CO2-First = (optional, in case you've served under two COs on the same ship)
|CO2-Last = (optional, see above)
|CO3-First = (optional, in case you've served under three COs on the same ship)
|CO3-Last = (optional, see above)
}}

If you'd like to show two ships, use the following on your page:

{{ShipSum
|Ship = 
|ShipNick = (optional, in case if you'd like the title to hide the "-C"
or whatever letter from your ship's name)
|ShipClass = 
|ShipReg = 
|Ship1 = 
|Ship1Nick = (optional, see above)
|Ship1Class = 
|Ship1Reg = 
|CO1-First = 
|CO1-Last = (optional, in case your CO only has one name)
|CO2-First = (optional, in case you've served under two COs on thees ships)
|CO2-Last = (optional, see above)
|CO3-First = (optional, in case you've served under three COs on these ships)
|CO3-Last = (optional, see above)
}}