Difference between revisions of "Template:Ship List"
From Discovery Wiki
Jump to navigationJump to searchm |
|||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude><!--</noinclude> | <noinclude><!--</noinclude> | ||
− | <div style="float: left; width: 200px; height: 50px; border: 2px solid # | + | <div style="float: {{{align|left}}}; width: 200px; height: 50px; border: 2px solid #2f6fab; padding: 5px; margin: 5px 5px 0px 0px; background: {{{4}}};"> |
− | {{#if: {{{3|}}}|[[Image:{{{3}}}|left|50px]]|<div style="float: left; width: 50px; height: 50px; margin-right: 6px; background: # | + | {{#if: {{{3|}}}|[[Image:{{{3}}}|{{{align|left}}}|50px]]|<div style="float: {{{align|left}}}; width: 50px; height: 50px; margin-right: 6px; background: #111111; text-align: center; font: 9px/48px Tahoma;">No image</div>}}<div style="float: {{{align|left}}}; font-weight: bold; width: 140px;">{{{1}}}<br>{{#if: {{{2|}}}|<span style="font-size: 10px;">{{{2}}}</span>| }}</div><div style="clear: {{{align|left}}};"></div></div><noinclude>--> |
==Usage== | ==Usage== | ||
− | <pre>{{Ship List begin}} | + | <pre>{{Ship List/begin}} |
− | {{ | + | {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} |
− | {{ | + | {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} |
... | ... | ||
− | {{Ship List end}}</pre> | + | {{Ship List/end}}</pre> |
+ | |||
+ | or | ||
+ | |||
+ | <pre> | ||
+ | {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} | ||
+ | {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} | ||
+ | {{Clear}} | ||
+ | {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} | ||
+ | ... | ||
+ | </pre> | ||
==Example== | ==Example== | ||
− | {{Ship List begin}} | + | {{Ship List/begin}} |
− | {{ | + | {{SL | [[Loki]] | Light Fighter | Loki-s.png}} |
− | {{ | + | {{SL | [[Odin]] | Very Heavy Fighter | Odin-s.png}} |
− | {{ | + | {{SL | [[Thor]] | Bomber | Thor-s.png}} |
− | {{ | + | {{SL | [[Red Hessian Cruiser]] | Cruiser | Vidar-s.png}} |
− | {{Ship List end}} | + | {{Ship List/end}} |
+ | |||
+ | or | ||
+ | |||
+ | {{SL | [[Loki]] | Light Fighter | Loki-s.png}} | ||
+ | {{SL | [[Odin]] | Very Heavy Fighter | Odin-s.png}} | ||
+ | {{Clear}} | ||
+ | {{SL | [[Thor]] | Bomber | Thor-s.png}} | ||
[[Category: Templates]]</noinclude> | [[Category: Templates]]</noinclude> |
Latest revision as of 20:28, 15 August 2012
Usage
{{Ship List/begin}} {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} ... {{Ship List/end}}
or
{{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} {{Clear}} {{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}} ...
Example
|
or