Template:Armor infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "\| class="infoboxfooter" colspan="2" \|  ↵\|}" to "{{Infobox|end}}")
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 2: Line 2:
{{Infobox|title|name={{{name|}}}|color={{{color2|#FFD700}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#FFD700}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#000}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#000}}}|linebg={{{lineBG|#000}}}}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}}
{{Infobox|section|title={{{section1-title|Specifications}}}|color={{{color2|#FFD700}}}|bg={{{sectionBG|#000}}}|entries=
}}
|-
{{Infobox|entry|title={{{name-title|Name}}}|content={{{name|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{name-title|Name}}}|content={{{name|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
Line 16: Line 14:
{{Infobox|entry|title={{{discipline-title|Disicpline}}}|content={{{discipline|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{discipline-title|Disicpline}}}|content={{{discipline|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{strength-title|Strength}}}|content={{{strength|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{strength-title|Strength}}}|content={{{strength|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}}
}}
}}
|-
 
{{Infobox|section|title={{{section2-title|Availability}}}|color={{{color2|#FFD700}}}|bg={{{sectionBG|#000}}}|entries=
{{Infobox|entry|title={{{loot drop-title|Loot drop?}}}|content={{{loot drop|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{loot drop-title|Loot drop?}}}|content={{{loot drop|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{sources-title|Sources}}}|content={{{sources|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{sources-title|Sources}}}|content={{{sources|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{vendor-title|Vendor}}}|content={{{vendor|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{vendor-title|Vendor}}}|content={{{vendor|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{price-title|Price}}}|content={{{price|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
{{Infobox|entry|title={{{price-title|Price}}}|content={{{price|}}}|bg={{{fieldBG|#F0E68C}}}|linebg={{{lineBG|#000}}}}}
}}
{{Infobox|end}}<noinclude>{{clear}}
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
Line 30: Line 29:
<pre>
<pre>
{{Armor infobox
{{Armor infobox
|name=
|image=
|image=
|name=
|type=
|type=
|rarity=
|rarity=
Line 49: Line 48:


==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=
Line 61: Line 60:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Specs section header)
*hideb (hides Availability section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


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

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

Armor infobox
 

Usage instructions

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

{{Armor infobox
|name=
|image=
|type=
|rarity=
|class=
|minimum level=
|defense rating=
|light=
|intellect=
|discipline=
|strength=
|loot drop=
|sources=
|vendor=
|price=
}}

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=