Difference between revisions of "Template:Stats"
From Rivendom
| (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:{{{ | + | <td style="font-weight:bold; background-color:{{#if:{{{stat_bonus_str|}}}|{{#switch:{{{stat_bonus_str}}} |
| − | | plus = # | + | | plus = #bad9a5 |
| − | | minus = # | + | | minus = #d9a5a5 |
| none = #a5bad9 | | none = #a5bad9 | ||
| − | }}}};">{{#if:{{{ | + | }}}}; text-align:center;">{{#if:{{{stat_bonus_str|}}}|{{#switch:{{{stat_bonus_str}}} |
| − | | plus = + | + | | plus = +{{{stat_bonus_number_str}}} |
| − | | minus = - | + | | 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 |