Difference between revisions of "Template:Armour/StatsTB"

From ELWiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{FoCW_Header|Armour of Eternal Lands|{{{item}}}}}
+
<includeonly>
=={{{item}}}==
+
<table style="border:1px solid grey; border-right: none" cellpadding="3" cellspacing="0" align="center" class="rightbordergrey">
[[Image:{{{item}}}_bg.jpg]]
 
<br>
 
<table style="border-top:1px solid grey;border-bottom:1px solid grey;border-left:1px solid grey;border-right:none;" cellpadding="3" cellspacing="0">
 
 
<tr style="background:#efefef;">
 
<tr style="background:#efefef;">
   <th style="border-right:1px solid grey;">Armour</th>
+
   <th>Armour</th>
   <th style="border-right:1px solid grey;" title="Defense">Def</th>
+
   <th title="Defense">Def</th>
   <th style="border-right:1px solid grey;" title="Accuracy">Acc</th>
+
   <th title="Accuracy">Acc</th>
   <th style="border-right:1px solid grey;" title="Critical Hit">Crit</th>
+
   <th title="Critical Hit">Crit</th>
   <th style="border-right:1px solid grey;" title="Cold Protection">Cold</th>
+
   <th title="Cold Protection">Cold</th>
   <th style="border-right:1px solid grey;" title="Heat Protection">Heat</th>
+
   <th title="Heat Protection">Heat</th>
   <th style="border-right:1px solid grey;" title="Radiation Protection">Rad</th>
+
   <th title="Radiation Protection">Rad</th>
   <th style="border-right:1px solid grey;" title="Magic Resistance">Magic</th>
+
   <th title="Magic Protection">Mag Prot</th>
   <th style="border-right:1px solid grey;" title="Weight">EMU</th>
+
  <th title="Magic Resistance">Mag Res</th>
   <th style="border-right:1px solid grey;" title="Human Nexus Needed to wear item">Human</th>
+
   <th title="Missile Protection">Mis Prot</th>
 +
  <th title="Weight">EMU</th>
 +
   <th title="Human Nexus Needed to wear item">Human</th>
 +
  <th title="Degrade / Break">Fail</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
   <td style="border-right:1px solid grey;" align="right">{{{arm}}}</td>
+
   <td align="right">{{{arm|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{def}}}</td>
+
   <td align="right">{{{def|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{acc}}}</td>
+
   <td align="right">{{{acc|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{crit}}}</td>
+
   <td align="right">{{{crit|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{cold}}}</td>
+
   <td align="right">{{{cold|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{heat}}}</td>
+
   <td align="right">{{{heat|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{rad}}}</td>
+
   <td align="right">{{{rad|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{mag}}}</td>
+
   <td align="right">{{{magprot|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{emu}}}</td>
+
  <td align="right">{{{magres|}}}</td>
   <td style="border-right:1px solid grey;" align="right">{{{hnex}}}</td>  
+
   <td align="right">{{{misprot|}}}</td>
 +
  <td align="right">{{{emu|}}}</td>
 +
   <td align="right">{{{hnex|}}}</td> 
 +
  <td align="right">{{{fail|}}}</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
+
</includeonly>
{{ #if: {{{mix1}}} | {{#explode:{{{mix1}}}|:|1}} [[{{#explode:{{{mix1}}}|:|2}}/{{#explode:{{{mix1}}}|:|3}}|{{#explode:{{{mix1}}}|:|3}}]]<br>|}}
+
<noinclude>
 
+
Produces a table with stats, parameters are
{{ #if: {{{mix1}}} | havemix1<br>|}}
+
* '''arm''': Armor
{{ #if: {{{mix5}}} | havemix5<br>|NOmix5<br>}}
+
* '''def''': Defense bonus/penalty
 +
* '''acc''': Accuracy bonus/penalty
 +
* '''crit''' Critical to hit bonus/penalty
 +
* '''cold''': Cold protection bonus/penalty
 +
* '''heat''': Heat protection bonus/penalty
 +
* '''rad''': Radiation protection bonus/penalty
 +
* '''magprot''': Magic protection bonus/penalty
 +
* '''magres''': Magic resistance bonus/penalty
 +
* '''misprot''': Missile protection bonus/penalty
 +
* '''emu''': Weight
 +
* '''hnex''': Human Nexus required to wear
 +
* '''fail''': Degrade / Break when fails
 +
All parameters are optional, if left empty, they'll produce an empty table cell.
 +
</noinclude>

Latest revision as of 19:57, 2 January 2013


Produces a table with stats, parameters are

  • arm: Armor
  • def: Defense bonus/penalty
  • acc: Accuracy bonus/penalty
  • crit Critical to hit bonus/penalty
  • cold: Cold protection bonus/penalty
  • heat: Heat protection bonus/penalty
  • rad: Radiation protection bonus/penalty
  • magprot: Magic protection bonus/penalty
  • magres: Magic resistance bonus/penalty
  • misprot: Missile protection bonus/penalty
  • emu: Weight
  • hnex: Human Nexus required to wear
  • fail: Degrade / Break when fails

All parameters are optional, if left empty, they'll produce an empty table cell.