Template:Weapon infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(115 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#223060}}}; 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;  color:{{{color1|#000}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#223060}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Production overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#223060}}}; padding: 0px;" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{style-title|Style}}}|content={{{style|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{class-title|Rarity class}}}|content={{{class|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{type-title|Weapon type}}}|content={{{type|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{frame-title|Intrinsic frame}}}|content={{{frame|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{craft-title|Is craftable}}}|content={{{craftable|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{pattern-title|Patterns needed}}}|content={{{patterns|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{level-title|Required level}}}|content={{{level|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{accuracy-title|Min-max accuracy}}}|content={{{accuracy|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{impact-title|Min-max impact}}}|content={{{impact|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{blast radius-title|Blast radius}}}|content={{{blast radius|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{stability-title|Min-max stability}}}|content={{{stability|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{handling-title|Min-max handling}}}|content={{{handling|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{reload-title|Min-max reload speed}}}|content={{{reload|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{magazine-title|Min-max magazine}}}|content={{{magazine|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Specifications}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
{{Infobox|entry|title={{{feed-title|Feed system}}}|content={{{feed|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{ammo-title|Ammunition type}}}|content={{{ammo|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{mode-title|Fire mode}}}|content={{{mode|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{rate-title|[[wikipedia:Rate of fire|Rate of fire]]}}}|content={{{rate|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{damage-title|Damage}}}|content={{{damage|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{range-title|Effective range}}}|content={{{range|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{velocity-title|Projectile velocity}}}|content={{{velocity|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{charge time-title|Charge time}}}|content={{{charge time|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{draw time-title|Draw time}}}|content={{{draw time|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{shield duration-title|Shield duration}}}|content={{{shield duration|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{charge rate-title|Charge rate}}}|content={{{charge rate|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{swing speed-title|Swing speed}}}|content={{{swing speed|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{guard resistance-title|Guard resistance}}}|content={{{guard resistance|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{guard efficiency-title|Guard efficiency}}}|content={{{guard efficiency|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{guard endurance-title|Guard endurance}}}|content={{{guard endurance|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}
}}
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section1-title|Production overview}}}}}
{{!}}-
{{#if:{{{manufacturer|}}}|
{{!}} 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}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{manufacturer|}}}
{{!}}-}}
{{#if:{{{class|}}}|
{{!}} 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-title|Classification}}}''':
{{!}} 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|}}}
{{!}}-}}
{{#if:{{{type|}}}|
{{!}} 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;" {{!}}
'''{{{type-title|Type}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{level|}}}|
{{!}} 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;" {{!}}
'''{{{level-title|Level}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{level|}}}
{{!}}-}}
{{#if:{{{accuracy|}}}|
{{!}} 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;" {{!}}
'''{{{accuracy-title|Base accuracy}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{accuracy|}}}
{{!}}-}}
{{#if:{{{stability|}}}|
{{!}} 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;" {{!}}
'''{{{stability-title|Base stability}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{stability|}}}
{{!}}-}}
{{#if:{{{handling|}}}|
{{!}} 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;" {{!}}
'''{{{handling-title|Base handling}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{handling|}}}
{{!}}-}}
{{#if:{{{magazine|}}}|
{{!}} 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;" {{!}}
'''{{{magazine-title|Base magazine}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{magazine|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section3-title|Specifications}}}}}
{{!}}-
{{#if:{{{feed|}}}|
{{!}} 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;" {{!}}
'''{{{feed-title|Feed system}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{feed|}}}
{{!}}-}}
{{#if:{{{ammo|}}}|
{{!}} 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;" {{!}}
'''{{{ammo-title|Ammunition type}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{ammo|}}}
{{!}}-}}
{{#if:{{{mode|}}}|
{{!}} 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;" {{!}}
'''{{{mode-title|Fire mode}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{mode|}}}
{{!}}-}}
{{#if:{{{rate|}}}|
{{!}} 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;" {{!}}
'''{{{rate-title|[[Wikipedia:rate of fire|Rate of fire]]}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{rate|}}}
{{!}}-}}
{{#if:{{{damage|}}}|
{{!}} 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;" {{!}}
'''{{{damage-title|Damage}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{damage|}}}
{{!}}-}}
{{#if:{{{range|}}}|
{{!}} 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;" {{!}}
'''{{{range-title|Effective range}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{range|}}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|#223060}}}" {{!}} {{{section2-title|Service history}}}}}
{{!}}-
{{#if:{{{service|}}}|
{{!}} 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;" {{!}}
'''{{{service-title|In service}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{service|}}}
{{!}}-}}
{{#if:{{{affiliation|}}}|
{{!}} 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;" {{!}}
'''{{{affiliation-title|Affiliation}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#223060}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{affiliation|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | 
|}<noinclude>{{clear}}
<!-- CHANGELOG, 15/10/2011
*Fields removed;
%% mpguide -- halowiki.net outdated
%% fire, accuracy, era, counterpart, counterwep, maxammo -- trivial/poorly documented/redundant


**Fields changed/altered/replaced;
{{Infobox|section|title={{{section3-title|Hidden stats}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
%% era changed to service
{{Infobox|entry|title={{{aim-title|Aim assistance}}}|content={{{aim|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
%% size split into length and weight
{{Infobox|entry|title={{{inventory-title|Inventory size}}}|content={{{inventory|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
%% rate of fire shortened to rate
{{Infobox|entry|title={{{zoom-title|Zoom}}}|content={{{zoom|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
-->
{{Infobox|entry|title={{{recoil-title|Recoil}}}|content={{{recoil|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{intensity-title|Bounce intensity}}}|content={{{intensity|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{direction-title|Bounce direction}}}|content={{{direction|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{airborne-title|Airborne effectiveness}}}|content={{{airborne|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}


==Usage==
{{Infobox|section|title={{{section4-title|Service history}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#223060}}}|entries=
{{Infobox|entry|title={{{service-title|In service}}}|content={{{service|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#223060}}}}}
}}
 
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
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.
<pre>
<pre>
{{Weapon infobox
{{Weapon infobox
|image=  
|name=
|image=
|othernames=
|manufacturer=
|manufacturer=
|style=
|class=
|class=
|type=
|type=
|frame=
|craftable=
|patterns=
|level=
|level=
|accuracy=
|accuracy=
|impact=
|blast radius=
|stability=
|stability=
|handling=
|handling=
|reload=
|magazine=
|magazine=
|feed=
|feed=
Line 144: Line 85:
|damage=
|damage=
|range=
|range=
|velocity=
|charge time=
|draw time=
|shield duration=
|charge rate=
|swing speed=
|guard resistance=
|guard efficiency=
|guard endurance=
|aim=
|inventory=
|zoom=
|recoil=
|intensity=
|direction=
|airborne=
|service=
|service=
|affiliation=
|affiliation=
Line 150: Line 107:


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:
 
<pre>
<pre>
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 161: Line 119:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
|section3-title=
|section4-title=
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
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>
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 15:29, June 18, 2024

Weapon infobox
 

Usage instructions

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

{{Weapon infobox
|name=
|image=
|othernames=
|manufacturer=
|style=
|class=
|type=
|frame=
|craftable=
|patterns=
|level=
|accuracy=
|impact=
|blast radius=
|stability=
|handling=
|reload=
|magazine=
|feed=
|ammo=
|mode=
|rate=
|damage=
|range=
|velocity=
|charge time=
|draw time=
|shield duration=
|charge rate=
|swing speed=
|guard resistance=
|guard efficiency=
|guard endurance=
|aim=
|inventory=
|zoom=
|recoil=
|intensity=
|direction=
|airborne=
|service=
|affiliation=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=
|section3-title=
|section4-title=