Template:Equipment: Difference between revisions
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
<div class="d-flex justify-content-center gap-2">{{#if:{{{primary weapon|}}}|<div class="eq-entry">{{Item|{{{primary weapon|}}}|text = hide}}</div>|[[File:TUI Icon CM PrimaryWeapon Empty.webp|54px|alt=Primary weapon|link=]]}}{{#if:{{{primary weapon offhand|}}}|<div class="eq-entry">{{Item|{{{primary weapon offhand|}}}|text = hide}}</div>|[[File:TUI Icon CM SecondaryWeapon Empty.webp|54px|alt=Primary weapon offhand|link=]]}}</div> | <div class="d-flex justify-content-center gap-2">{{#if:{{{primary weapon|}}}|<div class="eq-entry">{{Item|{{{primary weapon|}}}|text = hide}}</div>|[[File:TUI Icon CM PrimaryWeapon Empty.webp|54px|alt=Primary weapon|link=]]}}{{#if:{{{primary weapon offhand|}}}|<div class="eq-entry">{{Item|{{{primary weapon offhand|}}}|text = hide}}</div>|[[File:TUI Icon CM SecondaryWeapon Empty.webp|54px|alt=Primary weapon offhand|link=]]}}</div> | ||
<div class="d-flex justify-content-center gap-2">{{#if:{{{secondary weapon|}}}|<div class="eq-entry">{{Item|{{{secondary weapon|}}}|text = hide}}</div>|[[File:TUI Icon CM RangedWeapon Empty.webp|54px|alt=Secondary weapon|link=]]}}{{#if:{{{secondary weapon offhand|}}}|<div class="eq-entry">{{Item|{{{secondary weapon offhand|}}}|text = hide}}</div>|[[File:TUI Icon CM SecondaryWeapon Empty.webp|54px|alt=Secondary weapon offhand|link=]]}}</div> | <div class="d-flex justify-content-center gap-2">{{#if:{{{secondary weapon|}}}|<div class="eq-entry">{{Item|{{{secondary weapon|}}}|text = hide}}</div>|[[File:TUI Icon CM RangedWeapon Empty.webp|54px|alt=Secondary weapon|link=]]}}{{#if:{{{secondary weapon offhand|}}}|<div class="eq-entry">{{Item|{{{secondary weapon offhand|}}}|text = hide}}</div>|[[File:TUI Icon CM SecondaryWeapon Empty.webp|54px|alt=Secondary weapon offhand|link=]]}}</div> | ||
</div>{{#if:{{{consumables|}}}|<div class="d-flex justify-content-center mt-3 gap-3" style="border-top: 1px solid rgb(255 255 255 / 7%); padding-top: 1rem; margin: 0 -1rem;">{{#arraymap:{{{consumables}}}|,|@@@|<div class="eq-entry">{{Item|@@@|text = hide}}</div>|}}</div>}}</div></includeonly> | </div>{{#if:{{{consumables|}}}|<div class="d-flex justify-content-center mt-3 gap-3" style="border-top: 1px solid rgb(255 255 255 / 7%); padding-top: 1rem; margin: 0 -1rem;">{{#arraymap:{{{consumables}}}|,|@@@|<div class="eq-entry">{{Item|@@@|text = hide|size=32px}}</div>|}}</div>}}</div></includeonly> |