Template:Weapon infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(135 intermediate revisions by 24 users not shown)
Line 1: Line 1:
{| class="infobox bordered" style="width: 25em; text-align: left; font-size: 95%;"
{{Infobox|start|bg=#A00}}
|+ style="font-size: larger;" | '''{{{name}}}'''
{{Infobox|title|name={{{name|}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
| colspan="2" style="text-align:center;" | [[Image:{{{image}}}|300px| ]]<br>{{{caption}}}
 
|-  
{{Infobox|section|title={{{section1-title|Production overview}}}|bg=#E55|color=#000|entries=
! Data 1:
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
| {{{data1}}}
{{Infobox|entry|title={{{series-title|Model series}}}|content={{{series|}}}}}
|-  
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
! Data 2:
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}}}
| {{{data2|''this text displayed if data2 not defined''}}}
{{Infobox|entry|title={{{variant-title|Variants}}}|content={{{variant|}}}}}
|-  
}}
! Data 3 (data hidden if data3 empty or not defined):
 
| {{{data3|}}}
{{Infobox|section|title={{{section2-title|Specifications}}}|bg=#E55|color=#000|entries=
|-  
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
|}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{Infobox|entry|title={{{ammotype-title|Ammunition type}}}|content={{{ammotype|}}}}}
{{Infobox|entry|title={{{capacity-title|Capacity}}}|content={{{capacity|}}}}}
{{Infobox|entry|title={{{feed-title|Feed system}}}|content={{{feed|}}}}}
{{Infobox|entry|title={{{operation-title|[[wikipedia:Firearm action|Operation]]}}}|content={{{operation|}}}}}
{{Infobox|entry|title={{{rate-title|[[wikipedia:rate of fire|Rate of fire]]}}}|content={{{rate|}}}}}
{{Infobox|entry|title={{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}|content={{{velocity|}}}}}
{{Infobox|entry|title={{{optics-title|Optics}}}|content={{{optics|}}}}}
{{Infobox|entry|title={{{range-title|Effective range}}}|content={{{range|}}}}}
}}
 
{{Infobox|section|title={{{section3-title|Service history}}}|bg=#E55|color=#000|entries=
{{Infobox|entry|title={{{service-title|In service}}}|content={{{service|}}}}}
}}
 
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Weapon}}}}}</includeonly><noinclude>{{clear}}
==Usage instructions==
Copy and paste the following into the article and fill in the fields.
 
<pre>
{{Weapon infobox
|name=
|image=
|manufacturer=
|series=
|type=
|cost=
|variant=
|service=
|length=
|width=
|height=
|weight=
|ammotype=
|capacity=
|feed=
|operation=
|rate=
|velocity=
|optics=
|range=
}}
</pre>
 
==Custom parameters==
The following allows you to alter the title of the sub-sections:
 
<pre>
|section1-title=
|section2-title=
|section3-title=
</pre>
 
[[Category:Infobox templates]]</noinclude>

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=