Difference between revisions of "Template:ATStats"
From Ouroboros Portal
m (last time? *crosses fingers*) |
(fixing categories) |
||
| (10 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 33: | Line 39: | ||
| align="left" | Crowd Control | | align="left" | Crowd Control | ||
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}} ''' | | colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}} ''' | ||
| − | {{#ifexpr: {{{ | + | {{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} }} |
|- | |- | ||
| align="left" | Support | | align="left" | Support | ||
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 | |||||||||