Difference between revisions of "Template:Weapon Infobox"

From Sven Co-op
Jump to navigation Jump to search
m (Moved infobox heading bg color to css.)
m (Removed unused fields, moved noinclude.)
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
|-  
 
|-  
 
! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}}
 
! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}}
{{#if:{{{hidep|}}}|{{!}}-|{{!}}-
+
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #80A0C0" {{!}} '''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" style="background: #80A0C0" {{!}} '''Specifications'''}}
+
! class="infoboxsubheading" colspan="2" {{!}} '''Specifications'''}}
 
  {{#if:{{{damage|}}}|
 
  {{#if:{{{damage|}}}|
 
{{!}}-
 
{{!}}-
Line 126: Line 126:
 
{{!}}-
 
{{!}}-
 
|}} {{#if:{{{hideu|}}}|{{!}}-|{{!}}-
 
|}} {{#if:{{{hideu|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #80A0C0" {{!}} '''Usage'''}}
+
! class="infoboxsubheading" colspan="2" {{!}} '''Usage'''}}
 
  {{#if:{{{usedby|}}}|
 
  {{#if:{{{usedby|}}}|
 
{{!}}-
 
{{!}}-
Line 135: Line 135:
 
|}}
 
|}}
 
|-
 
|-
! class="infoboxfooter" colspan="2" style="{{#if:6080A0|background: #6080A0|background: #6080A0}}; {{{css|}}}" |  
+
! 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 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