Template:Weapon infobox: Difference between revisions

From Halopedia, the Halo wiki

m (That should fix it...)
m (Undo revision 970897 by Vegerot (talk) One does not simply change the example to change the infobox.)
Line 17: Line 17:
{{{manufacturer|}}}
{{{manufacturer|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{series|}}}|
{{#if:{{{series|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
Line 24: Line 23:
{{{series|}}}
{{{series|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
Line 127: Line 125:
{{Weapon Infobox
{{Weapon Infobox
|image=  
|image=  
|known manufacturers=
|manufacturer=
|series=
|series=
|type=
|type=

Revision as of 09:27, February 21, 2012

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=