Difference between revisions of "Template:Weapon Infobox"

From Sven Co-op
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:{{{hidep|}}}|{{!}}-|{{!}}-
+
{{#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:{{{hidet|}}}|{{!}}-|{{!}}-
+
|}} {{#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>
  
<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=
| hidep=
+
| hideb=
| hidet=
+
| hides=
 
| hideu=
 
| hideu=
| hideg=
 
 
}}</nowiki></pre>
 
}}</nowiki></pre>
  
 
===Display parameters===
 
===Display parameters===
*hidep
+
*hideb
*hidet
+
*hides
 
*hideu
 
*hideu
*hideg
 
  
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Weapons]]
 
[[Category:Weapons]]
 
</noinclude>
 
</noinclude>

Latest revision as of 23: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