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 (Moved the other bg colors to css.)
Line 8: Line 8:
 
! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}}
 
! class="infoboxheading" colspan="2" | {{{{{{2|name}}}}}}
 
{{#if:{{{hidep|}}}|{{!}}-|{{!}}-
 
{{#if:{{{hidep|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="background: #80A0C0" {{!}} '''Basic information'''}}
+
! class="infoboxsubheading" colspan="2" {{!}} '''Basic information'''}}
 
  {{#if:{{{manufacturer|}}}|
 
  {{#if:{{{manufacturer|}}}|
 
{{!}}-
 
{{!}}-
Line 34: Line 34:
 
{{!}}-
 
{{!}}-
 
|}} {{#if:{{{hidet|}}}|{{!}}-|{{!}}-
 
|}} {{#if:{{{hidet|}}}|{{!}}-|{{!}}-
! 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. -->

Revision as of 22:15, 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=
| hidep=
| hidet=
| hideu=
| hideg=
}}

1.1 Display parameters

  • hidep
  • hidet
  • hideu
  • hideg