Template:Infobox Item: Difference between revisions

From Blockgame Wiki
(prep for new skin)
m (Readded image resize)
 
(7 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 63: Line 69:
*{{#if: {{{enchant_2|}}}| [[{{{enchant_2}}}]]|}}
*{{#if: {{{enchant_2|}}}| [[{{{enchant_2}}}]]|}}
*{{#if: {{{enchant_3|}}}| [[{{{enchant_3}}}]]|}}{{#if:
*{{#if: {{{enchant_3|}}}| [[{{{enchant_3}}}]]|}}{{#if:
   {{{tooltip|}}}{{{health|}}}{{{hyd|}}}{{{sat|}}}{{{buff_1|}}}{{{buff_2|}}}{{{buff_3|}}}{{{buff_4|}}}{{{buff_5|}}}{{{buff_6|}}}{{{cd|}}}{{{charges|}}}{{{repair|}}}
   {{{tooltip|}}}{{{tooltip_green|}}}{{{DoD|}}}{{{health|}}}{{{hyd|}}}{{{sat|}}}{{{buff_1|}}}{{{buff_2|}}}{{{buff_3|}}}{{{buff_4|}}}{{{buff_5|}}}{{{buff_6|}}}{{{cd|}}}{{{charges|}}}{{{repair|}}}
   |{{BG_Infobox_Subheader|title=Tooltip|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}|
   |{{BG_Infobox_Subheader|title=Tooltip|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}|
}}{{#if:
}}{{#if:
Line 89: Line 95:
   {{{tooltip|}}}
   {{{tooltip|}}}
   |<tr><td colspan="2"><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code></td></tr>|
   |<tr><td colspan="2"><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code></td></tr>|
}}{{#if:
  {{{tooltip_green|}}}
  |<tr><td><code><span style="color:#00e600;">'''{{{tooltip_green}}}'''</span></code></td></tr>|
}}
}}
|-
|-
|{{#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.