Difference between revisions of "Template:Infobox weapon"

From Underrail Wiki
Jump to navigation Jump to search
(redirecting to Template:Infobox item)
m (removing old junk)
 
Line 1: Line 1:
 
#REDIRECT [[Template:Infobox item]]
 
#REDIRECT [[Template:Infobox item]]
 
__NOTOC__
 
{| 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 = 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)}}}
 
 
|-
 
| style="color:yellow;" title="Item type" |{{{type|(weapons's type)}}}
 
 
|-
 
| style="max-width:400px; color:gray; height:2em;" colspan="2" title="Item description" |{{{description|(weapons's description)}}}
 
 
|-
 
| style="color:white; height:2.5em;" valign="middle" 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:<noinclude>string</noinclude>{{{precision|}}}
 
|{{!}} style="color:white;" colspan="2" title="Precision modifies your chance to hit" {{!}}Precision: {{{precision|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{burstprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="Burst precision" {{!}}Burst precision: {{{burstprec.|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{cqprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="CQB precision penalty" {{!}}Close quarters precision: {{color|red|{{{cqprec.|(optional)}}}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{moveprec.|}}}
 
|{{!}} style="color:white;" colspan="2" title="Unfocused precision penalty" {{!}}Move and shoot precision: {{color|red|{{{moveprec.|(optional)}}}}}
 
|}}
 
 
|-
 
| style="color:white;" colspan="2" title="Chance to critically hit" |Critical chance: {{{critchance|n%}}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{greenstats|}}}
 
|{{!}} style="color:green;" colspan="2" title="Item uses and other stats" {{!}}{{{greenstats|uses and other green stats (optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{minstr|}}}
 
|{{!}} style="color:white; height:2.5em;" valign="bottom" colspan="2" title="Minimum strength requirement" {{!}}Minimal strength: {{{minstr|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{minskill|}}}
 
|{{!}} style="color:white;" colspan="2" title="Minimum skill requirement" {{!}}Minimal weapon skill: {{{minskill|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{ammotype|}}}
 
|{{!}} style="color:white; height:2.5em;" valign="bottom" colspan="2" title="Type of ammunition used" {{!}}Ammo type: {{{ammotype|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{magcap|}}}
 
|{{!}} style="color:white;" colspan="2" title="Magazine ammunition capacity" {{!}}Magazine capacity: {{{magcap|(optional)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{energy/shot|}}}
 
|{{!}} style="color:white;" colspan="2" title="Energy/shot" {{!}}Energy usage per shot: {{color|green|{{{energy/shot|(optional)}}}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{energy|}}}
 
|{{!}} style="color:white;" colspan="2" title="Energy storage capacity" {{!}}Energy: {{color|green|{{{energy|energy capacity (optional)}}}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{durability|}}}
 
|{{!}} style="color:white;" colspan="2" title="Durability and its type" {{!}}Durability: {{{durability|n / n (durability type)}}}
 
|}}
 
 
|-
 
{{#if:<noinclude>string</noinclude>{{{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 10:48, 18 October 2013