Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{ | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{ | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{ | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{ | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{ | <div class="gear-entry d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="me-2">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div>{{{main hand weapon skills|}}}</div></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> |