Difference between revisions of "Template:Infobox component"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 26: Line 26:
 
|-
 
|-
 
{{#if:{{{skillsreq|}}}
 
{{#if:{{{skillsreq|}}}
|{{!}} style="color:white;" colspan="2" {{!}}Required crafting skills {{#ifexpr: {{{quality|}}} < 0 | (as percentage of quality)|}}:
+
|{{!}} style="color:white;" colspan="2" {{!}}Required crafting skills {{#if:{{{quality|}}}|{{#ifexpr: {{{quality|}}} < 0 | (as percentage of quality)|}}|}}:
 
{{{skillsreq|required crafting skills, each line intended with a ":"!}}}
 
{{{skillsreq|required crafting skills, each line intended with a ":"!}}}
 
|}}
 
|}}
  
 
|-
 
|-
|  style="color:yellow;" colspan="2" |Value: {{{value|component's value}}} {{#ifexpr: {{{quality|}}} < 0 |of Quality|}}
+
|  style="color:yellow;" colspan="2" |Value: {{{value|component's value}}} {{#if:{{{quality|}}}|{{#ifexpr: {{{quality|}}} < 0 |of Quality|}}|}}
 
|}{{#if:{{{example|}}}|<includeonly>
 
|}{{#if:{{{example|}}}|<includeonly>
 
[[Category:Items with example stats]]</includeonly>
 
[[Category:Items with example stats]]</includeonly>
 
|}}<noinclude>
 
|}}<noinclude>
 
<br style="clear:both;"/>{{documentation}}</noinclude>
 
<br style="clear:both;"/>{{documentation}}</noinclude>

Revision as of 14:22, 30 July 2013

Default icon
component's name
Component
component's description
Value: component's value


Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Infobox_component/doc to view this documentation. (edit) (How does this work?)

Template:Infobox component/doc