Template:Build equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
<div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{head|}}}|<div class="me-2">[[File:{{{head|}}}.webp|90px|alt={{{head|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{head|}}}</div><div class="d-flex">{{#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" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseHead">Alternatives ⇅</div><div class="collapse mt-3" id="collapseHead"><div class="d-flex">{{#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="me-2">[[File:{{{head|}}}.webp|90px|alt={{{head|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{head|}}}</div><div class="d-flex">{{#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" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseHead">Alternatives ⇅</div><div class="collapse mt-3" id="collapseHead"><div class="d-flex">{{#arraymap:{{{head alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{cape|}}}|<div class="me-2">[[File:{{{cape|}}}.webp|90px|alt={{{cape|}}}|link=]]</div><div><small class="mb-1"> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{cape|}}}|<div class="me-2">[[File:{{{cape|}}}.webp|90px|alt={{{cape|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{cape|}}}</div><div class="d-flex">{{#arraymap:{{{cape skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "cape" property.</div>}}</div>{{#if: {{{cape alternatives|}}}|<div class="mt-2 p-1 text-center" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseCape">Alternatives ⇅</div><div class="collapse mt-3" id="collapseCape"><div class="d-flex">{{#arraymap:{{{cape alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{armor|}}}|<div class="me-2">[[File:{{{armor|}}}.webp|90px|alt={{{armor|}}}|link=]]</div><div><small class="mb-1"> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{armor|}}}|<div class="me-2">[[File:{{{armor|}}}.webp|90px|alt={{{armor|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{armor|}}}</div><div class="d-flex">{{#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" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseArmor">Alternatives ⇅</div><div class="collapse mt-3" id="collapseArmor"><div class="d-flex">{{#arraymap:{{{armor alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{shoes|}}}|<div class="me-2">[[File:{{{shoes|}}}.webp|90px|alt={{{shoes|}}}|link=]]</div><div><small class="mb-1"> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{shoes|}}}|<div class="me-2">[[File:{{{shoes|}}}.webp|90px|alt={{{shoes|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{shoes|}}}</div><div class="d-flex">{{#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" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseShoes">Alternatives ⇅</div><div class="collapse mt-3" id="collapseShoes"><div class="d-flex">{{#arraymap:{{{shoes alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{potion|}}}|<div class="me-2">[[File:{{{potion|}}}.webp|90px|alt={{{potion|}}}|link=]]</div><div><small class="mb-1"> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{potion|}}}|<div class="me-2">[[File:{{{potion|}}}.webp|90px|alt={{{potion|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{potion|}}}</div><div class="d-flex">{{#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" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapsePotion">Alternatives ⇅</div><div class="collapse mt-3" id="collapsePotion"><div class="d-flex">{{#arraymap:{{{potion alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></div>}}</div> | ||
<div class="gear-entry d-flex align-items-center">{{#if: {{{food|}}}|<div class="me-2">[[File:{{{food|}}}.webp|90px|alt={{{food|}}}|link=]]</div><div><small class="mb-1"> | <div class="gear-entry"><div class="d-flex align-items-center">{{#if: {{{food|}}}|<div class="me-2">[[File:{{{food|}}}.webp|90px|alt={{{food|}}}|link=]]</div><div><small class="mb-1">Main Hand</small><div class="mb-1" style="font-weight: 500; color: #fff;">{{{food|}}}</div><div class="d-flex">{{#arraymap:{{{food skills|}}}|,|@@@|{{Skill no text|@@@}}|}}</div></div>|<div>Missing "food" property.</div>}}</div>{{#if: {{{food alternatives|}}}|<div class="mt-2 p-1 text-center" style="background: rgba(255,255,255,0.025); margin-right: -0.5rem; margin-left: -0.5rem; margin-bottom: -0.5rem;" data-bs-toggle="collapse" data-bs-target="#collapseFood">Alternatives ⇅</div><div class="collapse mt-3" id="collapseFood"><div class="d-flex">{{#arraymap:{{{food alternatives|}}}|,|@@@|{{Skill no text|@@@|60}}|}}</div></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=@@@}}|}}}}{{#if: {{{cape|}}}|{{#set:Has cape item={{ucfirst:{{{cape}}}}}}}}}{{#if: {{{cape skills|}}}|{{#arraymap:{{{cape skills}}}|,|@@@|{{#set:Has cape item skills=@@@}}|}}}}{{#if: {{{head|}}}|{{#set:Has head item={{ucfirst:{{{head}}}}}}}}}{{#if: {{{head skills|}}}|{{#arraymap:{{{head skills}}}|,|@@@|{{#set:Has head item skills=@@@}}|}}}}{{#if: {{{armor|}}}|{{#set:Has armor item={{ucfirst:{{{armor}}}}}}}}}{{#if: {{{armor skills|}}}|{{#arraymap:{{{armor skills}}}|,|@@@|{{#set:Has armor item skills=@@@}}|}}}}{{#if: {{{shoes|}}}|{{#set:Has shoes item={{ucfirst:{{{shoes}}}}}}}}}{{#if: {{{shoes skills|}}}|{{#arraymap:{{{shoes skills}}}|,|@@@|{{#set:Has shoes item skills=@@@}}|}}}}</includeonly> | </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=@@@}}|}}}}{{#if: {{{cape|}}}|{{#set:Has cape item={{ucfirst:{{{cape}}}}}}}}}{{#if: {{{cape skills|}}}|{{#arraymap:{{{cape skills}}}|,|@@@|{{#set:Has cape item skills=@@@}}|}}}}{{#if: {{{head|}}}|{{#set:Has head item={{ucfirst:{{{head}}}}}}}}}{{#if: {{{head skills|}}}|{{#arraymap:{{{head skills}}}|,|@@@|{{#set:Has head item skills=@@@}}|}}}}{{#if: {{{armor|}}}|{{#set:Has armor item={{ucfirst:{{{armor}}}}}}}}}{{#if: {{{armor skills|}}}|{{#arraymap:{{{armor skills}}}|,|@@@|{{#set:Has armor item skills=@@@}}|}}}}{{#if: {{{shoes|}}}|{{#set:Has shoes item={{ucfirst:{{{shoes}}}}}}}}}{{#if: {{{shoes skills|}}}|{{#arraymap:{{{shoes skills}}}|,|@@@|{{#set:Has shoes item skills=@@@}}|}}}}</includeonly> |
Revision as of 21:27, 2 April 2024
MetaBattle is recruiting!
We are looking for experienced build admins and guide writers for Throne and Liberty. Get in touch with Galaxian#1640 on Discord if you're a good fit for the role or know someone else who is. Those are paid position.
We are looking for experienced build admins and guide writers for Throne and Liberty. Get in touch with Galaxian#1640 on Discord if you're a good fit for the role or know someone else who is. Those are paid position.