Template:Infobox Item: Difference between revisions
m (Added Enchant and DoD (Drops on Death)) |
m (Readded image resize) |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="float: right; background | <includeonly>{| class="infobox" style="float: right; background: rgb(255, 255, 240, 0.5); margin-left: 10px; border: 1px solid #333; border-radius: 8px; padding: 4px; width: 18em;" cellpadding="2" cellspacing="1" | ||
|- | |- | ||
{{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=" | | colspan="2" style="height: 0.5rem" | | ||
| | {{BG_Infobox_Subheader|title=Item Details|bgcolor1=#4b86b4|bgcolor2=#adcbe3}} | ||
{{#if: | |||
{{{type|}}} | |||
|<tr><td><b>Type</b></td><td>[[:Category:{{{type}}}|{{{type}}}]]</td></tr>| | |||
}}{{#if: | |||
{{{subtype|}}} | |||
|<tr><td><b>Subtype</b></td><td>[[:Category:{{{subtype}}}|{{{subtype}}}]]</td></tr>| | |||
}}{{#if: | |||
{{{rarity|}}} | |||
|<tr><td><b>Rarity</b></td><td>{{Rarity|rarity={{{rarity}}}}}</td></tr>| | |||
}}{{#if: | |||
{{{tradable|}}} | |||
|{{BG_Infobox_Subheader|title=Trade Attributes|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}| | |||
}}{{#if: | |||
{{{tradable|}}} | |||
|<tr><td><b>Tradable</b></td><td>{{{tradable}}}</td></tr>| | |||
}}{{#if: | |||
{{{obtain|}}} | |||
|<tr><td><b>Obtainable</b></td><td>{{{obtain}}}</td></tr>| | |||
}}{{#if: | |||
{{{source|}}} | |||
|<tr><td><b>Source</b></td><td>{{{source}}}</td></tr>| | |||
|- | }}{{#if: | ||
{{{drop_chance|}}} | |||
|<tr><td>Drop Chance</td><td>{{{drop_chance}}}</td></tr>| | |||
}}{{#if: | |||
{{{merchant|}}} | |||
|{{BG_Infobox_Subheader|title=Shop|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}| | |||
}}{{#if: | |||
{{#if: {{{ | {{{merchant|}}} | ||
{{#if: {{{enchant_1|}}}| {{ | |<tr><td><b>Merchant</b></td><td>[[{{{merchant}}}]]</td></tr>| | ||
}}{{#if: | |||
{{{material_cost|}}}{{{recipe_req|}}}{{{currency|}}} | |||
|{{BG_Infobox_Subheader|title=Materials|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}| | |||
}}{{#if: | |||
{{{currency|}}} | |||
|<tr><td><b>Value</b></td><td><span style="color:#fca800;">{{{currency}}}</span> Coins</td></tr>| | |||
}}{{#if: | |||
{{{recipe_req|}}} | |||
|<tr><td><b>Recipe required</b></td><td>[[{{{recipe_req}}} - Recipe]]</td></tr>| | |||
}}{{#if: | |||
{{{material_cost|}}} | |||
|<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: | |||
{{{lore|}}} | |||
|{{BG_Infobox_Subheader|title=Lore|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}| | |||
}}{{#if: | |||
{{{lore|}}} | |||
|<tr><td colspan="2"><code>'''{{{lore}}}'''</code></td></tr>| | |||
}}{{#if: | |||
{{{enchant_1|}}} | |||
|{{BG_Infobox_Subheader|title=Enchants|bgcolor1=#4b86b4|bgcolor2=#adcbe3}}| | |||
}} | |||
{{#if: {{{enchant_1|}}}| {{!}}colspan="2" style="text-align: left" {{!}} | }} | {{#if: {{{enchant_1|}}}| {{!}}colspan="2" style="text-align: left" {{!}} | }} | ||
*{{#if: {{{enchant_1|}}}| [[{{{enchant_1}}}]]|}} | *{{#if: {{{enchant_1|}}}| [[{{{enchant_1}}}]]|}} | ||
*{{#if: {{{enchant_2|}}}| [[{{{enchant_2}}}]]|}} | *{{#if: {{{enchant_2|}}}| [[{{{enchant_2}}}]]|}} | ||
*{{#if: {{{enchant_3|}}}| [[{{{enchant_3}}}]]|}} | *{{#if: {{{enchant_3|}}}| [[{{{enchant_3}}}]]|}}{{#if: | ||
{{#if: {{{ | {{{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}}| | ||
|{{ | }}{{#if: | ||
{{{health|}}} | |||
{{#if: {{{ | |<tr><td style="vertical-align:top"><b>Restores</b></td><td style="white-space:nowrap"><span style="color:#00a800;">{{{health}}}</span> Health</td></tr> | | ||
{{#if: {{{ | }}{{#if: | ||
{{#if: {{{ | {{{hyd|}}} | ||
{{#if: {{{ | |<tr><td style="vertical-align:top"><b>Restores</b></td><td style="white-space:nowrap"><span style="color:#00a800;">{{{hyd}}}</span> Hydration</td></tr> | | ||
| | }}{{#if: | ||
{{{sat|}}} | |||
|<tr><td style="vertical-align:top"><b>Restores</b></td><td style="white-space:nowrap"><span style="color:#00a800;">{{{sat}}}</span> Food</td></tr> | | |||
}}{{#if: | |||
{{{buff_1|}}}{{{buff_2|}}}{{{buff_3|}}}{{{buff_4|}}}{{{buff_5|}}}{{{buff_6|}}} | |||
| <tr><td style="vertical-align:top;white-space:nowrap"><b>Status effects </b></td><td>{{#if: {{{buff_1|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_1}}}]] ({{{bufftime_1|0}}}s)</p>|}}{{#if: {{{buff_2|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_2}}}]] ({{{bufftime_2|0}}}s)</p>|}}{{#if: {{{buff_3|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_3}}}]] ({{{bufftime_3|0}}}s)</p>|}}{{#if: {{{buff_4|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_4}}}]] ({{{bufftime_4|0}}}s)</p>|}}{{#if: {{{buff_5|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_5}}}]] ({{{bufftime_5|0}}}s)</p>|}}{{#if: {{{buff_6|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_6}}}]] ({{{bufftime_6|0}}}s)</p>|}}</td></tr> | |||
}}{{#if: | |||
{{{cd|}}} | |||
|<tr><td><b>Cooldown</b></td><td>{{{cd}}}s</td></tr>| | |||
}}{{#if: | |||
{{{charges|}}} | |||
|<tr><td><b>Charges</b></td><td>{{{charges}}}</td></tr>| | |||
| | }}{{#if: | ||
{{{repair|}}} | |||
|<tr><td><b>Repair</b></td><td><span style="color:#00a800;">{{{repair}}}</span></td></tr>| | |||
}}{{#if: | |||
{{{tooltip|}}} | |||
|<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:Infobox templates]]{{doc}}</noinclude> |
Latest revision as of 05:50, 5 November 2024
This template has no documentation. If you know how to use this template, please add some.
The above documentation is transcluded from Template:Infobox Item/doc. (edit | history)