Editing Item info
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 36: | Line 36: | ||
|#default=quality-common<!-- items with no quality are assumed to be common --> | |#default=quality-common<!-- items with no quality are assumed to be common --> | ||
}}}}<!-- | }}}}<!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
quests | quests | ||
Line 54: | Line 46: | ||
item icon | item icon | ||
-->{{#if:{{{icon|}}}<!-- if icon exists | -->{{#if:{{{icon|}}}<!-- if icon exists | ||
− | -->|<span class="{{#var:quality class}}">[[ | + | -->|<span class="{{#var:quality class}}">[[{{{icon}}}|85px]]</span><!-- use provided icon |
− | |||
− | |||
-->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon | -->|{{#vardefine:defaultIcon|File:{{#replace:{{#titleparts:{{PAGENAME}}}}|:|-}}.png}}<!-- else use default icon | ||
-->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists | -->{{#ifexist:{{#var:defaultIcon}}<!-- if default icon exists | ||
-->|<span class="{{#var:quality class}}">[[{{#var:defaultIcon}}|85px]]</span><!-- use default icon | -->|<span class="{{#var:quality class}}">[[{{#var:defaultIcon}}|85px]]</span><!-- use default icon | ||
− | -->|[[{{#var:defaultIcon}}|Upload item icon.]] | + | -->|[[{{#var:defaultIcon}}|Upload item icon.]]}}}}<!-- else prompt for icon upload |
− | --> | + | --></center> |
|- | |- | ||
− | ! colspan="2" class="{{#var:quality class}} | + | ! colspan="2" class="{{#var:quality class}}<!-- |
− | --> | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> | + | -->" | <center>{{{name|{{PAGENAME}}}}}</center><!-- name --> |
|- | |- | ||
{{#if:{{#var:type text}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Type'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#var:type text}}}} | {{#if:{{#var:type text}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Type'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#var:type text}}}} | ||
|- | |- | ||
− | {{#if:{{{quality|}}}|{{ | + | {{#if:{{{quality|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Quality]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}<!-- |
-->{{#arraydefine:qualities|{{lc:{{{quality}}}}}|-}}<!-- split range of qualities by '-' | -->{{#arraydefine:qualities|{{lc:{{{quality}}}}}|-}}<!-- split range of qualities by '-' | ||
− | -->{{#arrayprint:qualities|-|@|{{ucfirst:@}}}}}}<!-- ensure each quality starts with an uppercase letter --> | + | -->{{#arrayprint:qualities|-|@|{{ucfirst:@}}}}}}<!-- ensure each quality starts with an uppercase letter --> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{tier|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Tier]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{tier}}}}} |
− | |||
− | |||
− | |||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{level|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Level]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{level}}}}} |
|- | |- | ||
− | {{#if:{{{quests|}}}|{{ | + | {{#if:{{{quests|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Involved In'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#arrayprint:quest text|<br>|@|[[@]]}}}}<!-- formats the quests array --> |
|- | |- | ||
− | {{#if:{{{value|}}}|{{ | + | {{#if:{{{value|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Value'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{stat|Gold|{{{value}}}|nolabel=yes}}}} |
− | |} | + | |}</div><!-- |
− | </div><!-- | ||
DESCRIPTION | DESCRIPTION | ||
-->{{#if:{{{tooltip|}}}|{{quotation|{{{tooltip}}}|game}}}}{{{description|{{error|No description was provided. Add a description parameter.}}}}}<!-- | -->{{#if:{{{tooltip|}}}|{{quotation|{{{tooltip}}}|game}}}}{{{description|{{error|No description was provided. Add a description parameter.}}}}}<!-- | ||
PROPERTIES | PROPERTIES | ||
− | --> | + | -->{{#if:{{#var:quality class}}|{{#set:Has quality=<!-- set 'Has quality' property |
− | |||
-->{{sc|<!-- | -->{{sc|<!-- | ||
-->{{#replace:<!-- | -->{{#replace:<!-- | ||
Line 109: | Line 80: | ||
-->|-| }}<!-- replace '-' with ' ' | -->|-| }}<!-- replace '-' with ' ' | ||
-->| }}<!-- put string into start case | -->| }}<!-- put string into start case | ||
− | |||
− | |||
-->}}}}</includeonly><noinclude>{{Item info/Documentation}}</noinclude> | -->}}}}</includeonly><noinclude>{{Item info/Documentation}}</noinclude> |