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 61: | Line 61: | ||
-->|<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.]]}}}}}}<!-- else prompt for icon upload | -->|[[{{#var:defaultIcon}}|Upload item icon.]]}}}}}}<!-- else prompt for icon upload | ||
− | -->{{#if:{{{ | + | -->{{#if:{{{random|}}}|<br><small>(This Item's appearance may change randomly.)</small>}}</center> |
|- | |- | ||
! colspan="2" class="{{#var:quality class}}"<!-- | ! colspan="2" class="{{#var:quality class}}"<!-- | ||
Line 68: | Line 68: | ||
{{#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:{{{tier|}}}|{{ | + | {{#if:{{{tier|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Tier]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{tier}}}}} |
|- | |- | ||
− | {{#if:{{{level|}}}|{{ | + | {{#if:{{{level|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Level]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{level}}}}} |
|- | |- | ||
− | {{#if:{{{binding|}}}|{{ | + | {{#if:{{{binding|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Binding]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#switch:{{lc:{{{binding}}}}}|pickup=[[Binding#On Pickup|On Pickup]]|equip=[[Binding#On Equip|On Equip]]|#default={{{binding}}}}}}} |
|- | |- | ||
− | {{#if:{{{hero|}}}|{{ | + | {{#if:{{{hero|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Hero]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}[[{{{hero}}}]]}}<!-- |
− | |||
− | {{ | ||
-->{{#arrayprint:stats||@|{{InfoboxRow|'''{{#explode:@|:|0}}'''|{{#sub:@|{{#expr:{{#pos:@|:}}+1}}}}}}}} | -->{{#arrayprint:stats||@|{{InfoboxRow|'''{{#explode:@|:|0}}'''|{{#sub:@|{{#expr:{{#pos:@|:}}+1}}}}}}}} | ||
|- | |- | ||
− | {{#if:{{{duration|}}}|{{ | + | {{#if:{{{duration|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Duration'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{duration}}}}} |
|- | |- | ||
− | {{#if:{{{satiety effect|}}}|{{ | + | {{#if:{{{satiety effect|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Satiety Effect]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}<!-- satiety effect row |
-->{{#arrayprint:satiety effect|<br><!-- print stats array, separated by line breaks | -->{{#arrayprint:satiety effect|<br><!-- print stats array, separated by line breaks | ||
-->|@|{{#vardefine:name|{{#sub:@|{{#pos:@| }}}}}}<!-- stat name | -->|@|{{#vardefine:name|{{#sub:@|{{#pos:@| }}}}}}<!-- stat name | ||
− | -->{{stat|{{sc|{{#var:name}}}}|{{#explode:@| |0}}|nolabel=yes}}}}}}<!-- stat template --> | + | -->{{stat|{{sc|{{#var:name}}}}|{{#explode:@| |0}}|nolabel=yes}}}}}}<!-- stat template --> |
|- | |- | ||
− | {{#if:{{{satiety duration|}}}|{{ | + | {{#if:{{{satiety duration|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Satiety Duration'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{satiety duration}}}}} |
|- | |- | ||
− | {{#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><!-- | ||
Line 102: | Line 100: | ||
PROPERTIES | PROPERTIES | ||
− | -->{{#if:{{{name|} | + | -->{{#if:{{{name|}}}|<!-- if there is a name parameter don't set any properties |
-->|{{#if:{{#var:quality class}}|{{#set:Has quality=<!-- set 'Has quality' property | -->|{{#if:{{#var:quality class}}|{{#set:Has quality=<!-- set 'Has quality' property | ||
-->{{sc|<!-- | -->{{sc|<!-- |