Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{armor|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{armor|}}}">[[File:{{{armor|}}}.webp|90px|alt={{{armor|}}}|link=]]</div><div><small class="mb-1">Armor</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{armor|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{armor skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "armor" property.</div>}}</div>{{#if: {{{armor alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseArmor">Alternatives ⇅</div><div class="collapse mt-3" id="collapseArmor"><div class="d-flex flex-wrap">{{#arraymap:{{{armor alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{armor|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{armor|}}}">[[File:{{{armor|}}}.webp|90px|alt={{{armor|}}}|link=]]</div><div><small class="mb-1">Armor</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{armor|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{armor skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "armor" property.</div>}}</div>{{#if: {{{armor alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseArmor">Alternatives ⇅</div><div class="collapse mt-3" id="collapseArmor"><div class="d-flex flex-wrap">{{#arraymap:{{{armor alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{shoes|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{shoes|}}}">[[File:{{{shoes|}}}.webp|90px|alt={{{shoes|}}}|link=]]</div><div><small class="mb-1">Shoes</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{shoes|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{shoes skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "shoes" property.</div>}}</div>{{#if: {{{shoes alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseShoes">Alternatives ⇅</div><div class="collapse mt-3" id="collapseShoes"><div class="d- | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{shoes|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{shoes|}}}">[[File:{{{shoes|}}}.webp|90px|alt={{{shoes|}}}|link=]]</div><div><small class="mb-1">Shoes</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{shoes|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{shoes skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "shoes" property.</div>}}</div>{{#if: {{{shoes alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapseShoes">Alternatives ⇅</div><div class="collapse mt-3" id="collapseShoes"><div class="d-flex flex-wrap">{{#arraymap:{{{shoes alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{potion|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{potion|}}}">[[File:{{{potion|}}}.webp|90px|alt={{{potion|}}}|link=]]</div><div><small class="mb-1">Potion</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{potion|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{potion skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "potion" property.</div>}}</div>{{#if: {{{potion alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapsePotion">Alternatives ⇅</div><div class="collapse mt-3" id="collapsePotion"><div class="d-flex flex-wrap">{{#arraymap:{{{potion alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{potion|}}}|<div class="hover-tooltip-static incontent-tooltip me-2" data-hover-data="{{{potion|}}}">[[File:{{{potion|}}}.webp|90px|alt={{{potion|}}}|link=]]</div><div><small class="mb-1">Potion</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{potion|}}}</div><div class="d-flex flex-wrap">{{#arraymap:{{{potion skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "potion" property.</div>}}</div>{{#if: {{{potion alternatives|}}}|<div class="mt-2 p-1 text-center alternatives-box" data-bs-toggle="collapse" data-bs-target="#collapsePotion">Alternatives ⇅</div><div class="collapse mt-3" id="collapsePotion"><div class="d-flex flex-wrap">{{#arraymap:{{{potion alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> |