Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand Weapon</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{main hand weapon skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div>{{#if: {{{main hand weapon alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseMain">Alternatives ⇅</div><div class="collapse mt-3" id="collapseMain"><div class="d-flex flex-wrap">{{#arraymap:{{{main hand weapon alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{main hand weapon|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{main hand weapon|}}}.webp|90px|alt={{{main hand weapon|}}}|link=]]</div><div><small class="mb-1">Main Hand Weapon</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{main hand weapon|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{main hand weapon skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "main hand weapon" property.</div>}}</div>{{#if: {{{main hand weapon alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseMain">Alternatives ⇅</div><div class="collapse mt-3" id="collapseMain"><div class="d-flex flex-wrap">{{#arraymap:{{{main hand weapon alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{off hand weapon|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{off hand weapon|}}}.webp|90px|alt={{{off hand weapon|}}}|link=]]</div><div><small class="mb-1">Off Hand Weapon</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{off hand weapon|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{off hand weapon skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "off hand weapon" property.</div>}}</div>{{#if: {{{off hand weapon alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseOff">Alternatives ⇅</div><div class="collapse mt-3" id="collapseOff"><div class="d-flex flex-wrap">{{#arraymap:{{{ | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{off hand weapon|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{off hand weapon|}}}.webp|90px|alt={{{off hand weapon|}}}|link=]]</div><div><small class="mb-1">Off Hand Weapon</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{off hand weapon|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{off hand weapon skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "off hand weapon" property.</div>}}</div>{{#if: {{{off hand weapon alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseOff">Alternatives ⇅</div><div class="collapse mt-3" id="collapseOff"><div class="d-flex flex-wrap">{{#arraymap:{{{off hand weapon alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{head|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{head|}}}.webp|90px|alt={{{head|}}}|link=]]</div><div><small class="mb-1">Head</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{head|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{head skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "head" property.</div>}}</div>{{#if: {{{head alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseHead">Alternatives ⇅</div><div class="collapse mt-3" id="collapseHead"><div class="d-flex flex-wrap">{{#arraymap:{{{head alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{head|}}}|<div class="hover-tooltip me-2" data-hover-id="{{{1|}}}" data-hover-type="item">[[File:{{{head|}}}.webp|90px|alt={{{head|}}}|link=]]</div><div><small class="mb-1">Head</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{head|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{head skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "head" property.</div>}}</div>{{#if: {{{head alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseHead">Alternatives ⇅</div><div class="collapse mt-3" id="collapseHead"><div class="d-flex flex-wrap">{{#arraymap:{{{head alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> |