Template:Armor infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="background:([^\n;"]+); color:([^\n;"]+)" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}|color=$2|bg=$1}}")
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
Line 1: Line 1:
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#000}}}}}
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#000}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#FFD700}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#FFD700}}}|bg={{{nameBG|transparent}}}}}
{{#if:{{{image|}}}|
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#000}}}|linebg={{{lineBG|#000}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#000}}}; border-bottom:1px solid {{{lineBG|#000}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
{{#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}}}

Revision as of 15:38, June 1, 2024

Armor infobox
Specifications
Availability
 

Usage instructions

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=