Template:Infobox Weapon: Difference between revisions
(Created page with "{| class="infobox" style="float: right; background-color: #f3f3f3; margin-left: 10px; border: 2px solid #ccc; padding: 10px; width: 18em;" |- ! colspan="2" style="background: linear-gradient(#d62929, #fb6767); text-align: center; font-size: 125%; padding: 5px" | {{#if: {{{title}}} | {{{title}}} | {{PAGENAME}}}} |- | colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|150px]] | 150px}} |- | colspan="2" style...") |
m (Fixed color) |
||
Line 1: | Line 1: | ||
{| class="infobox" style="float: right; background-color: #f3f3f3; margin-left: 10px; border: 2px solid #ccc; padding: 10px; width: 18em;" | {| class="infobox" style="float: right; background-color: #f3f3f3; margin-left: 10px; border: 2px solid #ccc; padding: 10px; width: 18em;" | ||
|- | |- | ||
! colspan="2" style="background: linear-gradient(#d62929, # | ! colspan="2" style="background: linear-gradient(#d62929, #f6c5c5); text-align: center; font-size: 125%; padding: 5px" | {{#if: {{{title}}} | {{{title}}} | {{PAGENAME}}}} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|150px]] | [[File:Site-community-image.png|150px]]}} | | colspan="2" style="text-align: center;" | {{#if: {{{image|}}} | [[File:{{{image}}}|150px]] | [[File:Site-community-image.png|150px]]}} | ||
|- | |- | ||
| colspan="2" style="background: linear-gradient(#d62929, # | | colspan="2" style="background: linear-gradient(#d62929, #f6c5c5); text-align: center;" | '''Weapon Details''' | ||
|- | |- | ||
|{{#if: {{{type|}}}| Type: [[:Category:{{{type}}}|{{{type}}}]]|}} | |{{#if: {{{type|}}}| Type: [[:Category:{{{type}}}|{{{type}}}]]|}} | ||
Line 15: | Line 15: | ||
|{{#if: {{{uses|}}}| Uses: {{{uses}}}|}} | |{{#if: {{{uses|}}}| Uses: {{{uses}}}|}} | ||
|- | |- | ||
|{{#if: {{{tradable|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=# | |{{#if: {{{tradable|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=#f6c5c5|align=center|text=Trade Attributes}} | }} | ||
|- | |- | ||
|{{#if: {{{tradable|}}}| Tradable: {{{tradable}}}|}} | |{{#if: {{{tradable|}}}| Tradable: {{{tradable}}}|}} | ||
Line 25: | Line 25: | ||
|{{#if: {{{drop_chance|}}}| Drop Chance: {{{drop_chance}}}|}} | |{{#if: {{{drop_chance|}}}| Drop Chance: {{{drop_chance}}}|}} | ||
|- | |- | ||
|{{#if: {{{merchant|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=# | |{{#if: {{{merchant|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=#f6c5c5|align=center|text=Shop}} | }} | ||
|- | |- | ||
|{{#if: {{{merchant|}}}| Merchant: [[{{{merchant}}}]]|}} | |{{#if: {{{merchant|}}}| Merchant: [[{{{merchant}}}]]|}} | ||
Line 33: | Line 33: | ||
|{{#if: {{{upgrades_to|}}}| Upgrade to: [[{{{upgrades_to}}}]]|}}{{#if: {{{upgrades_to_multiple|}}}| Upgrade to: {{{upgrades_to_multiple}}}|}} | |{{#if: {{{upgrades_to|}}}| Upgrade to: [[{{{upgrades_to}}}]]|}}{{#if: {{{upgrades_to_multiple|}}}| Upgrade to: {{{upgrades_to_multiple}}}|}} | ||
|- | |- | ||
|{{#if: {{{material_cost|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=# | |{{#if: {{{material_cost|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=#f6c5c5|align=center|text=Materials}} | }} | ||
|- | |- | ||
{{#if: {{{recipe_req|}}}|{{!}} Recipe required: [[{{{recipe_req}}} - Recipe]]|}} | {{#if: {{{recipe_req|}}}|{{!}} Recipe required: [[{{{recipe_req}}} - Recipe]]|}} | ||
Line 39: | Line 39: | ||
|{{#if: {{{material_cost|}}}| Material cost: {{{material_cost}}}|}} | |{{#if: {{{material_cost|}}}| Material cost: {{{material_cost}}}|}} | ||
|- | |- | ||
|{{#if: {{{lore|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=# | |{{#if: {{{lore|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=#f6c5c5|align=center|text=Lore}} | }} | ||
|- | |- | ||
|{{#if: {{{lore|}}}|<code>'''{{{lore}}}'''</code> |}} | |{{#if: {{{lore|}}}|<code>'''{{{lore}}}'''</code> |}} | ||
|- | |- | ||
|{{#if: {{{tooltip|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=# | |{{#if: {{{tooltip|}}}| {{BG_Item/Div|bgcolor1=#d62929|bgcolor2=#f6c5c5|align=center|text=Tooltip}} | }} | ||
|- | |- | ||
|{{#if: {{{tooltip|}}}| Tooltip: </br><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code> |}} | |{{#if: {{{tooltip|}}}| Tooltip: </br><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code> |}} | ||
|- | |- | ||
|}<includeonly>{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}[[Category:Weapons]]</includeonly><noinclude>[[Category:Template]]</noinclude> | |}<includeonly>{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}[[Category:Weapons]]</includeonly><noinclude>[[Category:Template]]</noinclude> |