Difference between revisions of "Template:Gear"

From Gempunks
Jump to: navigation, search
(I wonder if this works)
Line 5: Line 5:
 
<tr style="color: #fdf9d3; {{#switch: {{{itemtype}}}
 
<tr style="color: #fdf9d3; {{#switch: {{{itemtype}}}
 
         |Weapon=background-color: #706060;
 
         |Weapon=background-color: #706060;
 +
        |Warhead=background-color: #807070;
 
         |Weapon Attachment=background-color: #606050;
 
         |Weapon Attachment=background-color: #606050;
 
         |Armor=background-color: #606060;
 
         |Armor=background-color: #606060;
Line 21: Line 22:
 
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>{{{descriptors}}}</b>
 
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>{{{descriptors}}}</b>
 
</td></tr>}}
 
</td></tr>}}
 +
{{#if: {{{itemtype|Warhead}}} | |
 
<tr style="background: #ddd293;">
 
<tr style="background: #ddd293;">
 
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>Points</b>&nbsp; {{{points}}}    <div style="text-align:right; float:right;"><span style="color:#000000;"><b>Weight</b>&nbsp;{{{weight}}}</span></div>
 
<td style="padding:0.0625em 0.625em 0.0625em 1.25em;text-align:inherit;text-indent: -0.625em;" colspan="2"> <b>Points</b>&nbsp; {{{points}}}    <div style="text-align:right; float:right;"><span style="color:#000000;"><b>Weight</b>&nbsp;{{{weight}}}</span></div>
</td></tr>
+
</td></tr>}}
 
{{#if: {{{technologies|}}} |  
 
{{#if: {{{technologies|}}} |  
 
<tr style="background: #dddddd;">
 
<tr style="background: #dddddd;">

Revision as of 06:08, 23 April 2015

{{{name}}}
{{{itemtype}}}