Template:Item Info: Difference between revisions

From Zezenia Online Wiki
Add parent attribute
Rombs (talk | contribs)
No edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" align="right" style="max-width: 320px;"
<includeonly>{| class="wikitable infobox" align="right" style="max-width: 320px;"
|+
|+
! colspan="2" | <span style="font-size: 120%;">[[{{{Parent|Items{{!}}Item}}}]]<br /></span>{{{Name}}}
! colspan="2" | <span style="font-size: 120%;">[[{{{Parent|Items{{!}}Item}}}]]<br /></span>{{{Name}}}  
 
[[File:{{{Name}}}.png|frameless]]
[[File:{{{Name}}}.png|frameless]]
{{#if: {{{Image|}}} |
{{#if: {{{Image|}}} |
[[File:{{{Image}}}]]
[[File:{{{Image}}}]]
| }}
| }}
|+
|+


Line 15: Line 12:
{{!}}'''Used for'''
{{!}}'''Used for'''
{{!}}{{{Use}}}
{{!}}{{{Use}}}
{{!}}-
| }}
{{#if: {{{Duration|}}} |
{{!}}-
{{!}}'''Duration'''
{{!}}{{{Duration}}}
{{!}}-
| }}
{{#if: {{{Item Level|}}} |
{{!}}-
{{!}}'''Item Level'''
{{!}}{{{Item Level}}}
{{!}}-
| }}
{{#if: {{{Enchantable|}}} |
{{!}}-
{{!}}'''Enchantable?'''
{{!}}{{{Enchantable}}}
{{!}}-
{{!}}-
| }}
| }}
Line 22: Line 40:
{{!}}'''Slot'''
{{!}}'''Slot'''
{{!}}[[{{{Slot}}}]]
{{!}}[[{{{Slot}}}]]
{{!}}-
| }}
{{#if: {{{Ammo|}}} |
{{!}}-
{{!}}'''Ammo'''
{{!}}[[{{{Ammo}}}]]
{{!}}-
{{!}}-
| }}
| }}
Line 46: Line 71:
| }}
| }}


{{#ifexpr: {{{Melee Defense|0}}} > 0 |
{{#ifexpr: {{{Physical Resistance|0}}} > 0 |
{{!}}-
{{!}}-
{{!}}'''Melee Defense %'''
{{!}}'''Physical Resistance %'''
{{!}}{{{Melee Defense}}}
{{!}}{{{Physical Resistance}}}
{{!}}-
{{!}}-
| }}
| }}


{{#ifexpr: {{{Magic Defense|0}}} > 0 |
{{#ifexpr: {{{Magic Resistance|0}}} > 0 |
{{!}}-
{{!}}-
{{!}}'''Magic Defense %'''
{{!}}'''Magic Resistance %'''
{{!}}{{{Magic Defense}}}
{{!}}{{{Magic Resistance}}}
{{!}}-
{{!}}-
| }}
| }}
Line 124: Line 149:
| }}
| }}


{{#ifexpr: {{{Dodge|0}}} > 0 |
{{!}}-
{{!}}'''Dodge %'''
{{!}}{{{Dodge}}}
{{!}}-
| }}
{{#ifexpr: {{{Speed Boost|0}}} > 0 |
{{!}}-
{{!}}'''Speed Boost %'''
{{!}}{{{Speed Boost}}}
{{!}}-
| }}


{{#if: {{{Loot|}}} |
{{#if: {{{Loot|}}} |
Line 138: Line 176:
|Name=Premium Card
|Name=Premium Card
|Parent=Premium
|Parent=Premium
|Duration=24 hours
}}
}}
</noinclude>
</noinclude>

Latest revision as of 12:30, 18 November 2023

This template is used for item info tables.

Premium
Premium Card

Duration 24 hours