Difference between revisions of "Template:Infobox ammo"

From Underrail Wiki
Jump to navigation Jump to search
(new template)
 
(magic)
Line 2: Line 2:
 
{| style={{Infobox common style}}
 
{| style={{Infobox common style}}
 
|-
 
|-
| rowspan="3" width="50px" height="50px" align="center" valign="center" |[[File:Ammo_{{{caliber|5mm}}}{{#switch: {{{type}}}
+
| rowspan="3" width="50px" height="50px" align="center" valign="center" title="{{PAGENAME}} icon" |[[File:Ammo_{{{caliber|5mm}}}{{#switch: {{{type}}}
 
| Standard =
 
| Standard =
 
| JHP = _jhp
 
| JHP = _jhp
 
| W2C = _w2c
 
| W2C = _w2c
|}}.png|full|Ammo icon|link=]]
+
|}}.png|link=]]
  
 
|- <!-- color of ammo name is type-dependent -->
 
|- <!-- color of ammo name is type-dependent -->
| style="color:{{#switch: {{{type}}} | Standard = white | JHP = lightgreen | W2C = lightgreen | white }}; font-weight:bold;" |{{{caliber|(caliber)}}} {{{type|(type)}}} Round
+
| style="color:{{#switch: {{{type}}} | Standard = white | JHP = lightgreen | W2C = lightgreen | white }}; font-weight:bold;" title="{{#switch: {{{type}}} | Standard = Quality: Normal | JHP | W2C = Quality: High | No quality specified }}" |{{{caliber|(caliber)}}} {{{type|(type)}}} Round
  
 
|-
 
|-
| style="color:yellow;" |Ammo
+
| style="color:yellow;" title="Item type" |Ammo
  
 
|-
 
|-
| style="color:gray;" colspan="2" |{{#switch: {{{type}}}
+
| style="color:gray;" colspan="2" title="Item description" |{{#switch: {{{type}}}
 
| Standard = This is a standard {{{caliber|(caliber)}}} round.
 
| Standard = This is a standard {{{caliber|(caliber)}}} round.
 
| JHP = This is a {{{caliber|(caliber)}}} jacketed hollow point round.
 
| JHP = This is a {{{caliber|(caliber)}}} jacketed hollow point round.
Line 22: Line 22:
  
 
|-
 
|-
| style="color:green;" colspan="2" |{{#switch: {{{type}}}
+
| style="color:green;" colspan="2" title="Item uses and other stats" |{{#switch: {{{type}}}
 
| JHP = - Incurs 150% of mechanical damage resistance and threshold, but the damage that penetrates the armor is increased by 25% against organic targets.
 
| JHP = - Incurs 150% of mechanical damage resistance and threshold, but the damage that penetrates the armor is increased by 25% against organic targets.
 
| W2C = - Ignores 50% of the target's mechanical damage resistance and threshold.
 
| W2C = - Ignores 50% of the target's mechanical damage resistance and threshold.
Line 28: Line 28:
  
 
Use: Reload a weapon with {{{caliber|(caliber)}}} {{{type|(type)}}} rounds.<br>(AP: 4)
 
Use: Reload a weapon with {{{caliber|(caliber)}}} {{{type|(type)}}} rounds.<br>(AP: 4)
 
  
 
Use: Reload the current weapon with {{{caliber|(caliber)}}} {{{type|(type)}}} rounds.<br>(AP: 4)
 
Use: Reload the current weapon with {{{caliber|(caliber)}}} {{{type|(type)}}} rounds.<br>(AP: 4)
 
  
 
Use: Loads a single {{{caliber|(caliber)}}} {{{type|(type)}}} round into a weapon. Can only be performed out of combat.<br>(AP: 4)
 
Use: Loads a single {{{caliber|(caliber)}}} {{{type|(type)}}} round into a weapon. Can only be performed out of combat.<br>(AP: 4)
 
  
 
Use: Loads a single {{{caliber|(caliber)}}} {{{type|(type)}}} round into the current weapon. Can only be performed out of combat.<br>(AP: 4)
 
Use: Loads a single {{{caliber|(caliber)}}} {{{type|(type)}}} round into the current weapon. Can only be performed out of combat.<br>(AP: 4)
  
 
|-
 
|-
| style="color:yellow;" colspan="2" |Value: {{{value|(ammo value)}}}
+
| style="color:yellow;" colspan="2" title="Base trading value" |Value: {{{value|(ammo value)}}}
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>
 
|}<noinclude><br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 10:35, 2 August 2013

5mm Standard Round.png
(caliber) (type) Round
Ammo
(caliber) round, no type specified.

Use: Reload a weapon with (caliber) (type) rounds.
(AP: 4)

Use: Reload the current weapon with (caliber) (type) rounds.
(AP: 4)

Use: Loads a single (caliber) (type) round into a weapon. Can only be performed out of combat.
(AP: 4)

Use: Loads a single (caliber) (type) round into the current weapon. Can only be performed out of combat.
(AP: 4)

Value: (ammo value)


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_ammo/doc to view this documentation. (edit) (How does this work?)

Template:Infobox ammo/doc