Template:ATStats: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>Aggelakis
m (rm. whitespace)
imported>Aggelakis
(better documentation)
Line 6: Line 6:
| 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
| 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
|-
|-
| align="left" |   Survivability
! align="left" |   Survivability
| colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}} '''
| colspan={{{survive|}}} style="background:#adc4ff;" align="right" | '''{{{survive|}}} '''
{{#ifexpr: {{{survive|}}} < 10 | {{!}} colspan={{#expr: 10 - {{{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;'''
| 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
! align="left" | &nbsp; 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
! align="left" | &nbsp; 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
! align="left" | &nbsp; 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
! align="left" | &nbsp; 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>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>
|}</includeonly><noinclude>
{{Stats
== Usage ==
| survive =  
To display the various stats from the in-game character creation screen.
| melee =  
 
| ranged =  
There are six parameters, all required, each a single number from 1 to 10.
| control =  
*'''survive'''
| support =  
*'''melee'''
| pets =  
*'''ranged'''
}}
*'''control'''
</pre>
*'''support'''
*'''pets'''
 
<nowiki>{{Stats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki>
 
== Example ==
<nowiki>{{Stats|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}}
[[Category:Standardized Text Templates]]</noinclude>
[[Category:Standardized Text Templates]]</noinclude>

Revision as of 18:17, 7 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
{{Stats|survive=|melee=|ranged=|control=|support=|pets=}}

Example

{{Stats|survive=2|melee=4|ranged=6|control=8|support=10|pets=2}}

Template:Stats