Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<div class="gear-entry">{{#if: {{{main hand weapon|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Main Hand</div><div class="mb-1">{{{main hand weapon|}}}</div><div class="d-flex">[[File:{{{main hand weapon|}}}.webp|60px|alt={{{main hand weapon|}}}|link=]]<div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | <div class="gear-entry">{{#if: {{{main hand weapon|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Main Hand</div><div class="mb-1">{{{main hand weapon|}}}</div><div class="d-flex">[[File:{{{main hand weapon|}}}.webp|60px|alt={{{main hand weapon|}}}|link=]]<div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry">{{#if: {{{ | <div class="gear-entry">{{#if: {{{armor|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Armor</div><div class="mb-1">{{{armor|}}}</div><div class="d-flex">[[File:{{{armor|}}}.webp|60px|alt={{{armor|}}}|link=]]<div>{{{armor|}}}</div></div>|<div>Missing "armor" property.</div>}}</div> | ||
<div class="gear-entry">{{#if: {{{ | <div class="gear-entry">{{#if: {{{head|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Head</div><div class="mb-1">{{{head|}}}</div><div class="d-flex">[[File:{{{head|}}}.webp|60px|alt={{{head|}}}|link=]]<div>{{{head|}}}</div></div>|<div>Missing "head" property.</div>}}</div> | ||
<div class="gear-entry">{{#if: {{{ | <div class="gear-entry">{{#if: {{{shoes|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Shoes</div><div class="mb-1">{{{shoesn|}}}</div><div class="d-flex">[[File:{{{shoes|}}}.webp|60px|alt={{{shoes|}}}|link=]]<div>{{{shoes|}}}</div></div>|<div>Missing "shoes" property.</div>}}</div> | ||
<div class="gear-entry">{{#if: {{{ | <div class="gear-entry">{{#if: {{{potion|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Potion</div><div class="mb-1">{{{potion|}}}</div><div>[[File:{{{potion|}}}.webp|60px|alt={{{potion|}}}|link=]]</div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry">{{#if: {{{ | <div class="gear-entry">{{#if: {{{food|}}}|<div class="mb-1" style="font-weight: 500; color: #fff;">Food</div><div class="mb-1">{{{food|}}}</div><div>[[File:{{{food|}}}.webp|60px|alt={{{food|}}}|link=]]</div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
</div>{{#if: {{{main hand weapon|}}}|{{#set:Has main hand weapon={{ucfirst:{{{main hand weapon}}}}}}}}} | </div>{{#if: {{{main hand weapon|}}}|{{#set:Has main hand weapon={{ucfirst:{{{main hand weapon}}}}}}}}} | ||
{{#if: {{{main hand weapon skills|}}}|{{#arraymap:{{{main hand weapon skills}}}|,|@@@|{{#set:Has main weapon skills=@@@}}|}}}}</includeonly> | {{#if: {{{main hand weapon skills|}}}|{{#arraymap:{{{main hand weapon skills}}}|,|@@@|{{#set:Has main weapon skills=@@@}}|}}}}</includeonly> |