Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "|{{!}}-" to "|")
No edit summary
Line 108: Line 108:
}}
}}
|-
|-
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{reload|}}}{{{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}}}
}}
}}
Line 138: Line 138:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{rate}}}
{{{rate}}}
}}
|-
{{#if:{{{reload|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}; width:100px" {{!}}
{{{reload-title|Reload}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#223060}}}" {{!}}
{{{reload}}}
}}
}}
|-
|-
Line 251: Line 258:
|mode=
|mode=
|rate=
|rate=
|reload=
|damage=
|damage=
|range=
|range=

Revision as of 13:02, December 28, 2023

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=
|reload=
|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=