Difference between revisions of "Template:Infobox component"
Jump to navigation
Jump to search
m |
(magic) |
||
Line 8: | Line 8: | ||
|- | |- | ||
− | | rowspan="3" width="50px" height="50px" align="center" valign="center" |{{#if:{{{image|}}}|[[File:{{{image}}} | + | | 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 --> | |- <!-- 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| | + | | style="color:{{#switch: {{{itemquality}}} | low = gray | normal = white | high = lightgreen | rarity = MediumPurple | artifact = Orange | white }}; font-weight:bold;" title="{{#switch: {{{itemquality}}} | low = Quality: Low | normal = Quality: Normal | high = Quality: High | rarity = Quality: Rarity | artifact = Quality: Artifact | No quality specified }}" |{{{name|(item's name)}}} |
|- | |- | ||
− | | style="color:yellow;" |Component | + | | style="color:yellow;" title="Item type" |Component |
|- | |- | ||
− | | style="color:gray;" colspan="2" |{{{description|component's description}}} | + | | style="color:gray;" colspan="2" title="Item description" |{{{description|component's description}}} |
|- | |- | ||
{{#if:{{{quality|}}} | {{#if:{{{quality|}}} | ||
− | |{{!}} style="color:white;" colspan="2" {{!}}{{#ifexpr: {{{quality|}}} < 0 | Quality range:| Quality:}} {{{quality|quality of the component (optional)}}} | + | |{{!}} style="color:white;" colspan="2" title="Quality" {{!}}{{#ifexpr: {{{quality|}}} < 0 | Quality range:| Quality:}} {{{quality|quality of the component (optional)}}} |
|}} | |}} | ||
|- | |- | ||
{{#if:{{{skillsreq|}}} | {{#if:{{{skillsreq|}}} | ||
− | |{{!}} style="color:white;" colspan="2" {{!}}Required crafting skills{{#if:{{{quality|}}}|{{#ifexpr: {{{quality|}}} < 0 | (as percentage of quality)|}}|}}: | + | |{{!}} style="color:white;" colspan="2" title="List of required crafting skills" {{!}}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}}} | + | | style="color:yellow;" colspan="2" title="Base trading value" |Value: {{{value|component's value}}} |
|}{{#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 09:10, 2 August 2013
(item'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?)
Visit Template:Infobox_component/doc to view this documentation. (edit) (How does this work?)