Template:Weapon infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Added weapon ammo class (e.g. Kinetic))
Tags: Reverted Mobile edit
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(4 intermediate revisions by 3 users not shown)
Line 17: Line 17:
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{Infobox|entry|title={{{ammotype-title|Ammunition type}}}|content={{{ammotype|}}}}}
{{Infobox|entry|title={{{ammotype-title|Ammunition type}}}|content={{{ammotype|}}}}}
{{Infobox|entry|title={{{ammoclass-title|Ammunition class}}}|content={{#switch:{{{ammoclass|}}}
|kinetic=[[File:HI Kinetic.png|x23px]] [[Weapon type#Kinetic|Kinetic]]
|plasma=[[File:HI Plasma.png|x23px]] [[Weapon type#Plasma|Plasma]]
|shock=[[File:HI Shock.png|x23px]] [[Weapon type#Shock|Shock]]
|hardlight=[[File:HI Hardlight.png|x23px]] [[Weapon type#Hardlight|Hardlight]]
|power=[[File:HI Power.png|x23px]] [[Weapon type#Power Weapon|Power]]
|#default={{{ammoclass|}}}}}}}
{{Infobox|entry|title={{{capacity-title|Capacity}}}|content={{{capacity|}}}}}
{{Infobox|entry|title={{{capacity-title|Capacity}}}|content={{{capacity|}}}}}
{{Infobox|entry|title={{{feed-title|Feed system}}}|content={{{feed|}}}}}
{{Infobox|entry|title={{{feed-title|Feed system}}}|content={{{feed|}}}}}
Line 38: Line 31:


{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Weapon}}}}}</includeonly><noinclude>{{clear}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Weapon}}}}}</includeonly><noinclude>{{clear}}
==Usage==
==Usage instructions==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.


Line 56: Line 49:
|weight=
|weight=
|ammotype=
|ammotype=
|ammoclass=
|capacity=
|capacity=
|feed=
|feed=

Latest revision as of 11:11, June 14, 2024

Weapon infobox
 

Usage instructions

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=
|capacity=
|feed=
|operation=
|rate=
|velocity=
|optics=
|range=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|section1-title=
|section2-title=
|section3-title=