8,290
edits
m (mobile width fix) |
(revamp collapsibles) |
||
Line 220: | Line 220: | ||
{{#if: {{{equipment|}}}{{{inventory|}}} | {{#if: {{{equipment|}}}{{{inventory|}}} | ||
| <!-- only show Inventory section if the character has some inventory or equipment --> | | <!-- only show Inventory section if the character has some inventory or equipment --> | ||
{{ | {{QudInfoboxCollapser |Inventory|qud-inventory|qud-inv-content-itemlist | ||
|<!-- inventory content follows --> {{#if: {{{equipment|}}} | <div class="qud-inv-group qud-equipped"><div class="qud-equipped-title">Equipped</div>{{{equipment}}}</div>}} | |||
<!-- | |||
{{#if: {{{equipment|}}} | <div class="qud-inv-group qud-equipped"><div class="qud-equipped-title">Equipped</div>{{{equipment}}}</div>}} | |||
{{#if: {{{inventory|}}} | <div class="qud-inv-group qud-carried">{{#if: {{{equipment|}}} | <div class="qud-equipped-title">Carried</div> }}{{{inventory}}}</div>}} | {{#if: {{{inventory|}}} | <div class="qud-inv-group qud-carried">{{#if: {{{equipment|}}} | <div class="qud-equipped-title">Carried</div> }}{{{inventory}}}</div>}} | ||
}} <!-- end QudInfoboxCollapser --> | |||
}} <!-- end | |||
}} <!-- end #if --> | }} <!-- end #if --> | ||
<!---------------------------------------- | <!---------------------------------------- | ||
Line 241: | Line 232: | ||
{{#if: {{{skills|}}} | {{#if: {{{skills|}}} | ||
| <!-- only show Skills section if the character has some skills --> | | <!-- only show Skills section if the character has some skills --> | ||
{{ | {{QudInfoboxCollapser |Skills|qud-skills|qud-skills-wrapper | ||
|<!-- skills content follows --> | |||
<!-- | |||
{{consecutive links|{{{skills}}}|</br>|</div><div class{{=}}"qud-skill-entry">|<div class{{=}}"qud-skill-entry">|</div>}} | {{consecutive links|{{{skills}}}|</br>|</div><div class{{=}}"qud-skill-entry">|<div class{{=}}"qud-skill-entry">|</div>}} | ||
}} <!-- end QudInfoboxCollapser --> | |||
}} <!-- end | |||
}} <!-- end #if --> | }} <!-- end #if --> | ||
<!---------------------------------------- | <!---------------------------------------- | ||
Line 260: | Line 244: | ||
{{#if: {{{mutations|}}} | {{#if: {{{mutations|}}} | ||
| <!-- only show Mutations section if the character has some mutations --> | | <!-- only show Mutations section if the character has some mutations --> | ||
{{ | {{QudInfoboxCollapser |Mutations|qud-mutations|qud-mutations-wrapper | ||
|<!-- skills content follows --> | |||
<!-- | {{consecutive links|{{{skills}}}|</br>|</div><div class{{=}}"qud-skill-entry">|<div class{{=}}"qud-skill-entry">|</div>}} | ||
{{ | }} <!-- end QudInfoboxCollapser --> | ||
{{{ | |||
{{ | |||
{{ | |||
}} <!-- end | |||
}} <!-- end #if --> | }} <!-- end #if --> | ||
<!---------------------------------------- | <!---------------------------------------- |