Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly><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>{{#if: {{{main hand weapon|}}}|{{#set:Has main hand weapon={{ucfirst:{{{main hand weapon}}}}}}}}} | <includeonly><div class="d-flex"><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>{{#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> |