Template:Weapon infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "}}}}} {{!}}-" to "}}} }} |-") |
m (Text replacement - "{{!}}-}}" to "}} |-") |
||
Line 15: | Line 15: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 21: | Line 22: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 27: | Line 29: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 33: | Line 36: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 39: | Line 43: | ||
{{!}} 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|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section3-title|Specifications}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section3-title|Specifications}}} | ||
Line 49: | Line 54: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 55: | Line 61: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 61: | Line 68: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 67: | Line 75: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 73: | Line 82: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 79: | Line 89: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 85: | Line 96: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 91: | Line 103: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 97: | Line 110: | ||
{{!}} 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|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}} | ||
Line 103: | Line 117: | ||
{{!}} 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|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Service history}}} | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#000}}}; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Service history}}} | ||
Line 113: | Line 128: | ||
{{!}} 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" | | ||
|}<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}} |
Revision as of 09:56, 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=