Template:Character/CoreStats: Difference between revisions

attempt to fix icons being turned into emojis on android (adds unicode variation selector to icons)
(Created page with "<includeonly><div class="qud-core-stats-wrapper"> <div class="qud-core-stats-entry qud-stats-health qud-tooltip"><div class="qud-stat-icon">♥</div><div class="qud-stat-value...")
 
(attempt to fix icons being turned into emojis on android (adds unicode variation selector to icons))
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><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">♥&#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-av qud-tooltip"><div class="qud-stat-icon">♦</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">♦&#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-dv qud-tooltip"><div class="qud-stat-icon">○</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">○&#xFE0E;</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]].