Template:Consumable infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 5: Line 5:
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}}
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}}
}}
{{!}}-}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Item Overview}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Item Overview}}}}}
Line 33: Line 32:
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{loot drop|}}}
{{{loot drop|}}}
{{!}}-}}
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Source Location}}}}}
{{!}}-}}
{{#if:{{{Source|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{source location-title|Source}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{source|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
Line 56: Line 64:
|class=
|class=
|loot drop=
|loot drop=
|source=
}}
}}
</pre>
</pre>

Revision as of 22:21, February 5, 2017

Consumable infobox
Item Overview
Source Location
 

Usage

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

{{Consumable infobox
|image= 
|value=
|stackable=
|class=
|loot drop=
|source=
}}

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 Production section header)
  • hideb (hides Service section header)
  • hideb (hides Specs section header)
|hidea=
|hideb=
|hidec=