Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"")
m (Text replacement - "colspan="([^"\n]+)" style="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$1" style="$2"")
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|}}}|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" class="infoboxsubheading" {{!}} {{{section1-title|Production overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{manufacturer|}}}|
{{#if:{{{manufacturer|}}}|
Line 94: Line 94:
{{!}}-}}
{{!}}-}}
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|{{!}}-
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" class="infoboxsubheading" {{!}} {{{section2-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Specifications}}}}}
{{!}}-
{{!}}-
{{#if:{{{feed|}}}|
{{#if:{{{feed|}}}|
Line 133: Line 133:
{{!}}-}}
{{!}}-}}
{{#if:{{{aim|}}}{{{inventory|}}}{{{zoom|}}}{{{recoil|}}}{{{intensity|}}}{{{direction|}}}|{{!}}-
{{#if:{{{aim|}}}{{{inventory|}}}{{{zoom|}}}{{{recoil|}}}{{{intensity|}}}{{{direction|}}}|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" class="infoboxsubheading" {{!}} {{{section3-title|Hidden stats}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Hidden stats}}}}}
{{!}}-
{{!}}-
{{#if:{{{aim|}}}|
{{#if:{{{aim|}}}|
Line 172: Line 172:
{{!}}-}}
{{!}}-}}
{{#if:{{{service|}}}{{{affiliation|}}}|{{!}}-
{{#if:{{{service|}}}{{{affiliation|}}}|{{!}}-
! colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" class="infoboxsubheading" {{!}} {{{section4-title|Service history}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#223060}}}" {{!}} {{{section4-title|Service history}}}}}
{{!}}-
{{!}}-
{{#if:{{{service|}}}|
{{#if:{{{service|}}}|

Revision as of 18:29, September 15, 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=
|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=