Difference between revisions of "Template:Infobox component"

From Underrail Wiki
Jump to navigation Jump to search
m
m
Line 8: Line 8:
  
 
|-
 
|-
| rowspan="3" width="50px" height="50px" align="center" valign="center" style="color:white;" |{{#if:{{{image|}}}|[[File:{{{image}}}]]|[[File:Misc_icon.png]]}}
+
| rowspan="3" width="50px" height="50px" align="center" valign="center" |{{#if:{{{image|}}}|[[File:{{{image}}}|full|Item's icon]]|[[File:Misc_icon.png|full|Default icon]]}}
  
|-
+
|- <!-- color of item name is quality-dependent -->
| style="color:white; font-weight:bold;" |{{{name|component's name}}}
+
| style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" |{{{name|component's name}}}
  
 
|-
 
|-

Revision as of 08:05, 3 April 2013

Default icon
component's name
Component
component's description
Required crafting skills:

required crafting skills, each line intended with a ":"!

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