Template:InfoboxItem: Difference between revisions
Template page
More actions
Hytalewiki (talk | contribs) No edit summary Tag: Manual revert |
Hytalewiki (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
{| class="wikitable" | {| class="wikitable infobox-item" | ||
{{#if:{{{name|}}}| | {{#if:{{{name|}}}| | ||
! colspan="2" style="text-align:center; font-size:1.5em" {{!}} {{{name}}} | ! colspan="2" style="text-align:center; font-size:1.5em" {{!}} {{{name}}} | ||
| Line 5: | Line 5: | ||
}} | }} | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} colspan="2" style="text-align:center" {{!}} [[File:{{{image}}}|64px]] | {{!}} colspan="2" style="text-align:center; background: var(--color-surface-2); padding: 1em;" {{!}} [[File:{{{image}}}|64px]] | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
| Line 34: | Line 34: | ||
}} | }} | ||
{{#if:{{{armor|}}}| | {{#if:{{{armor|}}}| | ||
! colspan="2" style=" | ! colspan="2" class="stats-header armor-header" {{!}} 🛡️ Armor Stats | ||
{{!}}- | |||
{{!}} colspan="2" style="padding: 0;" {{!}} {{{armor}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#ifeq:{{{weapon|}}}||<!-- vacío | {{#ifeq:{{{weapon|}}}||<!-- vacío -->| | ||
! colspan="2" style=" | ! colspan="2" class="stats-header weapon-header" {{!}} ⚔️ Weapon Stats | ||
{{!}}- | |||
{{!}} colspan="2" style="padding: 0;" {{!}} {{{weapon}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#ifeq:{{{tool|}}}||<!-- vacío | {{#ifeq:{{{tool|}}}||<!-- vacío -->| | ||
! colspan="2" style=" | ! colspan="2" class="stats-header tool-header" {{!}} 🔧 Tool Stats | ||
{{!}}- | |||
{{!}} colspan="2" style="padding: 0;" {{!}} {{{tool}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#ifeq:{{{interactions|}}}||<!-- vacío | {{#ifeq:{{{interactions|}}}||<!-- vacío -->| | ||
! colspan="2" style=" | ! colspan="2" class="stats-header interactions-header" {{!}} 💬 Interactions | ||
{{!}}- | |||
{{!}} colspan="2" style="padding: 0;" {{!}} {{{interactions}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
|} | |} | ||