Template:Infobox Tool: Difference between revisions
(Updated template to be more readable. Headings are now lighter and attributes have better spacing) |
Tag: Undo |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| 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: 18rem;" cellpadding="2" cellspacing="1" | ||
|- | |- | ||
{{BG_Infobox_Header|bgcolor1=#857050|bgcolor2=#cdbe98}} | |||
|- | |- | ||
| 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}}}]] | [[File:Site-community-image.png|150px]]}} | ||
|- | |- | ||
| colspan="2" style="height: 0.5rem" | | | colspan="2" style="height: 0.5rem" | | ||
| | {{BG_Infobox_Subheader|title=Tool Details|bgcolor1=#857050|bgcolor2=#cdbe98}} | ||
| | |||
{{#if: | {{#if: | ||
{{{type|}}} | {{{type|}}} | ||
Line 22: | Line 21: | ||
}}{{#if: | }}{{#if: | ||
{{{merchant|}}} | {{{merchant|}}} | ||
| | |{{BG_Infobox_Subheader|title=Shop|bgcolor1=#857050|bgcolor2=#cdbe98}}| | ||
}}{{#if: | }}{{#if: | ||
{{{merchant|}}} | {{{merchant|}}} | ||
Line 37: | Line 36: | ||
}}{{#if: | }}{{#if: | ||
{{{tradable|}}} | {{{tradable|}}} | ||
| | |{{BG_Infobox_Subheader|title=Trade Attributes|bgcolor1=#857050|bgcolor2=#cdbe98}}| | ||
}}{{#if: | }}{{#if: | ||
{{{tradable|}}} | {{{tradable|}}} | ||
Line 52: | Line 51: | ||
}}{{#if: | }}{{#if: | ||
{{{material_cost|}}} | {{{material_cost|}}} | ||
| | |{{BG_Infobox_Subheader|title=Materials|bgcolor1=#857050|bgcolor2=#cdbe98}}| | ||
}}{{#if: | }}{{#if: | ||
{{{recipe_req|}}} | {{{recipe_req|}}} | ||
Line 59: | Line 58: | ||
{{{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=#857050|bgcolor2=#cdbe98}}| | |||
}}{{#if: | |||
{{{ID|}}} | |||
|<tr><td colspan="2"><code>'''{{{ID}}}'''</code></td></tr>| | |||
}}{{#if: | }}{{#if: | ||
{{{lore|}}} | {{{lore|}}} | ||
| | |{{BG_Infobox_Subheader|title=Lore|bgcolor1=#857050|bgcolor2=#cdbe98}}| | ||
}}{{#if: | }}{{#if: | ||
{{{lore|}}} | {{{lore|}}} | ||
Line 67: | Line 72: | ||
}}{{#if: | }}{{#if: | ||
{{{tooltip|}}} | {{{tooltip|}}} | ||
| | |{{BG_Infobox_Subheader|title=Tooltip|bgcolor1=#857050|bgcolor2=#cdbe98}}| | ||
}}{{#if: | }}{{#if: | ||
{{{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: {{{type|}}}|[[Category:{{{type}}}]]|}}[[Category:Tools]]</includeonly><noinclude>[[Category: | |}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}[[Category:Tools]]</includeonly><noinclude>[[Category:Infobox templates]]{{doc}}</noinclude> |
Latest revision as of 14:40, 16 October 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 Tool/doc. (edit | history)