Template:ItemInfoBox: Difference between revisions

From Alundra
No edit summary
mNo edit summary
Line 9: Line 9:
box-sizing: border-box;
box-sizing: border-box;
">
">
{{#if:{{{image|}}}|;
{{#if:{{{image|}}}|
<div style="
<div style="
   text-align: center;
   text-align: center;
Line 18: Line 18:
<hr/>|}}
<hr/>|}}
<!-- ### Damage ### -->
<!-- ### Damage ### -->
{{#if:{{{damage|}}}|;
{{#if:{{{damage|}}}|
<div style="display:flex; padding-right:10px">
<div style="display:flex; padding-right:10px">
<div>Damage</div>
<div>Damage</div>
Line 24: Line 24:
</div>|}}
</div>|}}
<!-- ### Damage Charged ### -->
<!-- ### Damage Charged ### -->
{{#if:{{{damage_charged|}}}|;
{{#if:{{{damage_charged|}}}|
<div style="display:flex; padding-right:10px">
<div style="display:flex; padding-right:10px">
<div>Damage Charged</div>
<div>Damage Charged</div>
Line 30: Line 30:
</div>|}}
</div>|}}
<!-- ### Damage Reduction ### -->
<!-- ### Damage Reduction ### -->
{{#if:{{{damage_reduction|}}}|;
{{#if:{{{damage_reduction|}}}|
<div style="display:flex; padding-right:10px">
<div style="display:flex; padding-right:10px">
<div>Damage Reduction</div>
<div>Damage Reduction</div>
Line 36: Line 36:
</div>|}}
</div>|}}
<!-- ### Health ### -->
<!-- ### Health ### -->
{{#if:{{{hp|}}}|;
{{#if:{{{hp|}}}|
<div style="display:flex; padding-right:10px">
<div style="display:flex; padding-right:10px">
<div>Health</div>
<div>Health</div>
Line 48: Line 48:
</div>|}}
</div>|}}
<!-- ### Info ### -->
<!-- ### Info ### -->
{{#if:{{{info|}}}|;
{{#if:{{{info|}}}|
<div>
<div>
{{{info}}}
{{{info}}}
</div>|}}
</div>|}}
<!-- ### Item Text ### -->
<!-- ### Item Text ### -->
{{#if:{{{item_text|}}}|;
{{#if:{{{item_text|}}}|
<hr/>
<hr/>
<div>
<div>

Revision as of 20:20, 16 May 2026


Usage

{{ItemInfoBox
|image=Image.png
|damage=4
|damage_charged=10
|hp=5
|mana=5
|info=Some Info
|item_text=This is a Sword
}}