Difference between revisions of "Template:Weapon Infobox"
Jump to navigation
Jump to search
m (Moved the other bg colors to css.) |
m (Removed unused fields, moved noinclude.) |
||
Line 7: | Line 7: | ||
|- | |- | ||
! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}} | ! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}} | ||
− | {{#if:{{{ | + | {{#if:{{{hideb|}}}|{{!}}-|{{!}}- |
! class="infoboxsubheading" colspan="2" {{!}} '''Basic information'''}} | ! class="infoboxsubheading" colspan="2" {{!}} '''Basic information'''}} | ||
{{#if:{{{manufacturer|}}}| | {{#if:{{{manufacturer|}}}| | ||
Line 33: | Line 33: | ||
{{{entity|}}} | {{{entity|}}} | ||
{{!}}- | {{!}}- | ||
− | |}} {{#if:{{{ | + | |}} {{#if:{{{hides|}}}|{{!}}-|{{!}}- |
! class="infoboxsubheading" colspan="2" {{!}} '''Specifications'''}} | ! class="infoboxsubheading" colspan="2" {{!}} '''Specifications'''}} | ||
{{#if:{{{damage|}}}| | {{#if:{{{damage|}}}| | ||
Line 137: | Line 137: | ||
! 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