Template:Material infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}} {{{image|}}}" to "{{!}} {{{image}}}")
m (Text replacement - "{{!}}-}}" to "}} |-")
Line 8: Line 8:
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#696969}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#696969}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-}}
}}
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 14: Line 15:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{location}}}
{{{location}}}
{{!}}-}}
}}
|-
{{#if:{{{stack limit|}}}|
{{#if:{{{stack limit|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 20: Line 22:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{stack limit}}}
{{{stack limit}}}
{{!}}-}}
}}
|-
{{#if:{{{class|}}}|
{{#if:{{{class|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 26: Line 29:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{class}}}
{{{class}}}
{{!}}-}}
}}
|-
{{#if:{{{loot drop|}}}|
{{#if:{{{loot drop|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 32: Line 36:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{loot drop}}}
{{{loot drop}}}
{{!}}-}}
}}
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#696969}}}" {{!}} {{{section3-title|Details}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#696969}}}" {{!}} {{{section3-title|Details}}}}}
Line 41: Line 46:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{source}}}
{{{source}}}
{{!}}-}}
}}
|-
{{#if:{{{value|}}}|
{{#if:{{{value|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 47: Line 53:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#808080}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{value}}}
{{{value}}}
{{!}}-}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 09:16, October 18, 2022

Material infobox
Overview

}}

Details
 

Usage

Copy and paste the following into the article and fill in the fields.

{{Material infobox
|image= 
|location=
|stack limit=
|class=
|loot drop=
|source=
|value=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides Overview section header)
  • hideb (hides Details section header)
|hidea=
|hideb=