Difference between revisions of "Template:Infobox weapon"

From Underrail Wiki
Jump to navigation Jump to search
m
(small bugfix)
Line 10: Line 10:
  
 
|- <!-- 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;" 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:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" title="{{#switch: {{{itemquality}}} | low = Item quality: Low | normal = Item quality: Normal | high = Item quality: High | rarity = Item quality: Rarity | artifact = Item quality: Artifact | No quality specified }}" |{{{name|(weapon's name)}}}
  
 
|-
 
|-
Line 22: Line 22:
  
 
|- <!-- impact speed color depends on "impactspeed" value -->
 
|- <!-- impact speed color depends on "impactspeed" value -->
| 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"  title="Impact speed determines shield penetration" |<br>Impact Speed: <font color="{{#switch: {{{impactspeed}}} | Very Low = teal  | Low = teal | Medium = gray | High = DarkSalmon | Very High = DarkSalmon | gray }}">{{{impactspeed|speed}}}</font>
  
 
|-
 
|-
Line 31: Line 31:
  
 
|-
 
|-
{{#if:{{{precision|}}}
+
{{#if:<noinclude>string</noinclude>{{{precision|}}}
 
|{{!}} style="color:white;" colspan="2" title="Precision modifies your chance to hit" {{!}}Precision: {{{precision|(optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Precision modifies your chance to hit" {{!}}Precision: {{{precision|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{burstprec.|}}}
+
{{#if:<noinclude>string</noinclude>{{{burstprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="Burst precision" {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Burst precision" {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{cqprec.|}}}
+
{{#if:<noinclude>string</noinclude>{{{cqprec.|}}}
|{{!}} style="color:white;" colspan="2" title="Close quarters precision" {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
+
|{{!}} style="color:white;" colspan="2" title="CQB precision penalty" {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{moveprec.|}}}
+
{{#if:<noinclude>string</noinclude>{{{moveprec.|}}}
|{{!}} 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" title="Unfocused precision penalty" {{!}}Move and shoot precision: <font color="red">{{{moveprec.|(optional)}}}</font>
 
|}}
 
|}}
  
Line 54: Line 54:
  
 
|-
 
|-
{{#if:{{{minstr|}}}
+
{{#if:<noinclude>string</noinclude>{{{minstr|}}}
|{{!}} style="color:white;" colspan="2" title="Minimum strength requirement" {{!}}
+
|{{!}} style="color:white;" colspan="2" title="Minimum strength requirement" {{!}}<br>Minimal strength: {{{minstr|(optional)}}}
 
 
 
 
Minimal strength: {{{minstr|(optional)}}}
 
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{minskill|}}}
+
{{#if:<noinclude>string</noinclude>{{{minskill|}}}
 
|{{!}} style="color:white;" colspan="2" title="Minimum skill requirement" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Minimum skill requirement" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{ammotype|}}}
+
{{#if:<noinclude>string</noinclude>{{{ammotype|}}}
|{{!}} style="color:white;" colspan="2" title="Type of ammunition used" {{!}}
+
|{{!}} style="color:white;" colspan="2" title="Type of ammunition used" {{!}}<br>Ammo type: {{{ammotype|(optional)}}}
 
 
 
 
Ammo type: {{{ammotype|(optional)}}}
 
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{magcap|}}}
+
{{#if:<noinclude>string</noinclude>{{{magcap|}}}
 
|{{!}} style="color:white;" colspan="2" title="Magazine ammunition capacity" {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Magazine ammunition capacity" {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{energy/shot|}}}
+
{{#if:<noinclude>string</noinclude>{{{greenstats|}}}
|{{!}} style="color:white;" colspan="2" title="Energy/shot" {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
+
|{{!}} style="color:green;" colspan="2" title="Item uses and other stats" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{energy|}}}
+
{{#if:<noinclude>string</noinclude>{{{energy/shot|}}}
|{{!}} style="color:white;" colspan="2" title="Energy weapon's magazine capacity" {{!}}Energy: {{{energy|energy capacity(optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Energy/shot" {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{greenstats|}}}
+
{{#if:<noinclude>string</noinclude>{{{energy|}}}
|{{!}} style="color:green;" colspan="2" title="Item uses and other stats" {{!}}{{{greenstats|uses and other green stats (optional)}}}
+
|{{!}} style="color:white;" colspan="2" title="Energy weapon's magazine capacity" {{!}}Energy: {{{energy|energy capacity (optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{durability|}}}
+
{{#if:<noinclude>string</noinclude>{{{durability|}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|durability (optional)}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|durability (optional)}}}
 
|}}
 
|}}
  
 
|-
 
|-
{{#if:{{{value|}}}
+
{{#if:<noinclude>string</noinclude>{{{value|}}}
 
|{{!}} style="color:yellow;" colspan="2" title="Base trading value" {{!}}Value: {{{value|weapons's value}}}
 
|{{!}} style="color:yellow;" colspan="2" title="Base trading value" {{!}}Value: {{{value|weapons's value}}}
 
|}}
 
|}}

Revision as of 18:05, 10 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)
Precision: (optional)
Burst precision: (optional)
Close quarters precision: (optional)
Move and shoot precision: (optional)
Critical chance: n%

Minimal strength: (optional)
Minimal weapon skill: (optional)

Ammo type: (optional)
Magazine capacity: (optional)
uses and other green stats (optional)
Energy usage per shot: (optional)
Energy: energy capacity (optional)
Durability: durability (optional)
Value: weapons's value


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