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">♥&#xFE0E;</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-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">♦&#xFE0E;</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-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">○&#xFE0E;</div><div class="qud-stat-value">{{{dv}}}</div><span class="qud-tooltip-text">Dodge value: {{{dv}}}</span></div>
<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]].