Template:Character/CoreStats: Difference between revisions
Jump to navigation
Jump to search
(attempt to fix icons being turned into emojis on android (adds unicode variation selector to icons)) |
(replace symbols with images for better cross-device rendering) |
||
Line 1: | Line 1: | ||
<includeonly><div class="qud-core-stats-wrapper"> | <includeonly><div class="qud-core-stats-wrapper"> | ||
<div class="qud-core-stats-entry qud-stats-health qud-tooltip"><div class="qud-stat-icon"> | <div class="qud-core-stats-entry qud-stats-health qud-tooltip"><div class="qud-stat-icon">[[File:Hp_symbol.png|link=]]</div><div class="qud-stat-value">{{{hp}}}</div><span class="qud-tooltip-text">Hit points: {{{hp}}}</span></div> | ||
<div class="qud-core-stats-entry qud-stats-av qud-tooltip"><div class="qud-stat-icon"> | <div class="qud-core-stats-entry qud-stats-av qud-tooltip"><div class="qud-stat-icon">[[File:Av_symbol.png|link=]]</div><div class="qud-stat-value">{{{av}}}</div><span class="qud-tooltip-text">Armor value: {{{av}}}</span></div> | ||
<div class="qud-core-stats-entry qud-stats-dv qud-tooltip"><div class="qud-stat-icon"> | <div class="qud-core-stats-entry qud-stats-dv qud-tooltip"><div class="qud-stat-icon">[[File:Dv_symbol.png|link=]]</div><div class="qud-stat-value">{{{dv}}}</div><span class="qud-tooltip-text">Dodge value: {{{dv}}}</span></div> | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Outputs a character's core stats. Intended for use in [[Template:Character]]. | Outputs a character's core stats. Intended for use in [[Template:Character]]. |
Revision as of 14:46, 13 August 2019
Outputs a character's core stats. Intended for use in Template:Character.
All three parameters are required.
{{Character/CoreStats
| hp = 84
| av = 7
| dv = 3
}}
84
Hit points: 847
Armor value: 73
Dodge value: 3