Template:Item: Difference between revisions
From EQOA Sandstorm Wiki
Jump to navigationJump to search
| [unchecked revision] | [unchecked revision] |
RenodorDev (talk | contribs) No edit summary |
RenodorDev (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="item- | <div class="item-container"> | ||
<div class="item- | |||
<div class="item- | <!-- LEFT SIDE (Your existing template, unchanged) --> | ||
<div class="item-left"> | |||
</div> | <div class="item-box"> | ||
<div class="item-header">{{{Name}}}</div> | |||
<div class="item-stats"> | |||
<div><b>DMG:</b> {{{DMG|}}} <b>ATT:</b> {{{ATT|}}}</div> | |||
<div><b>Equip:</b> {{{Equip|}}}</div> | |||
<div><b>HP:</b> {{{HP|}}}</div> | |||
<div><b>DUR:</b> {{{DUR|}}}</div> | |||
<div><b>Race:</b> {{{Race|}}}</div> | |||
<div><b>Class:</b> {{{Class|}}}</div> | |||
<div><b>Level:</b> {{{Level|}}}</div> | |||
<div><b>{{{LoreLabel|NO TRADE LORE}}}</b></div> | |||
</div> | |||
<div class="item-attributes"> | |||
<table class="item-attr-table"> | |||
<tr> | |||
<th>Attribute</th> | |||
<th>Value</th> | |||
</tr> | |||
{{{Attributes|}}} | |||
</table> | |||
</div> | |||
</div> | |||
</div> | </div> | ||
<div class="item- | <!-- RIGHT SIDE (only show blocks when params provided) --> | ||
< | <div class="item-right"> | ||
<!-- ICON block --> | |||
< | {{#if:{{{Icon|}}}| | ||
<div class="item-image-block"> | |||
<div class="item-image-label">Icon</div> | |||
<!-- Accept either "File:Name.png" or just "Name.png" --> | |||
[[File:{{#ifeq:{{#substr:{{{Icon}}}|1|5}}|File:|{{{Icon}}}|{{{Icon}}}}|{{{IconSize|120px}}}|alt={{{Name}}} icon]] | |||
</div> | |||
}} | |||
<!-- WEAPON MODEL block --> | |||
{{#if:{{{WeaponModel|}}}| | |||
<div class="item-image-block"> | |||
<div class="item-image-label">Weapon Model</div> | |||
[[File:{{#ifeq:{{#substr:{{{WeaponModel}}}|1|5}}|File:|{{{WeaponModel}}}|{{{WeaponModel}}}}|{{{WeaponSize|220px}}}|alt={{{Name}}} model]] | |||
</div> | |||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
Latest revision as of 11:00, 25 November 2025
{{{Name}}}
DMG: ATT:
Equip:
HP:
DUR:
Race:
Class:
Level:
NO TRADE LORE
| Attribute | Value |
|---|
{{#if:|
Icon
[[File:{{{Icon}}}}
{{#if:|
Weapon Model
[[File:{{{WeaponModel}}}}