Template:Infobox Item: Difference between revisions

From Blockgame Wiki
m (Added "enchant" field to bg item)
m (Added Enchant and DoD (Drops on Death))
Line 22: Line 22:
|-
|-
|{{#if: {{{drop_chance|}}}| Drop Chance: {{{drop_chance}}}|}}
|{{#if: {{{drop_chance|}}}| Drop Chance: {{{drop_chance}}}|}}
|-
|{{#if: {{{enchant|}}}| Enchant: {{{enchant}}}|}}
|-
|-
|{{#if: {{{merchant|}}}| {{BG_Item/Div|bgcolor1=#4b86b4|bgcolor2=#adcbe3|align=center|text=Shop}} | }}
|{{#if: {{{merchant|}}}| {{BG_Item/Div|bgcolor1=#4b86b4|bgcolor2=#adcbe3|align=center|text=Shop}} | }}
Line 36: Line 34:
|-
|-
|{{#if: {{{lore|}}}|<code>'''{{{lore}}}'''</code> |}}
|{{#if: {{{lore|}}}|<code>'''{{{lore}}}'''</code> |}}
|-
{{#if: {{{enchant_1|}}}| {{ItemInfoTable/Div|bgcolor1=#4b86b4|bgcolor2=#adcbe3|align=center|text=Enchants}} | }}
{{#if: {{{enchant_1|}}}| {{!-}} | }}
{{#if: {{{enchant_1|}}}| {{!}}colspan="2" style="text-align: left" {{!}} | }}
*{{#if: {{{enchant_1|}}}| [[{{{enchant_1}}}]]|}}
*{{#if: {{{enchant_2|}}}| [[{{{enchant_2}}}]]|}}
*{{#if: {{{enchant_3|}}}| [[{{{enchant_3}}}]]|}}
{{#if: {{{enchant_1|}}}| {{!-}} | }}
|-
|-
|{{#if: {{{tooltip|}}}| {{BG_Item/Div|bgcolor1=#4b86b4|bgcolor2=#adcbe3|align=center|text=Tooltip}} |  }}
|{{#if: {{{tooltip|}}}| {{BG_Item/Div|bgcolor1=#4b86b4|bgcolor2=#adcbe3|align=center|text=Tooltip}} |  }}
Line 58: Line 64:
|{{#if: {{{charges|}}}|: {{{charges}}} Charges |}}
|{{#if: {{{charges|}}}|: {{{charges}}} Charges |}}
|-
|-
|{{#if: {{{tooltip|}}}| Tooltip: </br><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code> |}}
|{{#if: {{{tooltip|}}}|<code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code> |}}
|-
|{{#if: {{{DoD|}}}|{{!}} <span style="color:red;">Drops on Death</span>|}}
|-
|-
|}<includeonly>{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]]</includeonly><noinclude>[[Category:Template]]</noinclude>
|}<includeonly>{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]]</includeonly><noinclude>[[Category:Template]]</noinclude>

Revision as of 12:23, 7 March 2024

{{{title}}}
Item Details