Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Creation of Weapon Infobox)
(Undo revision 165087 by Fraq (talk))
Tag: Undo
Line 3: Line 3:
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! class="infoboxcell" style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}}
! class="infoboxcell" style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{manufacturer|}}}{{{style|}}}{{{class|}}}{{{type|}}}{{{level|}}}{{{accuracy|}}}{{{impact|}}}{{{stability|}}}{{{handling|}}}{{{magazine|}}}|{{!}}-
{{#if:{{{manufacturer|}}}{{{style|}}}{{{class|}}}{{{type|}}}{{{level|}}}{{{accuracy|}}}{{{impact|}}}{{{stability|}}}{{{handling|}}}{{{magazine|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{manufacturer|}}}|
{{#if:{{{manufacturer|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{manufacturer-title|Manufacturer}}}''':
'''{{{manufacturer-title|Manufacturer}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}

Revision as of 21:07, May 2, 2021

Weapon infobox
 

Usage

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

{{Weapon infobox
|image= 
|manufacturer=
|style=
|class=
|type=
|level=
|accuracy=
|impact=
|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=