Template:Weapon infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "style="[^"\n]+" \| " to "style="text-align:center; line-height:10px" | ") |
m (Text replacement - "#999999" to "#999") |
||
Line 4: | Line 4: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|# | ! style="background:{{{imageBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
Line 11: | Line 11: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{manufacturer|}}}| | {{#if:{{{manufacturer|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{manufacturer-title|Manufacturer}}}''': | '''{{{manufacturer-title|Manufacturer}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{manufacturer|}}} | {{{manufacturer|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{series|}}}| | {{#if:{{{series|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{series-title|Model series}}}''': | '''{{{series-title|Model series}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{series|}}} | {{{series|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{type-title|Type}}}''': | '''{{{type-title|Type}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{type|}}} | {{{type|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{cost-title|Cost}}}''': | '''{{{cost-title|Cost}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{cost|}}} | {{{cost|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{variant|}}}| | {{#if:{{{variant|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{variant-title|Variants}}}''': | '''{{{variant-title|Variants}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{variant|}}} | {{{variant|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 44: | Line 44: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{length|}}}| | {{#if:{{{length|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{length-title|Length}}}''': | '''{{{length-title|Length}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length|}}} | {{{length|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{width-title|Width}}}''': | '''{{{width-title|Width}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{width|}}} | {{{width|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{height-title|Height}}}''': | '''{{{height-title|Height}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{weight|}}}| | {{#if:{{{weight|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{weight-title|Weight}}}''': | '''{{{weight-title|Weight}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{weight|}}} | {{{weight|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ammotype|}}}| | {{#if:{{{ammotype|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{ammotype-title|Ammunition type}}}''': | '''{{{ammotype-title|Ammunition type}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ammotype|}}} | {{{ammotype|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{feed|}}}| | {{#if:{{{feed|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{feed-title|Feed system}}}''': | '''{{{feed-title|Feed system}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{feed|}}} | {{{feed|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{operation|}}}| | {{#if:{{{operation|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{operation-title|[[wikipedia:Firearm action|Operation]]}}}''': | '''{{{operation-title|[[wikipedia:Firearm action|Operation]]}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{operation|}}} | {{{operation|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rate|}}}| | {{#if:{{{rate|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{rate|}}} | {{{rate|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{velocity|}}}| | {{#if:{{{velocity|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{velocity|}}} | {{{velocity|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{range|}}}| | {{#if:{{{range|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{range-title|Effective range}}}''': | '''{{{range-title|Effective range}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{range|}}} | {{{range|}}} | ||
{{!}}-}} | {{!}}-}} | ||
Line 107: | Line 107: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{service|}}}| | {{#if:{{{service|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
'''{{{service-title|In service}}}''': | '''{{{service-title|In service}}}''': | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{service|}}} | {{{service|}}} | ||
{{!}}-}} | {{!}}-}} |
Revision as of 10:09, September 15, 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=