Difference between revisions of "Template:Infobox component"

From Underrail Wiki
Jump to navigation Jump to search
m
m (removing old junk)
 
(5 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 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|component's name}}}
 
 
 
|-
 
| style="color:yellow;" |Component
 
 
 
|-
 
| style="color:gray;" colspan="2" |{{{description|component's description}}}
 
 
 
|-
 
{{#if:{{{quality|}}}
 
|{{!}} style="color:white;" colspan="2" {{!}}{{#ifexpr: {{{quality|}}} < 0 | Quality range:| Quality:}} {{{quality|quality of the component (optional)}}}
 
|}}
 
 
 
|-
 
{{#if:{{{skillsreq|}}}
 
|{{!}} style="color:white;" colspan="2" {{!}}Required crafting skills{{#if:{{{quality|}}}|{{#ifexpr: {{{quality|}}} < 0 |&nbsp;(as percentage of quality)|}}|}}:
 
{{{skillsreq|required crafting skills, each line intended with a ":"!}}}
 
|}}
 
 
 
|-
 
|  style="color:yellow;" colspan="2" |Value: {{{value|component's value}}} {{#if:{{{quality|}}}|{{#ifexpr: {{{quality|}}} < 0 |of Quality|}}|}}
 
|}{{#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