Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;" to "border-radius:0 0 .7em .7em;")
No edit summary
Line 7: Line 7:
}}
}}
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#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}}}}}
{{!}}-}}
{{!}}-}}
Line 70: Line 70:
{{{magazine|}}}
{{{magazine|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{feed|}}}{{{ammo|}}}{{{mode|}}}{{{rate|}}}{{{damage|}}}{{{range|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Specifications}}}}}
{{!}}-
{{!}}-
{{#if:{{{feed|}}}|
{{#if:{{{feed|}}}|
Line 109: Line 109:
{{{range|}}}
{{{range|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{aim|}}}{{{inventory|}}}{{{zoom|}}}{{{recoil|}}}{{{intensity|}}}{{{direction|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Service history}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Hidden stats}}}}}
{{!}}-
{{#if:{{{aim|}}}|
{{!}} 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;" {{!}}
'''{{{aim-title|Aim assistance}}}''':
{{!}} 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;" {{!}}
{{{aim|}}}
{{!}}-}}
{{#if:{{{inventory|}}}|
{{!}} 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;" {{!}}
'''{{{inventory-title|Inventory size}}}''':
{{!}} 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;" {{!}}
{{{inventory|}}}
{{!}}-}}
{{#if:{{{zoom|}}}|
{{!}} 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;" {{!}}
'''{{{zoom-title|Zoom}}}''':
{{!}} 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;" {{!}}
{{{zoom|}}}
{{!}}-}}
{{#if:{{{recoil|}}}|
{{!}} 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;" {{!}}
'''{{{recoil-title|Recoil}}}''':
{{!}} 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;" {{!}}
{{{recoil|}}}
{{!}}-}}
{{#if:{{{intensity|}}}|
{{!}} 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;" {{!}}
'''{{{intensity-title|Bounce intensity}}}''':
{{!}} 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;" {{!}}
{{{intensity|}}}
{{!}}-}}
{{#if:{{{direction|}}}|
{{!}} 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;" {{!}}
'''{{{direction-title|Bounce direction}}}''':
{{!}} 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;" {{!}}
{{{direction|}}}
{{!}}-}}
{{#if:{{{service|}}}{{{affiliation|}}}|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section4-title|Service history}}}}}
{{!}}-
{{!}}-
{{#if:{{{service|}}}|
{{#if:{{{service|}}}|
Line 126: Line 165:
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.
Line 148: Line 186:
|damage=
|damage=
|range=
|range=
|aim=
|inventory=
|zoom=
|recoil=
|intensity=
|direction=
|service=
|service=
|affiliation=
|affiliation=
Line 165: Line 209:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
|section3-title=
 
|section4-title=
==Display parameters==
The following allows you to hide the section header
*hidea (hides Production section header)
*hideb (hides Service section header)
*hideb (hides Specs section header)
 
<pre>
|hidea=
|hideb=
|hidec=
</pre>
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 11:39, February 8, 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=