Template:Infobox Item: Difference between revisions

From Blockgame Wiki
m (tooltip header fix)
m (Readded image resize)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{{BG_Infobox_Header|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}
{{BG_Infobox_Header|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}
|-
|-
| colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}]] | [[File:Site-community-image.png|150px]]}}
| colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|160px]] | [[File:Site-community-image.png|150px]]}}
|-
|-
| colspan="2" style="height: 0.5rem" |
| colspan="2" style="height: 0.5rem" |
Line 49: Line 49:
   {{{material_cost|}}}
   {{{material_cost|}}}
   |<tr><td><b>Material cost</b></td><td style="white-space: nowrap">{{{material_cost}}}</td></tr>|
   |<tr><td><b>Material cost</b></td><td style="white-space: nowrap">{{{material_cost}}}</td></tr>|
}}{{#if:
  {{{ID|}}}
  |{{BG_Infobox_Subheader|title=MMO ID|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}|
}}{{#if:
  {{{ID|}}}
  |<tr><td colspan="2"><code>'''{{{ID}}}'''</code></td></tr>|
}}{{#if:
}}{{#if:
   {{{lore|}}}
   {{{lore|}}}
Line 96: Line 102:
|{{#if: {{{DoD|}}}|{{!}} <span style="color:red;">Drops on Death</span>|}}
|{{#if: {{{DoD|}}}|{{!}} <span style="color:red;">Drops on Death</span>|}}
|-
|-
|}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]]</includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>
|}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]]</includeonly><noinclude>[[Category:Infobox templates]]{{doc}}</noinclude>

Latest revision as of 05:50, 5 November 2024

Documentation
This template has no documentation. If you know how to use this template, please add some.