Difference between revisions of "Template:Infobox weapon"

From Underrail Wiki
Jump to navigation Jump to search
m
m (removing old junk)
 
(9 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" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Item's icon|link=]]|[[File:Misc_icon.png|full|Default icon|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;" |{{{name|weapon's name}}}
 
 
 
|-
 
| style="color:yellow;" |{{{type|weapons's type}}}
 
 
 
|-
 
| style="color:gray;" colspan="2" |{{{description|weapons's description}}}
 
 
 
|-
 
| style="color:white;" colspan="2"  |Damage: {{{damage|}}}
 
 
 
|- <!-- 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"  |Action Points: {{{ap|}}}
 
 
 
|-
 
| style="color:white;" colspan="2"  colspan="2"  |Range: {{{range|}}}
 
 
 
|-
 
{{#if:{{{precision|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Precision: {{{precision|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{burstprec.|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{cqprec.|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Close quarters precision: <font color="red">{{{cqprec.|(optional)}}}</font>
 
|}}
 
 
 
|-
 
{{#if:{{{moveprec.|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Move and shoot precision: <font color="red">{{{moveprec.|(optional)}}}</font>
 
|}}
 
 
 
|-
 
| style="color:white;" colspan="2"  |Critical chance: {{{critchance|}}}
 
 
 
|-
 
{{#if:{{{minstr|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}
 
 
 
 
 
Minimal strength: {{{minstr|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{minskill|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{ammotype|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}
 
 
 
 
 
Ammo type: {{{ammotype|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{magcap|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{energy/shot|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Energy usage per shot: {{{energy/shot|(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{energy|}}}
 
|{{!}} style="color:white;" colspan="2"  {{!}}Energy: {{{energy|energy capacity(optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{greenstats|}}}
 
|{{!}} style="color:green;" colspan="2" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{value|}}}
 
|{{!}} style="color:yellow;" colspan="2"  {{!}}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 10:48, 18 October 2013