Difference between revisions of "Template:ATStats"
From Ouroboros Portal
m |
(fixing categories) |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude><pre> | + | <noinclude> |
− | {{ | + | ==Code== |
+ | <pre> | ||
+ | {{ATStats | ||
+ | | heading = Example | ||
| survive = 2 | | survive = 2 | ||
− | | melee = | + | | melee = 5 |
− | | ranged = | + | | ranged = 8 |
− | | control = | + | | control = 4 |
− | | support = | + | | support = 7 |
− | | pets = | + | | pets = 10 |
}} | }} | ||
</pre> | </pre> | ||
− | [[Category:UserThirty7]]</noinclude> | + | |
+ | ==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="410px"| {{ | + | ! colspan="11" width="410px"| {{{heading|}}} Stats |
|- | |- | ||
| width="110px" align="left" | '''Statistic''' | | width="110px" align="left" | '''Statistic''' | ||
Line 20: | Line 26: | ||
|- | |- | ||
| align="left" | Survivability | | align="left" | Survivability | ||
− | | colspan= | + | | colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}} ''' |
+ | {{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{survive|}}} }} {{!}} }} | ||
|- | |- | ||
| align="left" | Melee Damage | | align="left" | Melee Damage | ||
− | | colspan= | + | | colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}} ''' |
+ | {{#ifexpr: {{{melee|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{melee|}}} }} {{!}} }} | ||
|- | |- | ||
| align="left" | Ranged Damage | | align="left" | Ranged Damage | ||
− | | colspan= | + | | colspan={{{ranged|}}} style="background:#adc4ff;" align="right" | '''{{{ranged|}}} ''' |
+ | {{#ifexpr: {{{ranged|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{ranged|}}} }} {{!}} }} | ||
|- | |- | ||
| align="left" | Crowd Control | | align="left" | Crowd Control | ||
− | | colspan= | + | | colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}} ''' |
+ | {{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} }} | ||
|- | |- | ||
| align="left" | Support | | align="left" | Support | ||
− | | colspan= | + | | colspan={{{support|}}} style="background:#adc4ff;" align="right" | '''{{{support|}}} ''' |
+ | {{#ifexpr: {{{support|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{support|}}} }} {{!}} }} | ||
|- | |- | ||
| align="left" | Pets | | 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 |