Template:ShipSum: Difference between revisions
Jump to navigation
Jump to search
(making width adjustable) |
(typo) |
||
Line 1: | Line 1: | ||
<includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}} | <includeonly>{|align={{#if: {{{Align|}}}|{{{Align}}}|left}} | ||
|width={{#if: {{{Width|}}}|{{{Width}}}| | |width={{#if: {{{Width|}}}|{{{Width}}}|350px}} 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;"| | ||
{| align=center | {| align=center | ||
|width=275 align=center|<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]]}} | |width=275 align=center|<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]]}} |
Revision as of 15:07, 14 September 2014
Example
|
|
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) }}