Template:Logo and Ship: Difference between revisions

added space
(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 Mano}}}}</pre>
<pre>{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Manno}}}}</pre>




{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Mano}}}}
{{Logo and Ship|USS Garuda|Galaxy|{{nrank|Captain|Cassandra|Egan Manno}}}}


[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>