Template:Logo and Ship: Difference between revisions
Jump to navigation
Jump to search
(added third variable option) |
(added space) |
||
Line 3: | Line 3: | ||
|valign="bottom"|[[File:{{{2}}}-scale.png|link={{{1}}}]] | |valign="bottom"|[[File:{{{2}}}-scale.png|link={{{1}}}]] | ||
|- | |- | ||
|valign="top"|<font style="text-transform:uppercase;" size=1>'''[[{{{1}}}]]''' • [[{{Classpropername|{{{2}}}}} class]]{{#if: {{{3|}}}| • {{{3|}}}|}}</font> | |valign="top"|<font style="text-transform:uppercase;" size=1>'''[[{{{1}}}]]''' • [[{{Classpropername|{{{2}}}}} class]] {{#if: {{{3|}}}|• {{{3|}}}|}}</font> | ||
|}</includeonly><noinclude>Creates a link to a ship with its logo and and a scaled side view. | |}</includeonly><noinclude>Creates a link to a ship with its logo and and a scaled side view. | ||
Line 22: | Line 22: | ||
And you can add additional text or links to be displayed by adding a third variable. | And you can add additional text or links to be displayed by adding a third variable. | ||
<pre>{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan | <pre>{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Manno}}}}</pre> | ||
{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan | {{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Manno}}}} | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 14:25, 17 March 2015
Creates a link to a ship with its logo and and a scaled side view.
{{Logo and Ship|USS Garuda|Galaxy}}
USS Garuda • Galaxy class |
Class refits
You can also specify class refits. If your refit image does not show up, check to see if it has been added to Template:Classpropername.
{{Logo and Ship|USS Constitution-B|Galaxy refit}}
USS Constitution-B • Galaxy class |
Additional text
And you can add additional text or links to be displayed by adding a third variable.
{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Manno}}}}
USS Garuda • Galaxy class • Captain Cassandra Egan Manno |