Template:Consumable 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={{{value-title|Price}}}|content={{{value|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}} | ||
{{Infobox|entry|title={{{stackable-title|Stackable}}}|content={{{stackable|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}} | |||
{{{value | {{Infobox|entry|title={{{class-title|Rarity class}}}|content={{{class|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}} | ||
{{Infobox|entry|title={{{loot drop-title|Loot drop}}}|content={{{loot drop|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}} | |||
{{ | |||
| | |||
{{ | |||
| | |||
{{ | |||
| | |||
{{{loot drop | |||
{{#if:{{{hideb|}}}|| | {{#if:{{{hideb|}}}|| | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Source}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Source}}} | ||
}} | }} | ||
|- | |- | ||
{{ | {{Infobox|entry|title={{{source-title|Source}}}|content={{{source|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}} | ||
{{{source | |||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} |
Revision as of 10:52, June 1, 2024
Consumable infobox | |
---|---|
Overview | |
Source | |
Usage instructions
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 Overview header)
- hideb (hides Source header)
|hidea= |hideb=