Template:ShipSum: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(forgot >)
 
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{|align=left
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}}
|style="max-width:600px; background:lightgrey; border-radius:10px 10px 10px 10px;"|
|width={{#if: {{{Width|}}}|{{{Width}}}|350}}px max-width:1000px; style="background:#{{FCBGColor|{{#if: {{{ShipColor|}}}|{{{ShipColor}}}|White}}}}; border:thin #000000 solid; color:{{#switch: {{{ShipColor|}}}|Red=lightgrey|Green=lightgrey|Teal=lightgrey|Blue=lightgrey|Lavender=lightgrey|Violet=lightgrey|Black=lightgrey|Silver=lightgrey|{{{ShipColor}}}=black}}; border-radius:20px 20px 20px 20px; cellpadding:0; cellspacing:0;"|
{| align=center
{|align=center
|width=275 align=center|<font size=5>'''''[[{{{Ship}}}{{#if: {{{ShipNick|}}}|{{!}}{{{ShipNick}}}|}}]]'''''</font><br>[[File:{{{ShipClass}}}-scale.png|link={{{Ship}}}]]
|-valign=bottom align=center
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}<font size=5>'''''[[{{{Ship1}}}{{#if: {{{Ship1Nick|}}}|{{!}}{{{Ship1Nick}}}|}}]]'''''</font><br>[[File:{{{Ship1Class}}}-scale.png|link={{{Ship1}}}]]|}}
|width={{#if: {{{Width1|}}}|{{{Width1}}}|275}}px|<font size=5>'''{{#if: {{{Station|}}}|[[{{{Station}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{{Station}}}]]|''[[{{{Ship}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{#if: {{{ShipNick|}}}|{{{ShipNick}}}|{{{Ship}}}}}</font>]]''}}'''</font>{{#if: {{{NoPic|}}}||<br>[[File:{{{ShipClass}}}-scale.png|link=Template:ShipSum]]}}
|-
{{#if: {{{Ship1|}}}|{{!}}width={{#if: {{{Width2|}}}|{{{Width2}}}|275}}px align=center{{!}}<font size=5>'''''[[{{{Ship1}}}|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>{{#if: {{{Ship1Nick|}}}|{{{Ship1Nick}}}|{{{Ship1}}}}}</font>]]'''''</font>{{#if: {{{NoPic1|}}}||<br>[[File:{{{Ship1Class}}}-scale.png|link=Template:ShipSum]]}}|}}
|align=center|'''{{{ShipReg}}}'''<br>''{{{ShipClass}}}'' class
|-align=center valign=top
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''<br>''{{{Ship1Class}}}'' class|}}
|{{#if: {{{ShipReg|}}}|'''{{{ShipReg}}}'''<br>|}}{{#if: {{{ShipClass|}}}|[[ma:{{{ShipClass}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{ShipClass}}}'' class</font>]]<br>|}}{{#if: {{{ShipType|}}}|{{{ShipType}}}|}}
{{#if: {{{Ship1|}}}|{{!}}align=center{{!}}'''{{{Ship1Reg}}}'''{{#if: {{{Ship1Class|}}}|<br>[[ma:{{{Ship1Class}}} class|<font color={{#switch: {{{ShipColor|}}}|Red=white|Green=white|Teal=white|Blue=white|Lavender=white|Violet=white|Black=white|Silver=white|{{{ShipColor}}}=navy}}>''{{{Ship1Class}}}'' class</font>]]}}|}}{{#if: {{{Ship1Type|}}}|<br>{{{Ship1Type}}}|}}
|}
|}
<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}}: {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO1-First}}}|{{#if: {{{CO1-Last|}}}|{{{CO1-Last}}}|}}}}{{#if: {{{CO2-First|}}}|{{#if: {{{CO3-First|}}}|, {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}, & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO3-First}}}|{{#if: {{{CO3-Last|}}}|{{{CO3-Last}}}|}}}}|<font> & {{{{#switch: {{{ShipColor|}}}|Red=nwhite|Green=nwhite|Teal=nwhite|Blue=nwhite|Violet=nwhite|Black=nwhite|Silver=nwhite|{{{ShipColor}}}=n|n}}|{{{CO2-First}}}|{{#if: {{{CO2-Last|}}}|{{{CO2-Last}}}|}}}}</font>}}|}}'''</center></font>|}}
|}</includeonly>
|}</includeonly>
<noinclude>
<noinclude>
==Example==
==Example==
{{ShipSum
|Ship=Previous ships called Endeavour#USS Endeavour II: NCC-71805
|ShipNick=USS Endeavour II
|Ship1=USS Endeavour-A
|ShipClass=Nebula
|Ship1Class=Galaxy
|ShipReg=NCC-71805
|Ship1Reg=NCC-1895-A
|CO1-First=Amasov
|CO2-First=Geoffrey
|CO2-Last=Macarius
}}<br style="clear:both;" />
{{ShipSum
{{ShipSum
|Ship=USS Endeavour-A
|Ship=USS Endeavour-A
Line 20: Line 33:
|CO1-Last=Macarius
|CO1-Last=Macarius
}}
}}
 
==Directions==
==Directions==
For this same template, but a character's info below the ship, use [[Template:ShipCharSum]]. The ship images used can be found [[:Category:Ships to Scale|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:
For this same template, but with a character's info below the ship, use [[Template:ShipCharSum]]. The ship images used can be found [[:Category:Ships to Scale|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:
<pre>{{ShipSum
<pre>{{ShipSum
|Ship =  
|Ship =  

Latest revision as of 10:29, 15 September 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)
}}