Difference between revisions of "Template:Infobox weapon"

From Underrail Wiki
Jump to navigation Jump to search
m
m (removing old junk)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOTOC__
+
#REDIRECT [[Template:Infobox item]]
{| style={{Infobox common style}}
 
|-
 
{{#if:{{{example|}}}
 
|{{!}} style="color:white; text-align:center;" colspan="2" {{!}}''This is an example of '''{{PAGENAME}}'''.<br>Its actual stats depend on components used and/or quality.''
 
----
 
|}}
 
|-
 
| 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 -->
 
| 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;" title="Item type" |{{{type|(weapons's type)}}}
 
 
 
|-
 
| style="color:gray;" colspan="2" title="Item description" |{{{description|(weapons's description)}}}
 
 
 
|-
 
| 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 -->
 
| 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="Action point cost" |Action Points: {{{ap|(n AP)}}}
 
 
 
|-
 
| style="color:white;" colspan="2"  colspan="2" title="Maximum and optimal range" |Range: {{{range|n1 (optimal: n2)}}}
 
 
 
|-
 
{{#if:{{{precision|}}}
 
|{{!}} style="color:white;" colspan="2" title="Precision modifies your chance to hit" {{!}}Precision: {{{precision|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{burstprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="Burst precision" {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{cqprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="Close quarters precision" {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
 
|}}
 
 
 
|-
 
{{#if:{{{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="Chance to critically hit" |Critical chance: {{{critchance|n%}}}
 
 
 
|-
 
{{#if:{{{minstr|}}}
 
|{{!}} style="color:white;" colspan="2" title="Minimum strength requirement" {{!}}
 
 
 
 
 
Minimal strength: {{{minstr|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{minskill|}}}
 
|{{!}} style="color:white;" colspan="2" title="Minimum skill requirement" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{ammotype|}}}
 
|{{!}} style="color:white;" colspan="2" title="Type of ammunition used" {{!}}
 
 
 
 
 
Ammo type: {{{ammotype|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{magcap|}}}
 
|{{!}} style="color:white;" colspan="2" title="Magazine ammunition capacity" {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{energy/shot|}}}
 
|{{!}} style="color:white;" colspan="2" title="Energy/shot" {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{energy|}}}
 
|{{!}} style="color:white;" colspan="2" title="Energy weapon's magazine capacity" {{!}}Energy: {{{energy|energy capacity(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{greenstats|}}}
 
|{{!}} style="color:green;" colspan="2" title="Item uses and other stats" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{durability|}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|durability (optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{value|}}}
 
|{{!}} style="color:yellow;" colspan="2" title="Base trading value" {{!}}Value: {{{value|weapons's value}}}
 
|}}
 
|}{{#if:{{{example|}}}|<includeonly>
 
[[Category:Items with example stats]]</includeonly>
 
|}}<noinclude>
 
<br style="clear:both;"/>{{documentation}}</noinclude>
 

Latest revision as of 11:48, 18 October 2013