Template:Armor infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}}-}}" to "}} |-")
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section1-title|Specifications}}}
{{!}}-
}}
|-
{{#if:{{{Name|}}}|
{{#if:{{{Name|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
Line 79: Line 80:
}}
}}
|-
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#FFD700}}}; background:{{{sectionBG|#000}}}" {{!}} {{{section2-title|Availability}}}
{{!}}-
}}
|-
{{#if:{{{Loot Drop|}}}|
{{#if:{{{Loot Drop|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0E68C}}}; border-color:{{{lineBG|#000}}}; width:100px" {{!}}

Latest revision as of 11:04, October 18, 2022

Armor infobox
Specifications
Availability
 


Usage

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

 
{{Armor infobox
|image=
|Name=
|Type= 
|Rarity= 
|Class=
|Minimum Level=
|Defense Rating= 
|Light=
|Intellect=
|Discipline=
|Strength= 
|Loot Drop=
|Sources= 
|Vendor=
|Price=
}}

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 Specs section header)
  • hideb (hides Availability section header)
|hidea=
|hideb=