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 37: Line 37:
  
 
stats are comma-separated and in the format:
 
stats are comma-separated and in the format:
[stat name]: [stat value]
+
[stat name] [stat value]
-->{{#arraydefine:stats|{{{stats|}}}}}<!--
+
-->{{#arraydefine:stats|{{{stats}}}}}<!--
 
 
satiety effects are comma-separated and in the format:
 
[effect name] [effect value]
 
-->{{#arraydefine:satiety effect|{{{satiety effect}}}}}<!--
 
  
 
quests
 
quests
Line 60: Line 56:
 
-->|<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:{{{change|}}}|<br><small>(This Item's appearance may change.)</small>}}</center>
+
--></center>
 
|-
 
|-
 
! colspan="2" class="{{#var:quality class}}"<!--
 
! colspan="2" class="{{#var:quality class}}"<!--
Line 67: Line 63:
 
{{#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|}}}|{{InfoboxRow|'''[[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|}}}|{{InfoboxRow|'''[[Tier]]'''|{{{tier}}}}}}}
+
{{#if:{{{tier|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Tier]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{tier}}}}}
 
|-
 
|-
{{#if:{{{level|}}}|{{InfoboxRow|'''Req. [[Level]]'''|{{{level}}}}}}}
+
{{#if:{{{level|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Level]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{level}}}}}
|-
 
{{#if:{{{binding|}}}|{{InfoboxRow|'''[[Binding]]'''|{{#switch:{{lc:{{{binding}}}}}|pickup=[[Binding#On Pickup|On Pickup]]|equip=[[Binding#On Equip|On Equip]]|#default={{{binding}}}}}}}}}
 
|-
 
{{#if:{{{hero|}}}|{{InfoboxRow|'''Req. [[Hero]]'''|[[{{{hero}}}]]}}}}
 
|-
 
{{#if:{{{mastery|}}}|{{InfoboxRow|'''Req. [[Mastery]]'''|[[{{{mastery}}}]]}}}}<!--
 
 
 
-->{{#arrayprint:stats||@|{{InfoboxRow|'''{{#explode:@|:|0}}'''|{{#sub:@|{{#expr:{{#pos:@|:}}+1}}}}}}}}
 
 
|-
 
|-
{{#if:{{{duration|}}}|{{InfoboxRow|'''Duration'''|{{{duration}}}}}}}
+
{{#if:{{{hero|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Req. [[Hero]]'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}[[{{{hero}}}]]}}
 
|-
 
|-
{{#if:{{{satiety effect|}}}|{{InfoboxRow|'''[[Satiety Effect]]'''|<!-- satiety effect row
+
{{#if:{{{stats|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''[[Stat]]s'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}<!-- stats row
-->{{#arrayprint:satiety effect|<br><!-- print stats array, separated by line breaks
+
-->{{#arrayprint:stats|<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|}}}|{{InfoboxRow|'''Satiety Duration'''|{{{satiety duration}}}}}}}
+
{{#if:{{{duration|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Duration'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{{duration}}}s}}
 
|-
 
|-
{{#if:{{{quests|}}}|{{InfoboxRow|'''Involved in'''|{{#arrayprint:quest text|<br>|@|[[@]]}}}}}}
+
{{#if:{{{quests|}}}|{{!}}class="skill-infobox-row-heading"{{!}}'''Involved In'''{{!}}{{!}}class="skill-infobox-row-data"{{!}}{{#arrayprint:quest text|<br>|@|[[@]]}}}}<!-- formats the quests array -->
 
|-
 
|-
{{#if:{{{value|}}}|{{InfoboxRow|'''Value'''|{{stat|Gold|{{{value}}}|nolabel=yes}}}}}}
+
{{#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.}}}}}<!--

Please note that all contributions to Corepunk Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: