Template:Infobox Armor: Difference between revisions

From Blockgame Wiki
(Updated info box to match bg_tool styling)
(Undo revision 6257 by The Gru (talk))
Tag: Undo
 
(5 intermediate revisions by 2 users 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"
|-
|-
{{BG_Infobox_Header|bgcolor1=#36802d|bgcolor2=#77ab59}}
{{BG_Infobox_Header|bgcolor1=#36802d|bgcolor2=#77ab59}}
Line 55: Line 55:
   {{{material_cost|}}}
   {{{material_cost|}}}
   |<tr><td style="vertical-align:top"><b>Material cost</b></td><td style="white-space: nowrap">{{{material_cost}}}</td></tr>|
   |<tr><td style="vertical-align:top"><b>Material cost</b></td><td style="white-space: nowrap">{{{material_cost}}}</td></tr>|
}}{{#if:
  {{{ID|}}}
  |{{BG_Infobox_Subheader|title=MMO ID|bgcolor1=#36802d|bgcolor2=#77ab59}}|
}}{{#if:
  {{{ID|}}}
  |<tr><td colspan="2"><code>'''{{{ID}}}'''</code></td></tr>|
}}{{#if:
}}{{#if:
   {{{lore|}}}
   {{{lore|}}}
Line 68: Line 74:
   |<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}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Armors]]</includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>
|}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Armors]]</includeonly><noinclude>[[Category:Infobox templates]]{{doc}}</noinclude>

Latest revision as of 14:39, 16 October 2024

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