Template:Consumable infobox: Difference between revisions

From Destinypedia, the Destiny wiki

mNo edit summary
m (Text replacement - "The following allows you to alter the title of the sub-sections:" to "The following parameters allow you to customize the infobox colors and section titles:")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#223060}}}}}
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#223060}}}}}
{{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|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}


{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
{{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|#F3F3F3}}}|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|#F3F3F3}}}|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|#F3F3F3}}}|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|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}
}}


{{Infobox|section|title={{{section2-title|Source}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
{{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|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}
}}


Line 20: Line 20:
<pre>
<pre>
{{Consumable infobox
{{Consumable infobox
|name=
|image=
|image=
|value=
|value=
Line 30: Line 31:


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:


<pre>
<pre>
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=

Latest revision as of 14:50, June 18, 2024

Consumable infobox
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Consumable infobox
|name=
|image=
|value=
|stackable=
|class=
|loot drop=
|source=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=