Template:Material infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}") |
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}") |
||
Line 6: | Line 6: | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{location-title|Location}}}|content={{{location|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | ||
{{Infobox|entry|title={{{stack limit-title|Stack limit}}}|content={{{stack limit|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | |||
{{{location | {{Infobox|entry|title={{{class-title|Rarity class}}}|content={{{class|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | ||
{{Infobox|entry|title={{{loot drop-title|Loot drop}}}|content={{{loot drop|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | |||
{{ | |||
| | |||
{{{stack limit-title|Stack limit}}} | |||
{{{stack limit | |||
{{{class-title|Rarity class}}} | |||
{{ | |||
{{ | |||
| | |||
{{{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}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{source-title|Source}}}|content={{{source|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | ||
{{Infobox|entry|title={{{value-title|Value}}}|content={{{value|}}}|bg={{{fieldBG|#ccc}}}|linebg={{{lineBG|#223060}}}}} | |||
{{{source | |||
{{ | |||
| | |||
}} | |||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} |
Revision as of 15:21, June 1, 2024
Material infobox | |
---|---|
Overview | |
Details | |
Usage instructions
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=