Difference between revisions of "Template:SL"

From Discovery Wiki
Jump to navigationJump to search
m
m
Line 1: Line 1:
 
<noinclude><!--</noinclude>
 
<noinclude><!--</noinclude>
<div style="float: left; width: 200px; height: 50px; border: 2px solid #2f6fab; padding: 5px; margin: 5px 5px 0px 0px;  background: {{{4}}};">
+
<div style="float: left; width: 200px; height: 80px; border: 2px solid #2f6fab; padding: 5px; margin: 5px 5px 0px 0px;  background: {{{4}}};">
{{#if: {{{3|}}}|[[Image:{{{3}}}|left|100px]]|<div style="float: left; width: 100px; height: 50px; margin-right: 6px; background: #111111; text-align: right; font: 25px/100px Tahoma;">No image</div>}}<div style="float: left; font-weight: bold; width: 140px;">{{{1}}}<br>{{#if: {{{2|}}}|<span style="font-size: 10px;">{{{2}}}</span>|&nbsp;}}</div><div style="clear: left;"></div></div><noinclude>-->
+
{{#if: {{{3|}}}|[[Image:{{{3}}}|left|100px]]|<div style="float: left; width: 100px; height: 50px; margin-right: 6px; background: #111111; text-align: right; font: 10px/50px Tahoma;">No image</div>}}<div style="float: left; font-weight: bold; width: 140px;">{{{1}}}<br>{{#if: {{{2|}}}|<span style="font-size: 15px;">{{{2}}}</span>|&nbsp;}}</div><div style="clear: left;"></div></div><noinclude>-->
  
 
==Usage==
 
==Usage==
Line 11: Line 11:
 
==Example==
 
==Example==
 
{{SL | [[Loki]] | Light Fighter | Loki-s.png}}
 
{{SL | [[Loki]] | Light Fighter | Loki-s.png}}
{{SL | [[Odin]] | Very Heavy Fighter | Odin-s.png}}
+
{{SL | [[Odin]] | Very Heavy Fighter | }}
  
 
[[Category: Templates]]</noinclude>
 
[[Category: Templates]]</noinclude>

Revision as of 07:43, 30 October 2011


Usage

{{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}}
{{SL | <ship name/link> | <ship class (optional)> | <image name (optional)>}}

Example

Loki.png
Loki
Light Fighter
No image
Odin
Very Heavy Fighter