Template:Weapon infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "px;"" to "px"") |
m (Text replacement - "}}};"" to "}}}"") |
||
Line 1: | Line 1: | ||
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#AA0000}}}; color:{{{color1|#000}}} | {| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|#AA0000}}}; color:{{{color1|#000}}}" | ||
{{!}}- | {{!}}- | ||
! 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|}}}| | ||
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}} | ! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 13: | Line 13: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{manufacturer-title|Manufacturer}}}''': | '''{{{manufacturer-title|Manufacturer}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{manufacturer|}}} | {{{manufacturer|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 19: | Line 19: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{series-title|Model series}}}''': | '''{{{series-title|Model series}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{series|}}} | {{{series|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 25: | Line 25: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{type-title|Type}}}''': | '''{{{type-title|Type}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{type|}}} | {{{type|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 31: | Line 31: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{cost-title|Cost}}}''': | '''{{{cost-title|Cost}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{cost|}}} | {{{cost|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 37: | Line 37: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{variant-title|Variants}}}''': | '''{{{variant-title|Variants}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{variant|}}} | {{{variant|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 46: | Line 46: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{length-title|Length}}}''': | '''{{{length-title|Length}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{length|}}} | {{{length|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 52: | Line 52: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{width-title|Width}}}''': | '''{{{width-title|Width}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{width|}}} | {{{width|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 58: | Line 58: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{height-title|Height}}}''': | '''{{{height-title|Height}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 64: | Line 64: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{weight-title|Weight}}}''': | '''{{{weight-title|Weight}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{weight|}}} | {{{weight|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 70: | Line 70: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{ammotype-title|Ammunition type}}}''': | '''{{{ammotype-title|Ammunition type}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{ammotype|}}} | {{{ammotype|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 76: | Line 76: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{feed-title|Feed system}}}''': | '''{{{feed-title|Feed system}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{feed|}}} | {{{feed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 82: | Line 82: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{operation-title|[[wikipedia:Firearm action|Operation]]}}}''': | '''{{{operation-title|[[wikipedia:Firearm action|Operation]]}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{operation|}}} | {{{operation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 88: | Line 88: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{rate-title|[[wikipedia:rate of fire|Rate of fire]]}}}''': | '''{{{rate-title|[[wikipedia:rate of fire|Rate of fire]]}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{rate|}}} | {{{rate|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 94: | Line 94: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}''': | '''{{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{velocity|}}} | {{{velocity|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 100: | Line 100: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{range-title|Effective range}}}''': | '''{{{range-title|Effective range}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{range|}}} | {{{range|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 109: | Line 109: | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}; width:100px" {{!}} | ||
'''{{{service-title|In service}}}''': | '''{{{service-title|In service}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999999}}}" {{!}} | ||
{{{service|}}} | {{{service|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 23:20, September 14, 2022
Weapon infobox | |
---|---|
Production overview | |
Specifications | |
Service history | |
Usage
Copy and paste the following into the article and fill in the fields.
{{Weapon infobox |name= |image= |manufacturer= |series= |type= |cost= |variant= |service= |length= |width= |height= |weight= |ammotype= |feed= |operation= |rate= |velocity= |range= }}
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=
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)
|hidea= |hideb= |hidec=