Template:Consumable infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
mNo edit summary
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Overview}}}
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
}}
|-
{{Infobox|entry|title={{{value-title|Price}}}|content={{{value|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{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}}}}}
{{Infobox|entry|title={{{stackable-title|Stackable}}}|content={{{stackable|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{class-title|Rarity class}}}|content={{{class|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{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}}}}}
{{Infobox|entry|title={{{loot drop-title|Loot drop}}}|content={{{loot drop|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Source}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Source}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
{{Infobox|entry|title={{{source-title|Source}}}|content={{{source|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{source-title|Source}}}|content={{{source|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#223060}}}}}
}}
{{Infobox|end}}<noinclude>{{clear}}
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
Line 43: Line 42:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Overview header)
*hideb (hides Source header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 10:58, June 1, 2024

Consumable infobox
 

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=