Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "style="([^"\n]+)" class="([^"\n]+)" colspan="([^"\n]+)"" to "class="$2" colspan="$3" style="$1"")
m (Text replacement - "style="([^"\n]+)" colspan="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$2" style="$1"")
Line 3: Line 3:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
! class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
{{!}}-

Revision as of 17:26, 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=