Template:ATStats: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
m (centering fix)
(move "peacebringer stats vary..." explanation paragraph to top)
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>
{{#ifeq:{{{survive}}}|?|
<p style="margin: auto; max-width: 20em;">{{PAGENAME}} stats vary with shapeshifting and team composition.</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;">
<div style="display: table-row;">
<div style="display: table-row;">
Line 40: Line 43:
</div>
</div>
</dl>
</dl>
{{#ifeq:{{{survive}}}|?|
<p style="margin: auto; max-width: 20em;">{{PAGENAME}} stats vary with shapeshifting and team composition.</p>
}}
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 21:12, 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