Difference between revisions of "Template:Item Info"

From Zezenia Online Wiki
(Created page with "{| class="wikitable" align="right" style="max-width: 320px;" |+ ! colspan="2" |{{{Name}}} [[File:{{{Name}}}.png|frameless]] |+ {{#if: {{{Slot|}}} | {{!}}- {{!}}'''Slot''' {{!...")
 
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" align="right" style="max-width: 320px;"
+
<includeonly>{| class="wikitable infobox" align="right" style="max-width: 320px;"
 
|+
 
|+
! colspan="2" |{{{Name}}}
+
! colspan="2" | <span style="font-size: 120%;">[[{{{Parent|Items{{!}}Item}}}]]<br /></span>{{{Name}}}  
 
[[File:{{{Name}}}.png|frameless]]
 
[[File:{{{Name}}}.png|frameless]]
 +
{{#if: {{{Image|}}} |
 +
[[File:{{{Image}}}]]
 +
| }}
 
|+
 
|+
 +
 +
{{#if: {{{Use|}}} |
 +
{{!}}-
 +
{{!}}'''Used for'''
 +
{{!}}{{{Use}}}
 +
{{!}}-
 +
| }}
 +
 +
{{#if: {{{Duration|}}} |
 +
{{!}}-
 +
{{!}}'''Duration'''
 +
{{!}}{{{Duration}}}
 +
{{!}}-
 +
| }}
 +
 +
{{#if: {{{Item Level|}}} |
 +
{{!}}-
 +
{{!}}'''Item Level'''
 +
{{!}}{{{Item Level}}}
 +
{{!}}-
 +
| }}
 +
 +
{{#if: {{{Enchantable|}}} |
 +
{{!}}-
 +
{{!}}'''Enchantable?'''
 +
{{!}}{{{Enchantable}}}
 +
{{!}}-
 +
| }}
  
 
{{#if: {{{Slot|}}} |
 
{{#if: {{{Slot|}}} |
Line 9: Line 40:
 
{{!}}'''Slot'''
 
{{!}}'''Slot'''
 
{{!}}[[{{{Slot}}}]]
 
{{!}}[[{{{Slot}}}]]
 +
{{!}}-
 +
| }}
 +
 +
{{#if: {{{Ammo|}}} |
 +
{{!}}-
 +
{{!}}'''Ammo'''
 +
{{!}}[[{{{Ammo}}}]]
 
{{!}}-
 
{{!}}-
 
| }}
 
| }}
Line 33: 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 111: Line 149:
 
| }}
 
| }}
  
 +
{{#ifexpr: {{{Dodge|0}}} > 0 |
 +
{{!}}-
 +
{{!}}'''Dodge %'''
 +
{{!}}{{{Dodge}}}
 +
{{!}}-
 +
| }}
 +
 +
{{#ifexpr: {{{Speed Boost|0}}} > 0 |
 +
{{!}}-
 +
{{!}}'''Speed Boost %'''
 +
{{!}}{{{Speed Boost}}}
 +
{{!}}-
 +
| }}
  
 
{{#if: {{{Loot|}}} |
 
{{#if: {{{Loot|}}} |
Line 119: Line 170:
 
| }}
 
| }}
  
|}
+
|}</includeonly><noinclude>
 +
This template is used for item info tables.
 +
 
 +
{{Item Info
 +
|Name=Premium Card
 +
|Parent=Premium
 +
|Duration=24 hours
 +
}}
 +
</noinclude>

Latest revision as of 12:30, 18 November 2023

This template is used for item info tables.

Premium
Premium Card

Premium Card.png

Duration 24 hours