Difference between revisions of "Template:Infobox weapon"

From Underrail Wiki
Jump to navigation Jump to search
m
(magic)
Line 7: Line 7:
 
|}}
 
|}}
 
|-
 
|-
| rowspan="3" width="50px" height="50px" align="center" valign="center" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Item's icon|link=]]|[[File:Misc_icon.png|full|Default icon|link=]]}}
+
| rowspan="3" width="50px" height="50px" align="center" valign="center" title="{{#if:{{{image|}}}|{{PAGENAME}} icon|Default icon}}" |{{#if:{{{image|}}}|[[File:{{{image}}}|link=]]|[[File:Misc_icon.png|link=]]}}
  
 
|- <!-- color of item name is quality-dependent -->
 
|- <!-- color of item name is quality-dependent -->
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" |{{{name|weapon's name}}}
+
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" title="{{#switch: {{{itemquality}}} | low = Quality: Low | normal = Quality: Normal | high = Quality: High | rarity = Quality: Rarity | artifact = Quality: Artifact | No quality specified }}" |{{{name|(weapon's name)}}}
  
 
|-
 
|-
| style="color:yellow;" |{{{type|weapons's type}}}
+
| style="color:yellow;" title="Item type" |{{{type|(weapons's type)}}}
  
 
|-
 
|-
| style="color:gray;" colspan="2" |{{{description|weapons's description}}}
+
| style="color:gray;" colspan="2" title="Item description" |{{{description|(weapons's description)}}}
  
 
|-
 
|-
| style="color:white;" colspan="2" |Damage: {{{damage|}}}
+
| style="color:white;" colspan="2" title="Damage per shot and damage type" |Damage: {{{damage|n1-n2 (Damage type)}}}
  
 
|- <!-- impact speed color depends on "impactspeed" value -->
 
|- <!-- impact speed color depends on "impactspeed" value -->
| style="color:white;" colspan="2" |Impact Speed: <font color="{{#switch: {{{impactspeed}}} | Very Low = teal  | Low = teal | Medium = gray | High = DarkSalmon | Very High = DarkSalmon | gray }}">{{{impactspeed|}}}</font>
+
| style="color:white;" colspan="2"  title="Impact speed determines shield penetration" |Impact Speed: <font color="{{#switch: {{{impactspeed}}} | Very Low = teal  | Low = teal | Medium = gray | High = DarkSalmon | Very High = DarkSalmon | gray }}">{{{impactspeed|speed}}}</font>
  
 
|-
 
|-
| style="color:white;" colspan="2" |Action Points: {{{ap|}}}
+
| style="color:white;" colspan="2" title="Action point cost" |Action Points: {{{ap|(n AP)}}}
  
 
|-
 
|-
| style="color:white;" colspan="2"  colspan="2" |Range: {{{range|}}}
+
| style="color:white;" colspan="2"  colspan="2" title="Maximum and optimal range" |Range: {{{range|n1 (optimal: n2)}}}
  
 
|-
 
|-
 
{{#if:{{{precision|}}}
 
{{#if:{{{precision|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Precision: {{{precision|(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Precision modifies your chance to hit" {{!}}Precision: {{{precision|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{burstprec.|}}}
 
{{#if:{{{burstprec.|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Burst precision: {{{burstprec.|(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Burst precision" {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{cqprec.|}}}
 
{{#if:{{{cqprec.|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
+
|{{!}} style="color:white;" colspan="2" title="Close quarters precision" {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{moveprec.|}}}
 
{{#if:{{{moveprec.|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Move and shoot precision: <font color="red">{{{moveprec.|(optional)}}}</font>
+
|{{!}} style="color:white;" colspan="2" title="Move and shoot precision" {{!}}Move and shoot precision: <font color="red">{{{moveprec.|(optional)}}}</font>
 
|}}
 
|}}
  
 
|-
 
|-
| style="color:white;" colspan="2" |Critical chance: {{{critchance|}}}
+
| style="color:white;" colspan="2" title="Chance to critically hit" |Critical chance: {{{critchance|n%}}}
  
 
|-
 
|-
 
{{#if:{{{minstr|}}}
 
{{#if:{{{minstr|}}}
|{{!}} style="color:white;" colspan="2" {{!}}
+
|{{!}} style="color:white;" colspan="2" title="Minimum strength requirement" {{!}}
  
  
Line 63: Line 63:
 
|-
 
|-
 
{{#if:{{{minskill|}}}
 
{{#if:{{{minskill|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Minimum skill requirement" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{ammotype|}}}
 
{{#if:{{{ammotype|}}}
|{{!}} style="color:white;" colspan="2" {{!}}
+
|{{!}} style="color:white;" colspan="2" title="Type of ammunition used" {{!}}
  
  
Line 76: Line 76:
 
|-
 
|-
 
{{#if:{{{magcap|}}}
 
{{#if:{{{magcap|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Magazine capacity: {{{magcap|(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Magazine ammunition capacity" {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{energy/shot|}}}
 
{{#if:{{{energy/shot|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Energy/shot" {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{energy|}}}
 
{{#if:{{{energy|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Energy: {{{energy|energy capacity(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Energy weapon's magazine capacity" {{!}}Energy: {{{energy|energy capacity(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{greenstats|}}}
 
{{#if:{{{greenstats|}}}
|{{!}} style="color:green;" colspan="2" {{!}}{{{greenstats|uses and other green stats (optional)}}}
+
|{{!}} style="color:green;" colspan="2" title="Item uses" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
 
{{#if:{{{value|}}}
 
{{#if:{{{value|}}}
|{{!}} style="color:yellow;" colspan="2" {{!}}Value: {{{value|weapons's value}}}
+
|{{!}} style="color:yellow;" colspan="2" title="Base trading value" {{!}}Value: {{{value|weapons's value}}}
 
|}}
 
|}}
 
|}{{#if:{{{example|}}}|<includeonly>
 
|}{{#if:{{{example|}}}|<includeonly>

Revision as of 09:20, 2 August 2013

Misc icon.png
(weapon's name)
(weapons's type)
(weapons's description)
Damage: n1-n2 (Damage type)
Impact Speed: speed
Action Points: (n AP)
Range: n1 (optimal: n2)
Critical chance: n%


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

Template:Infobox weapon/doc