Template:Weapon infobox: Difference between revisions

m
Text replacement - "dummy edit" to "Category:Infobox templates"
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(149 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{{Infobox|start|bg=#A00}}
<tr><td colspan="2"><div id="infoboxinternal">
{{Infobox|title|name={{{name|}}}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#a00;">{{{image|}}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:#a00; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#e55;">'''Production&nbsp;information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Manufacturer</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section1-title|Production overview}}}|bg=#E55|color=#000|entries=
{{{manufacturer|}}}
{{Infobox|entry|title={{{manufacturer-title|Manufacturer}}}|content={{{manufacturer|}}}}}
</td></tr>|1{{{manufacturer|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Model</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{series-title|Model series}}}|content={{{series|}}}}}
{{{model|}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}}}
</td></tr>|1{{{model|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Type</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{cost-title|Cost}}}|content={{{cost|}}}}}
{{{type|}}}
{{Infobox|entry|title={{{variant-title|Variants}}}|content={{{variant|}}}}}
</td></tr>|1{{{type|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Cost</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{cost|}}}
 
</td></tr>|1{{{cost|}}}=}} {{t|1=|1{{{hidet|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#e55;">'''Technical&nbsp;specifications'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Size</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section2-title|Specifications}}}|bg=#E55|color=#000|entries=
{{{size|}}}
{{Infobox|entry|title={{{length-title|Length}}}|content={{{length|}}}}}
</td></tr>|1{{{size|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Capacity</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{width-title|Width}}}|content={{{width|}}}}}
{{{capacity|}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}}}
</td></tr>|1{{{capacity|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rate of Fire</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}}}
{{{rate of fire|}}}
{{Infobox|entry|title={{{ammotype-title|Ammunition type}}}|content={{{ammotype|}}}}}
</td></tr>|1{{{rate of fire|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Range</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{capacity-title|Capacity}}}|content={{{capacity|}}}}}
{{{range|}}}
{{Infobox|entry|title={{{feed-title|Feed system}}}|content={{{feed|}}}}}
</td></tr>|1{{{range|}}}=}} {{t|1=|1{{{hideu|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#e55;">'''Usage'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{operation-title|[[wikipedia:Firearm action|Operation]]}}}|content={{{operation|}}}}}
{{{era|}}}
{{Infobox|entry|title={{{rate-title|[[wikipedia:rate of fire|Rate of fire]]}}}|content={{{rate|}}}}}
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{velocity-title|[[wikipedia:Muzzle velocity|Muzzle velocity]]}}}|content={{{velocity|}}}}}
{{{affiliation|}}}
{{Infobox|entry|title={{{optics-title|Optics}}}|content={{{optics|}}}}}
</td></tr>|1{{{affiliation|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Weapon|[Source]]]</td></tr></table><noinclude>
{{Infobox|entry|title={{{range-title|Effective range}}}|content={{{range|}}}}}
{{clear}}
}}
 
{{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==
==Usage instructions==
Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.
Copy and paste the following into the article and fill in the fields.
<pre><nowiki>
 
{{Weapon
<pre>
| image=
{{Weapon infobox
| name=
|name=
| manufacturer=
|image=
| model=
|manufacturer=
| type=
|series=
| cost=
|type=
| size=
|cost=
| capacity=
|variant=
| rate of fire=
|service=
| range=
|length=
| era=
|width=
| affiliation=
|height=
}}</nowiki></pre>
|weight=
|ammotype=
|capacity=
|feed=
|operation=
|rate=
|velocity=
|optics=
|range=
}}
</pre>
 
==Custom parameters==
The following allows you to alter the title of the sub-sections:


===Display parameters===
<pre>
*hidep
|section1-title=
*hidet
|section2-title=
*hideu
|section3-title=
</pre>


[[Category:Templates|Weapon]]
[[Category:Infobox templates]]</noinclude>
</noinclude>