Template:Weapon infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "border-color:{{{lineBG\|([^\n}]+)}}}" {{!}} {{{image\|}}}" to "border-bottom:1px solid {{{lineBG|$1}}}" {{!}} {{{image|}}}") |
m (Text replacement - "|}}} {{!}}-}}" to "}}} {{!}}-}}") |
||
Line 13: | Line 13: | ||
{{{manufacturer-title|Manufacturer}}}: | {{{manufacturer-title|Manufacturer}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{manufacturer | {{{manufacturer}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{series|}}}| | {{#if:{{{series|}}}| | ||
Line 19: | Line 19: | ||
{{{series-title|Model series}}}: | {{{series-title|Model series}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{series | {{{series}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
Line 25: | Line 25: | ||
{{{type-title|Type}}}: | {{{type-title|Type}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{type | {{{type}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{cost|}}}| | {{#if:{{{cost|}}}| | ||
Line 31: | Line 31: | ||
{{{cost-title|Cost}}}: | {{{cost-title|Cost}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{cost | {{{cost}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{variant|}}}| | {{#if:{{{variant|}}}| | ||
Line 37: | Line 37: | ||
{{{variant-title|Variants}}}: | {{{variant-title|Variants}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{variant | {{{variant}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hideb|}}}|{{!}}-|{{!}}- | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- | ||
Line 46: | Line 46: | ||
{{{length-title|Length}}}: | {{{length-title|Length}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{length | {{{length}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{width|}}}| | {{#if:{{{width|}}}| | ||
Line 52: | Line 52: | ||
{{{width-title|Width}}}: | {{{width-title|Width}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{width | {{{width}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
Line 58: | Line 58: | ||
{{{height-title|Height}}}: | {{{height-title|Height}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{height | {{{height}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{weight|}}}| | {{#if:{{{weight|}}}| | ||
Line 64: | Line 64: | ||
{{{weight-title|Weight}}}: | {{{weight-title|Weight}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{weight | {{{weight}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{ammotype|}}}| | {{#if:{{{ammotype|}}}| | ||
Line 70: | Line 70: | ||
{{{ammotype-title|Ammunition type}}}: | {{{ammotype-title|Ammunition type}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{ammotype | {{{ammotype}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{feed|}}}| | {{#if:{{{feed|}}}| | ||
Line 76: | Line 76: | ||
{{{feed-title|Feed system}}}: | {{{feed-title|Feed system}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{feed | {{{feed}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{operation|}}}| | {{#if:{{{operation|}}}| | ||
Line 82: | Line 82: | ||
{{{operation-title|[[wikipedia:Firearm action|Operation]]}}}: | {{{operation-title|[[wikipedia:Firearm action|Operation]]}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{operation | {{{operation}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{rate|}}}| | {{#if:{{{rate|}}}| | ||
Line 88: | Line 88: | ||
{{{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|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{rate | {{{rate}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{velocity|}}}| | {{#if:{{{velocity|}}}| | ||
Line 94: | Line 94: | ||
{{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}: | {{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{velocity | {{{velocity}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{range|}}}| | {{#if:{{{range|}}}| | ||
Line 100: | Line 100: | ||
{{{range-title|Effective range}}}: | {{{range-title|Effective range}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{range | {{{range}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{hidec|}}}|{{!}}-|{{!}}- | {{#if:{{{hidec|}}}|{{!}}-|{{!}}- | ||
Line 109: | Line 109: | ||
{{{service-title|In service}}}: | {{{service-title|In service}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | {{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}} | ||
{{{service | {{{service}}} | ||
{{!}}-}} | {{!}}-}} | ||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | |
Revision as of 08:27, October 18, 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=