Template:Weapon Infobox: Difference between revisions

From Sven Co-op
Jump to navigation Jump to search
Simplified the styles.
m Moved infobox heading bg color to css.
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" style="{{#if:6080A0|background: #6080A0|background: #6080A0}}; {{{css|}}}" | {{{{{{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" style="background: #80A0C0" {{!}} '''Basic information'''}}

Revision as of 22:13, 14 September 2018

{{{name}}}
Basic information
Specifications
Usage
 


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=
}}

Display parameters

  • hidep
  • hidet
  • hideu
  • hideg