Template:Character: Difference between revisions

21 bytes removed ,  22:01, 23 August 2019
m
mobile width fix
(don't show "Carried" heading inside inventory unless the template specifies something else equipped (we shouldn't default to indicating items are "Carried" because often that is incorrect))
m (mobile width fix)
Line 162: Line 162:
{{#if: {{#pos: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | d }}
{{#if: {{#pos: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} | d }}
| <!-- Only create the detailed stats block if there are variable stats. To test this, we just check if there's a "d" in the stat string indicating a dice roll -->
| <!-- Only create the detailed stats block if there are variable stats. To test this, we just check if there's a "d" in the stat string indicating a dice roll -->
<div class="collapsible collapsed" id="collapsible-qud-detailed-attributes" data-expandtext="toggle detailed stats" data-collapsetext="toggle detailed stats" style="width:260px;">
<div class="collapsible collapsed" id="collapsible-qud-detailed-attributes" data-expandtext="toggle detailed stats" data-collapsetext="toggle detailed stats">
<div class="collapsible-content">
<div class="collapsible-content">
<div class="qud-stat-details-wrapper">
<div class="qud-stat-details-wrapper">