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 (moved Template:Stats to Template:ATStats: less ambiguous)
(removing numbers row)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
! colspan="11" width="420px"| {{PAGENAME}} Stats
 
! colspan="11" width="420px"| {{PAGENAME}} Stats
|-
+
|- align="right"
! width="120px" | Statistic
+
! width="120px" align="center" | Survivability
| 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
+
| width="30px" style="background:#adc4ff;{{#ifexpr:{{{survive|}}} != 1|border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 1|'''1  '''| }}
|-
+
| width="30px" style="{{#ifexpr:{{{survive|}}}>=2|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 1| border-left: none;}}{{#ifexpr:{{{survive|}}} != 2| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 2|'''2  '''| }}
! Survivability
+
| width="30px" style="{{#ifexpr:{{{survive|}}}>=3|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 2| border-left: none;}}{{#ifexpr:{{{survive|}}} != 3| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 3|'''3  '''| }}
| colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}} '''
+
| width="30px" style="{{#ifexpr:{{{survive|}}}>=4|background:#adc4ff;}}{{#ifexpr:{{{survive|}}} != 3| border-left: none;}}{{#ifexpr:{{{survive|}}} != 4| border-right: none;}}" | {{#ifexpr:{{{survive|}}} = 4|'''4  '''| }}
{{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{survive|}}} }} {{!}} &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;}}
 
|-
 
|-
 
! Melee Damage
 
! Melee Damage
| colspan={{{melee|}}} style="background:#adc4ff;" align="right" | '''{{{melee|}}}&nbsp;'''
+
| 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; }}
 
|-
 
|-
 
! 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; }}
 
|-
 
|-
 
! 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; }}
 
|-
 
|-
 
! 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; }}
 
|-
 
|-
 
! 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><noinclude>
 
|}</includeonly><noinclude>
Line 41: Line 46:
 
*'''pets'''
 
*'''pets'''
  
  <nowiki>{{Stats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki>
+
  <nowiki>{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki>
  
 
== Example ==
 
== Example ==
  <nowiki>{{Stats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}</nowiki>
+
  <nowiki>{{ATStats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}</nowiki>
  
{{Stats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}
+
{{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