Template:Weapon Infobox: Difference between revisions

From Sven Co-op
Jump to navigation Jump to search
mNo edit summary
Simplified the styles.
Line 11: Line 11:
  {{#if:{{{manufacturer|}}}|
  {{#if:{{{manufacturer|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Manufacturer
{{!}} class="infoboxlabel" {{!}} Manufacturer
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{manufacturer|}}}
{{{manufacturer|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{model|}}}|
|}} {{#if:{{{model|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Model
{{!}} class="infoboxlabel" {{!}} Model
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{model|}}}
{{{model|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{type|}}}|
|}} {{#if:{{{type|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Type
{{!}} class="infoboxlabel" {{!}} Type
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{type|}}}
{{{type|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{entity|}}}|
|}} {{#if:{{{entity|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Entity
{{!}} class="infoboxlabel" {{!}} Entity
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{entity|}}}
{{{entity|}}}
{{!}}-
{{!}}-
Line 37: Line 37:
  {{#if:{{{damage|}}}|
  {{#if:{{{damage|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Damage
{{!}} class="infoboxlabel" {{!}} Damage
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{damage|}}}
{{{damage|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{magazine|}}}|
|}} {{#if:{{{magazine|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Ammo
{{!}} class="infoboxlabel" {{!}} Ammo
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{magazine|}}}
{{{magazine|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{magtype|}}}|
|}} {{#if:{{{magtype|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Magazine/reload type
{{!}} class="infoboxlabel" {{!}} Magazine/reload type
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{magtype|}}}
{{{magtype|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{maxammo|}}}|
|}} {{#if:{{{maxammo|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Max ammo
{{!}} class="infoboxlabel" {{!}} Max ammo
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{maxammo|}}}
{{{maxammo|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{fire|}}}|
|}} {{#if:{{{fire|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Modes
{{!}} class="infoboxlabel" {{!}} Modes
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{fire|}}}
{{{fire|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{category|}}}|
|}} {{#if:{{{category|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} HUD category
{{!}} class="infoboxlabel" {{!}} HUD category
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{category|}}}
{{{category|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{ammotype|}}}|
|}} {{#if:{{{ammotype|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Ammo type
{{!}} class="infoboxlabel" {{!}} Ammo type
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{ammotype|}}}
{{{ammotype|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{rate of fire|}}}|
|}} {{#if:{{{rate of fire|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rate of fire
{{!}} class="infoboxlabel" {{!}} Rate of fire
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{rate of fire|}}}
{{{rate of fire|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{recoil|}}}|
|}} {{#if:{{{recoil|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Recoil
{{!}} class="infoboxlabel" {{!}} Recoil
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{recoil|}}}
{{{recoil|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{spread|}}}|
|}} {{#if:{{{spread|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Spread
{{!}} class="infoboxlabel" {{!}} Spread
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{spread|}}}
{{{spread|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{projectile speed|}}}|
|}} {{#if:{{{projectile speed|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Projectile speed
{{!}} class="infoboxlabel" {{!}} Projectile speed
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{projectile speed|}}}
{{{projectile speed|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{accuracy|}}}|
|}} {{#if:{{{accuracy|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Accuracy
{{!}} class="infoboxlabel" {{!}} Accuracy
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{accuracy|}}}
{{{accuracy|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{range|}}}|
|}} {{#if:{{{range|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Range
{{!}} class="infoboxlabel" {{!}} Range
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{range|}}}
{{{range|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{reload|}}}|
|}} {{#if:{{{reload|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Reload time
{{!}} class="infoboxlabel" {{!}} Reload time
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{reload|}}}
{{{reload|}}}
{{!}}-
{{!}}-
|}} {{#if:{{{underwater|}}}|
|}} {{#if:{{{underwater|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Usable underwater
{{!}} class="infoboxlabel" {{!}} Usable underwater
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{underwater|}}}
{{{underwater|}}}
{{!}}-
{{!}}-
Line 129: Line 129:
  {{#if:{{{usedby|}}}|
  {{#if:{{{usedby|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Used by
{{!}} class="infoboxlabel" {{!}} Used by
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" {{!}}
{{{usedby|}}}
{{{usedby|}}}
{{!}}-
{{!}}-

Revision as of 22:09, 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