Template:BG Tool: Difference between revisions

From Blockgame Wiki
(Updated template to be more readable. Headings are now lighter and attributes have better spacing)
(prep for new skin)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="infobox" style="float: right; background-color: #f3f3f3; margin-left: 10px; border: 1px solid #ccc; padding: 4px; width: 18rem;" cellpadding="2" cellspacing="1"
<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"
|-
|-
! colspan="2" style="background: linear-gradient(#857050, #cdbe98); text-align: center; font-size: 120%; padding: 5px; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);" | {{#if: {{{title}}} | {{{title}}} | {{PAGENAME}}}}
{{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}}
| colspan="2" style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);" | '''Tool Details'''
{{#if:
{{#if:
   {{{type|}}}
   {{{type|}}}
Line 22: Line 21:
}}{{#if:
}}{{#if:
   {{{merchant|}}}
   {{{merchant|}}}
   |<tr style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);"><td colspan="2"><b>Shop</b></td></tr>|
   |{{BG_Infobox_Subheader|title=Shop|bgcolor1=#857050|bgcolor2=#cdbe98}}|
}}{{#if:
}}{{#if:
   {{{merchant|}}}
   {{{merchant|}}}
Line 37: Line 36:
}}{{#if:
}}{{#if:
   {{{tradable|}}}
   {{{tradable|}}}
   |<tr style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);"><td colspan="2"><b>Trade Attributes</b></td></tr>|
   |{{BG_Infobox_Subheader|title=Trade Attributes|bgcolor1=#857050|bgcolor2=#cdbe98}}|
}}{{#if:
}}{{#if:
   {{{tradable|}}}
   {{{tradable|}}}
Line 52: Line 51:
}}{{#if:
}}{{#if:
   {{{material_cost|}}}
   {{{material_cost|}}}
   |<tr style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);"><td colspan="2"><b>Materials</b></td></tr>|
   |{{BG_Infobox_Subheader|title=Materials|bgcolor1=#857050|bgcolor2=#cdbe98}}|
}}{{#if:
}}{{#if:
   {{{recipe_req|}}}
   {{{recipe_req|}}}
Line 61: Line 60:
}}{{#if:
}}{{#if:
   {{{lore|}}}
   {{{lore|}}}
   |<tr style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);"><td colspan="2"><b>Lore</b></td></tr>|
   |{{BG_Infobox_Subheader|title=Lore|bgcolor1=#857050|bgcolor2=#cdbe98}}|
}}{{#if:
}}{{#if:
   {{{lore|}}}
   {{{lore|}}}
Line 67: Line 66:
}}{{#if:
}}{{#if:
   {{{tooltip|}}}
   {{{tooltip|}}}
   |<tr style="background: linear-gradient(#857050, #cdbe98); text-align: center; color: white; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);"><td colspan="2"><b>Tooltip</b></td></tr>|
   |{{BG_Infobox_Subheader|title=Tooltip|bgcolor1=#857050|bgcolor2=#cdbe98}}|
}}{{#if:
}}{{#if:
   {{{tooltip|}}}
   {{{tooltip|}}}

Latest revision as of 21:20, 14 April 2024