Template:ATStats: Difference between revisions
Jump to navigation
Jump to search
m (more margin just in case) |
(add note parameter for flexibility) |
||
Line 2: | Line 2: | ||
<div role="figure" aria-labelledby="{{anchorencode:{{PAGENAME}}}}-stats" style="max-width: max-content; text-align: center;"> | <div role="figure" aria-labelledby="{{anchorencode:{{PAGENAME}}}}-stats" style="max-width: max-content; text-align: center;"> | ||
<div id="{{anchorencode:{{PAGENAME}}}}-stats" style="font-weight: bold;">{{PAGENAME}} Stats</div> | <div id="{{anchorencode:{{PAGENAME}}}}-stats" style="font-weight: bold;">{{PAGENAME}} Stats</div> | ||
{{# | {{#if:{{{note|}}}| | ||
<p style="margin: auto; max-width: 19em;">{{ | <p style="margin: auto; max-width: 19em;">{{{note}}}</p> | ||
}} | }} | ||
<dl style="display: table; border-spacing: 1em 0.5em; background: #f9f9f9; text-align: right;"> | <dl style="display: table; border-spacing: 1em 0.5em; background: #f9f9f9; text-align: right;"> | ||
Line 48: | Line 48: | ||
To display the various stats from the in-game character creation screen. | 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. | There are six parameters, all required, each a single number from 1 to 10. A value of "?" is displayed like a 5. | ||
*'''survive''' | *'''survive''' | ||
*'''melee''' | *'''melee''' | ||
Line 55: | Line 55: | ||
*'''support''' | *'''support''' | ||
*'''pets''' | *'''pets''' | ||
An additional parameter, which is optional, displays a note. | |||
*'''note''' | |||
<nowiki>{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki> | <nowiki>{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}</nowiki> | ||
== | == Examples == | ||
<nowiki>{{ATStats|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> | ||
{{ATStats|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}} | ||
<nowiki>{{ATStats|note=Peacebringer stats vary with shapeshifting and team composition.|survive=?|melee=?|ranged=?|control=?|support=?|pets=?}}</nowiki> | |||
{{ATStats|note=Peacebringer stats vary with shapeshifting and team composition.|survive=?|melee=?|ranged=?|control=?|support=?|pets=?}} | |||
[[Category:Standardized Text Templates]]</noinclude> | [[Category:Standardized Text Templates]]</noinclude> |
Revision as of 21:18, 6 April 2022
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. A value of "?" is displayed like a 5.
- survive
- melee
- ranged
- control
- support
- pets
An additional parameter, which is optional, displays a note.
- note
{{ATStats|survive=|melee=|ranged=|control=|support=|pets=}}
Examples
{{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
{{ATStats|note=Peacebringer stats vary with shapeshifting and team composition.|survive=?|melee=?|ranged=?|control=?|support=?|pets=?}}
ATStats Stats
Peacebringer stats vary with shapeshifting and team composition.
- Survivability
-
?
- Melee Damage
-
?
- Ranged Damage
-
?
- Crowd Control
-
?
- Support
-
?
- Pets
-
?