Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Difference between revisions of "Template:ATStats"

From Paragon Wiki Archive
Jump to: navigation, search
m
(removing numbers row)
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{| class="wikitable"
{| class="wikitable"
+
 
|-
 
|-
! colspan="11" width="410px"| {{PAGENAME}} Stats
+
! colspan="11" width="420px"| {{PAGENAME}} Stats
 +
|- align="right"
 +
! width="120px" align="center" | Survivability
 +
| width="30px" style="background:#adc4ff;{{#ifexpr:{{{survive|}}} != 1|border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 1|'''1 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=2|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 1| border-left: none;}}{{#ifexpr:{{{survive|}}} != 2| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 2|'''2 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=3|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 2| border-left: none;}}{{#ifexpr:{{{survive|}}} != 3| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 3|'''3 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=4|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 3| border-left: none;}}{{#ifexpr:{{{survive|}}} != 4| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 4|'''4 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=5|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 4| border-left: none;}}{{#ifexpr:{{{survive|}}} != 5| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 5|'''5 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=6|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 5| border-left: none;}}{{#ifexpr:{{{survive|}}} != 6| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 6|'''6 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=7|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 6| border-left: none;}}{{#ifexpr:{{{survive|}}} != 7| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 7|'''7 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=8|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 7| border-left: none;}}{{#ifexpr:{{{survive|}}} != 8| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 8|'''8 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}>=9|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 8| border-left: none;}}{{#ifexpr:{{{survive|}}} != 9| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 9|'''9 &nbsp;'''|&nbsp;}}
 +
| width="30px" style="{{#ifexpr:{{{survive|}}}=10|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 9| border-left: none;}}" | {{#ifexpr:{{{survive|}}} = 10|'''10 &nbsp;'''|&nbsp;}}
 
|-
 
|-
| width="110px" align="left" | &nbsp; '''Statistic'''
+
! Melee Damage
| 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
+
| colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}} &nbsp;'''
|-
+
| align="left" | &nbsp; Survivability
+
| colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}}&nbsp;'''
+
{{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{survive|}}} }} {{!}} &nbsp; }}
+
|-
+
| align="left" | &nbsp; Melee Damage
+
| colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}}&nbsp;'''
+
 
{{#ifexpr: {{{melee|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{melee|}}} }} {{!}} &nbsp; }}
 
{{#ifexpr: {{{melee|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{melee|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
| align="left" | &nbsp; Ranged Damage
+
! Ranged Damage
| colspan={{{ranged|}}} style="background:#adc4ff;" align="right" | '''{{{ranged|}}}&nbsp;'''
+
| colspan={{{ranged|}}} style="background:#adc4ff;" align="right" | '''{{{ranged|}}} &nbsp;'''
 
{{#ifexpr: {{{ranged|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{ranged|}}} }} {{!}} &nbsp; }}
 
{{#ifexpr: {{{ranged|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{ranged|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
| align="left" | &nbsp; Crowd Control
+
! Crowd Control
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}}&nbsp;'''
+
| colspan={{{control|}}} style="background:#adc4ff;" align="right" | '''{{{control|}}} &nbsp;'''
 
{{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} &nbsp; }}
 
{{#ifexpr: {{{control|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{control|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
| align="left" | &nbsp; Support
+
! Support
| colspan={{{support|}}} style="background:#adc4ff;" align="right" | '''{{{support|}}}&nbsp;'''
+
| colspan={{{support|}}} style="background:#adc4ff;" align="right" | '''{{{support|}}} &nbsp;'''
 
{{#ifexpr: {{{support|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{support|}}} }} {{!}} &nbsp; }}
 
{{#ifexpr: {{{support|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{support|}}} }} {{!}} &nbsp; }}
 
|-
 
|-
| align="left" | &nbsp; Pets
+
! Pets
| colspan={{{pets|}}} style="background:#adc4ff;" align="right" | '''{{{pets|}}}&nbsp;'''
+
| colspan={{{pets|}}} style="background:#adc4ff;" align="right" | '''{{{pets|}}} &nbsp;'''
 
{{#ifexpr: {{{pets|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{pets|}}} }} {{!}} &nbsp; }}
 
{{#ifexpr: {{{pets|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{pets|}}} }} {{!}} &nbsp; }}
|}</includeonly>
+
|}</includeonly><noinclude>
<noinclude>The following would be the format one can cut/paste to fill in with the relevant stats. Each area accepts a single number from 1 to 10.<pre>
+
== Usage ==
{{Stats
+
To display the various stats from the in-game character creation screen.
| survive =  
+
 
| melee =  
+
There are six parameters, all required, each a single number from 1 to 10.
| ranged =  
+
*'''survive'''
| control =  
+
*'''melee'''
| support =  
+
*'''ranged'''
| pets =  
+
*'''control'''
}}
+
*'''support'''
</pre>
+
*'''pets'''
 +
 
 +
<nowiki>{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki>
 +
 
 +
== Example ==
 +
<nowiki>{{ATStats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}</nowiki>
 +
 
 +
{{ATStats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}
 
[[Category:Standardized Text Templates]]</noinclude>
 
[[Category:Standardized Text Templates]]</noinclude>

Latest revision as of 07:30, 15 December 2011

Usage

To display the various stats from the in-game character creation screen.

There are six parameters, all required, each a single number from 1 to 10.

  • survive
  • melee
  • ranged
  • control
  • support
  • pets
{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}

Example

{{ATStats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}
ATStats Stats
Survivability   2                  
Melee Damage 4    
Ranged Damage 6    
Crowd Control 8    
Support 10  
Pets 2