Difference between revisions of "Template:ATStats"

From Ouroboros Portal
Jump to: navigation, search
m (last time? *crosses fingers*)
(fixing categories)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><pre>
+
<noinclude>
{{Stats37
+
==Code==
 +
<pre>
 +
{{ATStats
 +
| heading = Example
 
| survive = 2
 
| survive = 2
| melee = 3
+
| melee = 5
| ranged = 5
+
| ranged = 8
| control = 7
+
| control = 4
| support = 8
+
| support = 7
| pets = 1
+
| 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"| {{PAGENAME}} Stats
+
! colspan="11" width="410px"| {{{heading|}}} Stats
 
|-
 
|-
 
| width="110px" align="left" | &nbsp; '''Statistic'''
 
| width="110px" align="left" | &nbsp; '''Statistic'''
Line 33: Line 39:
 
| align="left" | &nbsp; Crowd Control
 
| align="left" | &nbsp; Crowd Control
 
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}}&nbsp;'''
 
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}}&nbsp;'''
{{#ifexpr: {{{controld|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} &nbsp; }}
+
{{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Support
 
| align="left" | &nbsp; 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  
  Melee Damage  
  Ranged Damage  
  Crowd Control  
  Support  
  Pets 10