Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "#FFFFFF" to "#fff")
m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
{{!}}-

Revision as of 11:15, 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=