Difference between revisions of "Template:Stats"

From Rivendom
Jump to: navigation, search
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table class="wikitable">
+
<table class="wikitable" style="float:left;margin-right:2em;">
 
<tr>
 
<tr>
 
<th>Stat</th>
 
<th>Stat</th>
Line 6: Line 6:
 
<tr>
 
<tr>
 
<td>Strength</td>
 
<td>Strength</td>
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_strength|}}}|{{#switch:{{{stat_bonus_strength}}}
+
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_str|}}}|{{#switch:{{{stat_bonus_str}}}
  | plus = #d9a5a5
+
  | plus = #bad9a5
  | minus = #bad9a5
+
  | minus = #d9a5a5
 
  | none = #a5bad9
 
  | none = #a5bad9
  }}}};">{{#if:{{{stat_bonus_strength|}}}|{{#switch:{{{stat_bonus_strength}}}
+
  }}}}; text-align:center;">{{#if:{{{stat_bonus_str|}}}|{{#switch:{{{stat_bonus_str}}}
  | plus = + {{#if{{{stat_bonus_number_strength|}}}|{{{stat_bonus_number_strength}}}|{{{stat_bonus_number}}}}}
+
  | plus = +{{{stat_bonus_number_str}}}
  | minus = - {{#if{{{stat_bonus_number_strength|}}}|{{{stat_bonus_number_strength}}}|{{{stat_bonus_number}}}}}
+
  | minus = -{{{stat_bonus_number_str}}}
 
  | none = 0
 
  | none = 0
 
  | #default = 0
 
  | #default = 0
  }}}}</td>
+
  }}}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>Dexterity</td>
 +
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_dex|}}}|{{#switch:{{{stat_bonus_dex}}}
 +
| plus = #bad9a5
 +
| minus = #d9a5a5
 +
| none = #a5bad9
 +
}}}}; text-align:center;">{{#if:{{{stat_bonus_dex|}}}|{{#switch:{{{stat_bonus_dex}}}
 +
| plus = +{{{stat_bonus_number_dex}}}
 +
| minus = -{{{stat_bonus_number_dex}}}
 +
| none = 0
 +
| #default = 0
 +
}}}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>Constitution</td>
 +
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_con|}}}|{{#switch:{{{stat_bonus_con}}}
 +
| plus = #bad9a5
 +
| minus = #d9a5a5
 +
| none = #a5bad9
 +
}}}}; text-align:center;">{{#if:{{{stat_bonus_con|}}}|{{#switch:{{{stat_bonus_con}}}
 +
| plus = +{{{stat_bonus_number_con}}}
 +
| minus = -{{{stat_bonus_number_con}}}
 +
| none = 0
 +
| #default = 0
 +
}}}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>Intelligence</td>
 +
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_int|}}}|{{#switch:{{{stat_bonus_int}}}
 +
| plus = #bad9a5
 +
| minus = #d9a5a5
 +
| none = #a5bad9
 +
}}}}; text-align:center;">{{#if:{{{stat_bonus_int|}}}|{{#switch:{{{stat_bonus_int}}}
 +
| plus = +{{{stat_bonus_number_int}}}
 +
| minus = -{{{stat_bonus_number_int}}}
 +
| none = 0
 +
| #default = 0
 +
}}}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>Wisdom</td>
 +
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_wis|}}}|{{#switch:{{{stat_bonus_wis}}}
 +
| plus = #bad9a5
 +
| minus = #d9a5a5
 +
| none = #a5bad9
 +
}}}}; text-align:center;">{{#if:{{{stat_bonus_wis|}}}|{{#switch:{{{stat_bonus_wis}}}
 +
| plus = +{{{stat_bonus_number_wis}}}
 +
| minus = -{{{stat_bonus_number_wis}}}
 +
| none = 0
 +
| #default = 0
 +
}}}}
 +
</td>
 +
</tr>
 +
<tr>
 +
<td>Charisma</td>
 +
<td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_cha|}}}|{{#switch:{{{stat_bonus_cha}}}
 +
| plus = #bad9a5
 +
| minus = #d9a5a5
 +
| none = #a5bad9
 +
}}}}; text-align:center;">{{#if:{{{stat_bonus_cha|}}}|{{#switch:{{{stat_bonus_cha}}}
 +
| plus = +{{{stat_bonus_number_cha}}}
 +
| minus = -{{{stat_bonus_number_cha}}}
 +
| none = 0
 +
| #default = 0
 +
}}}}
 +
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Latest revision as of 17:41, 10 June 2015

Stat Bonuses
Strength
Dexterity
Constitution
Intelligence
Wisdom
Charisma