Template:Weapon infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
Line 41: Line 41:
{{!}}-}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Service history}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section2-title|Service history}}}}}
{{!}}-
{{!}}-
{{#if:{{{service|}}}|
{{#if:{{{service|}}}|
Line 56: Line 56:
{{!}}-}}
{{!}}-}}
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section1-title|Specifications}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#000}}}; text-align:center; background:{{{sectionBG|#EE5555}}}" {{!}} {{{section3-title|Specifications}}}}}
{{!}}-
{{!}}-
{{#if:{{{length|}}}|
{{#if:{{{length|}}}|

Revision as of 13:46, December 9, 2011

Weapon infobox
Production overview
Service history
Specifications
[Source]

Usage

Copy and paste the following into the article and fill in the fields.

{{Weapon Infobox
|image= 
|manufacturer=
|series=
|type=
|cost=
|variant=
|service=
|affiliation=
|weight=
|length=
|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=