Template:Consumable infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}") |
||
Line 12: | Line 12: | ||
{{{value-title|Price}}}: | {{{value-title|Price}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | ||
{{{value | {{{value}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{stackable|}}}| | {{#if:{{{stackable|}}}| | ||
Line 18: | Line 18: | ||
{{{stackable-title|Stackable}}}: | {{{stackable-title|Stackable}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | ||
{{{stackable | {{{stackable}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{class|}}}| | {{#if:{{{class|}}}| | ||
Line 24: | Line 24: | ||
{{{class-title|Rarity class}}}: | {{{class-title|Rarity class}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | ||
{{{class | {{{class}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{loot drop|}}}| | {{#if:{{{loot drop|}}}| | ||
Line 30: | Line 30: | ||
{{{loot drop-title|Loot drop}}}: | {{{loot drop-title|Loot drop}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | ||
{{{loot drop | {{{loot drop}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
Line 39: | Line 39: | ||
{{{source-title|Source}}}: | {{{source-title|Source}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}} | ||
{{{source | {{{source}}} | ||
{{!}}-}} | {{!}}-}} | ||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | |
Revision as of 08:27, October 18, 2022
Consumable infobox | |
---|---|
Overview | |
Source | |
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 Overview header)
- hideb (hides Source header)
|hidea= |hideb=