Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}}-}}" to "}} |-")
No edit summary
Line 7: Line 7:
|-
|-
{{#if:{{{manufacturer|}}}{{{style|}}}{{{class|}}}{{{type|}}}{{{level|}}}{{{accuracy|}}}{{{impact|}}}{{{blast radius|}}}{{{stability|}}}{{{handling|}}}{{{magazine|}}}|{{!}}-
{{#if:{{{manufacturer|}}}{{{style|}}}{{{class|}}}{{{type|}}}{{{level|}}}{{{accuracy|}}}{{{impact|}}}{{{blast radius|}}}{{{stability|}}}{{{handling|}}}{{{magazine|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}
}}
}}
|-
|-
Line 109: Line 109:
|-
|-
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|{{!}}-
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Specifications}}}
{{!}}-
}}
|-
{{#if:{{{feed|}}}|
{{#if:{{{feed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 161: Line 162:
|-
|-
{{#if:{{{aim|}}}{{{inventory|}}}{{{zoom|}}}{{{recoil|}}}{{{intensity|}}}{{{direction|}}}|{{!}}-
{{#if:{{{aim|}}}{{{inventory|}}}{{{zoom|}}}{{{recoil|}}}{{{intensity|}}}{{{direction|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Hidden stats}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Hidden stats}}}
{{!}}-
}}
|-
{{#if:{{{aim|}}}|
{{#if:{{{aim|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
Line 206: Line 208:
|-
|-
{{#if:{{{service|}}}{{{affiliation|}}}|{{!}}-
{{#if:{{{service|}}}{{{affiliation|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section4-title|Service history}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section4-title|Service history}}}
{{!}}-
}}
|-
{{#if:{{{service|}}}|
{{#if:{{{service|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}

Revision as of 10:24, October 18, 2022

Weapon infobox
 

Usage

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

{{Weapon infobox
|image= 
|manufacturer=
|style=
|class=
|type=
|frame=
|craftable=
|patterns=
|level=
|accuracy=
|impact=
|blast radius=
|stability=
|handling=
|magazine=
|feed=
|ammo=
|mode=
|rate=
|damage=
|range=
|velocity=
|aim=
|inventory=
|zoom=
|recoil=
|intensity=
|direction=
|service=
|affiliation=
}}

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=
|section3-title=
|section4-title=