This wiki is closed in favour of the new wiki. Information shown is likely to be very out of date. |
Difference between revisions of "Template:Ship List"
From Discovery Wiki
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | <noinclude> | + | <noinclude><!--</noinclude> |
− | |||
− | <!--</noinclude> | ||
<div style="float: left; width: 200px; height: 50px; border: 2px solid #eeeeee; padding: 5px; margin: 5px 5px 0px 0px;"> | <div style="float: left; width: 200px; height: 50px; border: 2px solid #eeeeee; padding: 5px; margin: 5px 5px 0px 0px;"> | ||
− | {{#if: {{{3|}}}|[[Image:{{{3}}}|left|50px]]|<div style="float: left; width: 50px; height: 50px; margin-right: 6px; background: #f5f5f5; text-align: center; font: 9px/48px Tahoma;">No image</div>}}<div style="float: left; font-weight: bold;">{{{1}}}<br>{{#if: {{{2|}}}|<span style="font-size: 10px;">{{{2}}}</span>| }}</div><div style="clear: left;"></div></div><noinclude>--> | + | {{#if: {{{3|}}} | [[Image:{{{3}}}|left|50px]] | {{#ifexist: Image:{{{1}}} | [[Image:{{{1}}}|left|50px]] | <div style="float: left; width: 50px; height: 50px; margin-right: 6px; background: #f5f5f5; text-align: center; font: 9px/48px Tahoma;">No image</div> }} }}<div style="float: left; font-weight: bold;">{{{1}}}<br>{{#if: {{{2|}}}|<span style="font-size: 10px;">{{{2}}}</span>| }}</div><div style="clear: left;"></div></div><noinclude>--> |
==Usage== | ==Usage== | ||
Line 16: | Line 14: | ||
{{Ship List | [[Loki]] | Light Fighter | Loki.jpg}} | {{Ship List | [[Loki]] | Light Fighter | Loki.jpg}} | ||
{{Ship List | [[Odin]] | Very Heavy Fighter | Odin1.jpg}} | {{Ship List | [[Odin]] | Very Heavy Fighter | Odin1.jpg}} | ||
− | {{Ship List | [[Thor]] | Bomber | + | {{Ship List | [[Thor]] | Bomber}} |
{{Ship List | [[Red Hessian Cruiser]] | Cruiser}} | {{Ship List | [[Red Hessian Cruiser]] | Cruiser}} | ||
{{Ship List end}} | {{Ship List end}} | ||
[[Category: Templates]]</noinclude> | [[Category: Templates]]</noinclude> |
Revision as of 00:28, 9 July 2009
Usage
{{Ship List begin}} {{Ship List | <ship name/link> | <ship class (optional)> | <image name (optional)>}} {{Ship List | <ship name/link> | <ship class (optional)> | <image name (optional)>}} ... {{Ship List end}}
Example
No image No image |