Template:Weapon infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "background:{{{fieldBG\|([^\n}]+)}}}; border-bottom:1px solid {{{lineBG\|([^\n}]+)}}};" to "background:{{{fieldBG|$1}}}; border-color:{{{lineBG|$2}}};") |
m (Text replacement - "px;"" to "px"") |
||
Line 11: | Line 11: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{manufacturer|}}}| | {{#if:{{{manufacturer|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 17: | Line 17: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{series|}}}| | {{#if:{{{series|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 23: | Line 23: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 29: | Line 29: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 35: | Line 35: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{variant|}}}| | {{#if:{{{variant|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 44: | Line 44: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 50: | Line 50: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 56: | Line 56: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 62: | Line 62: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{weight|}}}| | {{#if:{{{weight|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 68: | Line 68: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ammotype|}}}| | {{#if:{{{ammotype|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 74: | Line 74: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{feed|}}}| | {{#if:{{{feed|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 80: | Line 80: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{operation|}}}| | {{#if:{{{operation|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 86: | Line 86: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rate|}}}| | {{#if:{{{rate|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 92: | Line 92: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{velocity|}}}| | {{#if:{{{velocity|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 98: | Line 98: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{range|}}}| | {{#if:{{{range|}}}| | ||
{{!}} 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}}};" {{!}} | ||
Line 107: | Line 107: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{service|}}}| | {{#if:{{{service|}}}| | ||
{{!}} 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|}}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | | ||
|}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Weapon {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>{{clear}} | |}<includeonly>{{pagetitle|{{{pagetitle|{{{pagename|{{PAGENAME}}}}} - {{{pagelabel|Weapon {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}}}}</includeonly><noinclude>{{clear}} | ||
<!-- CHANGELOG, 15/10/2011 | <!-- CHANGELOG, 15/10/2011 |
Revision as of 23:12, 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=