Difference between revisions of "Template:ATStats"
From Ouroboros Portal
m |
(fixing categories) |
||
(43 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <noinclude> | ||
+ | ==Code== | ||
<pre> | <pre> | ||
− | {{ | + | {{ATStats |
− | | | + | | heading = Example |
− | | | + | | survive = 2 |
− | | | + | | melee = 5 |
− | | | + | | ranged = 8 |
− | | | + | | control = 4 |
− | | | + | | support = 7 |
+ | | pets = 10 | ||
}} | }} | ||
</pre> | </pre> | ||
+ | |||
+ | ==Example== | ||
+ | {{ATStats|heading = Example| survive = 2| melee = 5| ranged = 8| control = 4| support = 7| pets = 10}} | ||
+ | [[Category:UserThirty7| ]][[Category:Character templates]]</noinclude> | ||
<includeonly> | <includeonly> | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
− | ! colspan="11" width=" | + | ! colspan="11" width="410px"| {{{heading|}}} Stats |
|- | |- | ||
− | + | | width="110px" align="left" | '''Statistic''' | |
| align="center" width="30px"| 1 || align="center" width="30px"| 2 || align="center" width="30px"| 3 || align="center" width="30px"| 4 || align="center" width="30px"| 5 || align="center" width="30px"| 6 || align="center" width="30px"| 7 || align="center" width="30px"| 8 || align="center" width="30px"| 9 || align="center" width="30px"| 10 | | align="center" width="30px"| 1 || align="center" width="30px"| 2 || align="center" width="30px"| 3 || align="center" width="30px"| 4 || align="center" width="30px"| 5 || align="center" width="30px"| 6 || align="center" width="30px"| 7 || align="center" width="30px"| 8 || align="center" width="30px"| 9 || align="center" width="30px"| 10 | ||
|- | |- | ||
− | + | | align="left" | Survivability | |
− | | colspan= | + | | colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}} ''' |
+ | {{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{survive|}}} }} {{!}} }} | ||
|- | |- | ||
− | + | | align="left" | Melee Damage | |
− | | colspan= | + | | colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}} ''' |
+ | {{#ifexpr: {{{melee|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{melee|}}} }} {{!}} }} | ||
|- | |- | ||
− | + | | align="left" | Ranged Damage | |
− | | colspan= | + | | colspan={{{ranged|}}} style="background:#adc4ff;" align="right" | '''{{{ranged|}}} ''' |
+ | {{#ifexpr: {{{ranged|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{ranged|}}} }} {{!}} }} | ||
|- | |- | ||
− | + | | align="left" | Crowd Control | |
− | | colspan= | + | | colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}} ''' |
+ | {{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} }} | ||
|- | |- | ||
− | + | | align="left" | Support | |
− | | colspan= | + | | colspan={{{support|}}} style="background:#adc4ff;" align="right" | '''{{{support|}}} ''' |
+ | {{#ifexpr: {{{support|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{support|}}} }} {{!}} }} | ||
|- | |- | ||
− | + | | align="left" | Pets | |
− | | colspan= | + | | colspan={{{pets|}}} style="background:#adc4ff;" align="right" | '''{{{pets|}}} ''' |
+ | {{#ifexpr: {{{pets|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{pets|}}} }} {{!}} }} | ||
|}</includeonly> | |}</includeonly> |
Latest revision as of 11:33, 21 February 2012
Code
{{ATStats | heading = Example | survive = 2 | melee = 5 | ranged = 8 | control = 4 | support = 7 | pets = 10 }}
Example
Example Stats | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Statistic | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
Survivability | 2 | |||||||||
Melee Damage | 5 | |||||||||
Ranged Damage | 8 | |||||||||
Crowd Control | 4 | |||||||||
Support | 7 | |||||||||
Pets | 10 |