Template:Material infobox: Difference between revisions
From Destinypedia, the Destiny wiki
Guahanboy 98 (talk | contribs) No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}} | ! class="infoboxcell" style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 11: | Line 11: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{location-title|Location}}}''': | '''{{{location-title|Location}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{location|}}} | {{{location|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{stack limit|}}}| | {{#if:{{{stack limit|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{stack limit-title|Stack limit}}}''': | '''{{{stack limit-title|Stack limit}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{stack limit|}}} | {{{stack limit|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{class|}}}| | {{#if:{{{class|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{class-title|Rarity class}}}''': | '''{{{class-title|Rarity class}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{class|}}} | {{{class|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{loot drop|}}}| | {{#if:{{{loot drop|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{loot drop-title|Loot drop}}}''': | '''{{{loot drop-title|Loot drop}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{loot drop|}}} | {{{loot drop|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 38: | Line 38: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{source|}}}| | {{#if:{{{source|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{source-title|Source}}}''': | '''{{{source-title|Source}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{source|}}} | {{{source|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{value|}}}| | {{#if:{{{value|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | ||
'''{{{value-title|Value}}}''': | '''{{{value-title|Value}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | {{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#808080}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{value|}}} | {{{value|}}} | ||
{{!}}-}} | {{!}}-}} | ||
| 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;" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== |
Revision as of 11:11, October 2, 2017
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=