Difference between revisions of "Template:Weapon Infobox"
Jump to navigation
Jump to search
(Simplified the styles.) |
m (Removed unused fields, moved noinclude.) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:#AA0000|background: #ffffff|background: #AA0000}}}}" | {{{image2|}}} | | class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:#AA0000|background: #ffffff|background: #AA0000}}}}" | {{{image2|}}} | ||
|- | |- | ||
| − | ! class="infoboxheading" colspan="2 | + | ! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}} |
| − | {{#if:{{{ | + | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- |
| − | ! class="infoboxsubheading" colspan="2 | + | ! class="infoboxsubheading" colspan="2" {{!}} '''Basic information'''}} |
{{#if:{{{manufacturer|}}}| | {{#if:{{{manufacturer|}}}| | ||
{{!}}- | {{!}}- | ||
| Line 33: | Line 33: | ||
{{{entity|}}} | {{{entity|}}} | ||
{{!}}- | {{!}}- | ||
| − | |}} {{#if:{{{ | + | |}} {{#if:{{{hides|}}}|{{!}}-|{{!}}- |
| − | ! class="infoboxsubheading" colspan="2 | + | ! class="infoboxsubheading" colspan="2" {{!}} '''Specifications'''}} |
{{#if:{{{damage|}}}| | {{#if:{{{damage|}}}| | ||
{{!}}- | {{!}}- | ||
| Line 126: | Line 126: | ||
{{!}}- | {{!}}- | ||
|}} {{#if:{{{hideu|}}}|{{!}}-|{{!}}- | |}} {{#if:{{{hideu|}}}|{{!}}-|{{!}}- | ||
| − | ! class="infoboxsubheading" colspan="2 | + | ! class="infoboxsubheading" colspan="2" {{!}} '''Usage'''}} |
{{#if:{{{usedby|}}}| | {{#if:{{{usedby|}}}| | ||
{{!}}- | {{!}}- | ||
| Line 135: | Line 135: | ||
|}} | |}} | ||
|- | |- | ||
| − | ! class="infoboxfooter" colspan="2 | + | ! class="infoboxfooter" colspan="2" | |
|} | |} | ||
| − | </div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --> | + | </div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude> |
| − | |||
==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 code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page. | ||
| Line 169: | Line 168: | ||
| underwater= | | underwater= | ||
| usedby= | | usedby= | ||
| − | | | + | | hideb= |
| − | | | + | | hides= |
| hideu= | | hideu= | ||
| − | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
===Display parameters=== | ===Display parameters=== | ||
| − | * | + | *hideb |
| − | * | + | *hides |
*hideu | *hideu | ||
| − | |||
[[Category:Infoboxes]] | [[Category:Infoboxes]] | ||
[[Category:Weapons]] | [[Category:Weapons]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 22:58, 14 September 2018
| {{{name}}} | |
|---|---|
| Basic information | |
| Specifications | |
| Usage | |
1 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.
{{Weapon_Infobox
| image=
| image2=
| name=
| manufacturer=
| model=
| type=
| entity=
| damage=
| magazine=
| magtype=
| maxammo=
| fire=
| ammotype=
| category=
| operation=
| rate of fire=
| recoil=
| spread=
| projectile speed=
| accuracy=
| range=
| reload=
| underwater=
| usedby=
| hideb=
| hides=
| hideu=
}}
1.1 Display parameters
- hideb
- hides
- hideu