Template:ATStats: Difference between revisions
Jump to navigation
Jump to search
imported>Sekoia (removing numbers row) |
(more modern appearance, borderless and less distance between label and number for readability) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div role="figure" aria-labelledby="{{anchorencode:{{PAGENAME}}}}-stats" style="max-width: max-content;"> | |||
<div id="{{anchorencode:{{PAGENAME}}}}-stats" style="text-align: center; font-weight: bold;">{{PAGENAME}} Stats</div> | |||
<dl style="display: table; border-spacing: 1em 0.5em; background: #f9f9f9; text-align: right;"> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Survivability</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{survive}}}}}em; width: {{{survive}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{survive}}}</div> | |||
</dd> | |||
</div> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Melee Damage</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{melee}}}}}em; width: {{{melee}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{melee}}}</div> | |||
</dd> | |||
</div> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Ranged Damage</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{ranged}}}}}em; width: {{{ranged}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{ranged}}}</div> | |||
</dd> | |||
</div> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Crowd Control</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{control}}}}}em; width: {{{control}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{control}}}</div> | |||
</dd> | |||
</div> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Support</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{support}}}}}em; width: {{{support}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{support}}}</div> | |||
</dd> | |||
</div> | |||
<div style="display: table-row;"> | |||
<dt style="display: table-cell; font-family: inherit; font-weight: inherit;">Pets</dt> | |||
<dd style="display: table-cell;"> | |||
<div style="box-sizing: border-box; margin-right: {{#expr:10 - {{{pets}}}}}em; width: {{{pets}}}em; padding: 0.1em 0.6em; background: #adc4ff; text-align: right;">{{{pets}}}</div> | |||
</dd> | |||
</div> | |||
</dl> | |||
</div> | |||
</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
To display the various stats from the in-game character creation screen. | To display the various stats from the in-game character creation screen. |
Revision as of 20:56, 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.
- 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