Difference between revisions of "Template:ATStats"

From Ouroboros Portal
Jump to: navigation, search
m
(fixing categories)
 
(23 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 20: Line 26:
 
|-
 
|-
 
| align="left" | &nbsp; Survivability
 
| align="left" | &nbsp; Survivability
| colspan="{{{survive|}}}" style="background:#adc4ff" align="right" | '''{{{survive|}}} &nbsp;''' || {{#ifexpr: {{{survive|}}} < 10 | colspan={{#expr: 10 - {{{survive|}}} }}}}|
+
| colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}}&nbsp;'''
 +
{{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{survive|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Melee Damage
 
| align="left" | &nbsp; Melee Damage
| colspan="{{{melee|}}}" style="background:#adc4ff" align="right" | '''{{{melee|}}} &nbsp;''' || {{#ifexpr: {{{melee|}}} < 10 | colspan={{#expr: 10 - {{{melee|}}} }}}}|
+
| colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}}&nbsp;'''
 +
{{#ifexpr: {{{melee|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{melee|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Ranged Damage
 
| align="left" | &nbsp; Ranged Damage
| colspan="{{{ranged|}}}" style="background:#adc4ff" align="right" | '''{{{ranged|}}} &nbsp;''' || {{#ifexpr: {{{ranged|}}} < 10 | colspan={{#expr: 10 - {{{ranged|}}} }}}}|
+
| colspan={{{ranged|}}} style="background:#adc4ff;" align="right" | '''{{{ranged|}}}&nbsp;'''
 +
{{#ifexpr: {{{ranged|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{ranged|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Crowd Control
 
| align="left" | &nbsp; Crowd Control
| colspan="{{{control|}}}" style="background:#adc4ff" align="right" | '''{{{control|}}} &nbsp;''' || {{#ifexpr: {{{control|}}} < 10 | colspan={{#expr: 10 - {{{control|}}} }}}}|
+
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}}&nbsp;'''
 +
{{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Support
 
| align="left" | &nbsp; Support
| colspan="{{{support|}}}" style="background:#adc4ff" align="right" | '''{{{support|}}} &nbsp;''' || {{#ifexpr: {{{support|}}} < 10 | colspan={{#expr: 10 - {{{support|}}} }}}}|
+
| colspan={{{support|}}} style="background:#adc4ff;" align="right" | '''{{{support|}}}&nbsp;'''
 +
{{#ifexpr: {{{support|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{support|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
 
| align="left" | &nbsp; Pets
 
| align="left" | &nbsp; Pets
| colspan="{{{pets|}}}" style="background:#adc4ff" align="right" | '''{{{pets|}}} &nbsp;''' || {{#ifexpr: {{{pets|}}} < 10 | colspan={{#expr: 10 - {{{pets|}}} }}}}|
+
| colspan={{{pets|}}} style="background:#adc4ff;" align="right" | '''{{{pets|}}}&nbsp;'''
 +
{{#ifexpr: {{{pets|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{pets|}}} }} {{!}} &nbsp; }}
 
|}</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  
  Melee Damage  
  Ranged Damage  
  Crowd Control  
  Support  
  Pets 10