Template:Infobox Item: Difference between revisions

From Darkan
Jump to navigation Jump to search
(Blanked the page)
Tags: Blanking Manual revert
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude><!-------------------------------------


==================================================
Before making ANY changes to this template, please be ABSOLUTELY sure that:
* You have thoroughly discussed and achieved CONSENSUS with the community, either on the Yew Grove or on this template's talk page, to go ahead with the changes you wish to make
* You know what you are doing
* You know the consequences of intentionally vandalising a template
* And you have thoroughly tested and checked that the edit you wish to make will not jeopardise the correct operation and deployment of this template
Then, and ONLY then may you make changes to this template.
==================================================
-------------------------------------></noinclude><div style="float:right; width:33%; display:table; clear:right;">
{| class="wikitable infobox" style="text-align:center;"
|+ '''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|-
|colspan=2|{{#if:{{{image|}}}|{{{image}}}|[[Special:Upload|Please add an image!]]}}
{{#if:{{{AKA|}}}|{{!}}-
!width="1%"{{!}}[[Slang dictionary{{!}}AKA]]?
{{!}} {{{AKA|}}}{{Mainonly|[[Category:Pages with AKA]]}}
{{!}}- |{{!}}-}}
!width="1%" nowrap="nowrap"|Release date
| {{#if:{{{release|}}}|{{{release}}} {{#ifeq:{{{release}}}|Not released||{{#ifeq:{{{release}}}|RuneScape Classic||{{#if:{{{update|}}}|{{#ifexist:Update:{{{update}}}|([[Update:{{{update}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs update added]]}}}}|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs update added]]}}}}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{#if:{{{removal|}}}|{{!}}-
!width="1%" nowrap="nowrap"{{!}}[[Discontinued rare items|Removal date]]{{Mainonly|[[Category:Discontinued content]]}}
{{!}} {{{removal}}} {{#ifexist:Update:{{{removalupdate}}}|([[Update:{{{removalupdate}}}|Update]])|(Update unknown) <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs removal update added]]}}}}}}
|-
!width="1%" nowrap="nowrap"|[[Pay-to-play|Members]]?
| {{#if:{{{members|}}}|{{ucfirst:{{{members}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
!nowrap="nowrap"|[[Quest items|Quest item]]?
| {{#if:{{{quest|}}}|{{ucfirst:{{{quest}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
!nowrap="nowrap"|[[Tradeable]]?
| {{#if:{{{tradeable|}}}|{{ucfirst:{{{tradeable}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{#ifeq:{{lc:{{{tradeable}}}}}|yes|{{#ifeq:{{lc:{{{equipable}}}}}|yes|{{!}}-
!width="1%"{{!}}[[Item Lending|Lendable]]?
{{!}}{{#ifeq:{{lc:{{{lendable}}}}}|yes|Yes{{mainonly|[[Category:Lendable items]]}}|No}}
|}}}}
|-
!nowrap="nowrap"|[[Equipment|Equipable]]?
| {{#if:{{{equipable|}}}|{{ucfirst:{{{equipable}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{#if:{{{edible|}}}|{{!}}-
!nowrap="nowrap"{{!}}[[Food{{!}}Edible]]?
{{!}} {{#vardefine:heal0|{{#explode:{{{edible}}}|x|0}}}}{{#vardefine:heal1|{{#explode:{{{edible}}}|x|1}}}}{{#iferror:{{#expr:{{#var:heal0}}{{#if:{{#var:heal1}}|+{{#var:heal1}}|}}}}|{{{edible|Yes}}}|Yes, {{#var:heal0}} [[Constitution|LP]]{{#if:{{#var:heal1}}|, {{#var:heal1}} bites ({{#expr:{{#var:heal0}}*{{#var:heal1}}}} total [[Constitution|LP]])}}|}}
{{!}}- |{{!}}-}}
!nowrap="nowrap"|[[Stackable items|Stacks]]?
| {{#if:{{{stackable|}}}|{{ucfirst:{{{stackable}}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
|-
{{#ifeq:{{lc:{{{high|}}}}}|{{#ifeq:{{lc:{{{low|}}}}}|no|no|keyword}}|
!nowrap="nowrap"{{!}}[[High Level Alchemy|Alchemy]]
{{!}}Cannot be alchemised|
!nowrap="nowrap"{{!}}[[High Level Alchemy|High Alch]]
{{!}} {{#if:{{{high|}}}|
{{#ifeq:{{lc:{{{high}}}}}|no|Cannot be alchemised|{{formatnum:{{{high}}}}}&#160;{{PLURAL:{{{high}}}|coin|coins}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs alchemy information]]}}}}
{{!}}-
!nowrap="nowrap"{{!}}[[Low Level Alchemy|Low Alch]]
{{!}} {{#if:{{{low|}}}|
{{#ifeq:{{lc:{{{low}}}}}|no|Cannot be alchemised|{{formatnum:{{{low}}}}}&#160;{{PLURAL:{{{low}}}|coin|coins}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs alchemy information]]}}}}}}
{{#if:{{{smuggler|}}}|{{!}}-
!nowrap="nowrap"{{!}}[[Smuggler]] price
{{!}} {{formatnum:{{{smuggler}}}}}&#160;{{PLURAL:{{{smuggler}}}|coin|coins}}|}}
|-
{{#if:{{{value|}}}|{{!}}-
!nowrap="nowrap"{{!}}[[Value]]
{{!}} {{formatnum:{{{value}}}}}&#160;{{PLURAL:{{{value}}}|coin|coins}} {{#if:{{{sof|}}}|<br/> '''SoF convert:''' <br/> {{formatnum:{{{sof}}}}}&#160;{{PLURAL:{{{sof}}}|coin|coins}}}}|{{#if:{{{sof|}}}|{{!}}-
!nowrap="nowrap"{{!}}[[Value]]
{{!}}'''SoF convert:''' <br/> {{formatnum:{{{sof}}}}}&#160;{{PLURAL:{{{sof}}}|coin|coins}}}}}}
|-
!nowrap="nowrap"|[[Destroy]]
| {{#if:{{{destroy|}}}|{{{destroy}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs information]]}}}}
{{#if:{{{death|}}}|{{!}}-
!nowrap="nowrap"{{!}}[[Death|On death]]
{{!}} {{#switch:{{lc:{{{death}}}}}|white = [[Items Kept on Death#"White outline" items|Never kept]]|lost = [[Items Kept on Death#"Not reclaimable at gravestone" items|Not reclaimable from gravestone]]|kept = [[Items Kept on Death|Always kept in inventory]]|gravestone = [[Items Kept on Death|Appears under gravestone]]|#default = {{{death}}}}}|}}
|-
!nowrap="nowrap"|[[Prices#Store Price|Store price]]
| {{#if:{{{store|}}}|
{{#ifeq:{{lc:{{{store}}}}}|no|Not sold|{{formatnum:{{{store}}}}}{{#if:{{{currency|}}}|&#32;{{{currency}}}|&#160;{{PLURAL:{{{store}}}|coin|coins}}}}<br/>{{#if:{{{seller|}}}|([[{{{seller}}}]])|}}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{mainonly|[[Category:Needs information]]}}}}
{{#ifeq: {{lc:{{{tradeable|yes}}}}} | no | {{!}}- | {{#ifeq: {{lc:{{{tradable|yes}}}}} | no | {{!}}- |
{{!}}-
![[Prices#Grand Exchange Price{{!}}Exchange price]]
{{!}} {{#if:{{{exchange|}}}|{{#ifeq:{{lc:{{{exchange|}}}}}|gemw|<span id="GEPrice"><span class="GEItem"><span>|}}{{{{#ifeq:{{lc:{{{exchange|}}}}} | gemw | GEPrice | empty }}|{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}}}{{#ifeq:{{lc:{{{exchange|}}}}}|gemw|</span></span> coins|{{#ifeq:{{lc:{{{exchange}}}}}|no|Not sold|{{{exchange}}}{{#ifeq:{{{exchange}}}|{{#expr:{{{exchange}}}}}|&nbsp;coins}}}}}}{{#ifeq:{{lc:{{{exchange|}}}}}|gemw|</span>|}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>}}
{{!}}-
{{#if:{{{exchange|}}}|{{#ifeq:{{lc:{{{exchange|}}}}}|gemw|
{{#ifexist:Exchange:{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}|
{{#if:{{Exchange:{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}|View=Limit}}|
![[Grand Exchange#Trade Restrictions{{!}}Buy limit]]
{{!}}{{formatnum:{{Exchange:{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}|View=Limit}}}}
{{!}}- }}}}}}}}}}}}
!nowrap="nowrap"|[[Examine]]
| {{#if:{{{examine|}}}|{{{examine}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs examine added]]}}}}
|-
!nowrap="nowrap"|[[Weight]]
| {{#if:{{{weight|}}}|{{#replace:{{{weight}}}|kg}}&#160;kg|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs weight added]]}}}}
{{#ifeq:{{lc:{{{exchange|}}}}} | gemw |
{{!}}-
!nowrap="nowrap" colspan=2 {{!}}<span style="text-align: center;">[[Exchange:{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}|Look up price info]]</span><br />[[{{#ifexist:File:GEMH_{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}.png|File:GEMH_{{{gemwname|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}}.png|File:GEMH_(blank).png}}|160px|{{{item|}}}]]<br /><small>Click to enlarge</small>}}
|}
<span style="margin-top:-10px; font-size:xx-small; clear:right; float:right;">{{{bottom-text|[[Template:Infobox Item|[view]]] {{*}} [{{fullurl:Template talk:Infobox Item}} &#91;talk&#93;]}}}</span></div>{{PreloadPage}}{{Mainonly|[[Category:Items]]{{#if:{{{release|}}}||[[Category:Needs release date]]}}{{#if:{{{image|}}}||[[Category:Needs image]]}}{{#ifeq:{{lc:{{{tradeable|yes}}}}}|yes|{{#if:{{{exchange|}}}||[[Category:Needs price]]}}}}{{#ifeq:{{{equipable}}}|Yes|{{mainonly|[[Category:Equipable items]]}}|}}{{#ifeq:{{lc:{{{tradeable|{{{tradeable|yes}}}}}}}}|no|[[Category:Untradeable items]]}}{{#ifeq:{{lc:{{{quest|no}}}}}|no||[[Category:Quest items]]}}{{#if:{{{exchange|}}}|{{#ifeq:{{lc:{{{exchange|no}}}}}|no||{{#ifeq:{{#replace:{{PAGENAME}}|&#39;|'}}|{{#replace:{{{name|{{PAGENAME}}}}}|&#39;|'}}||}}}}}}|}}<noinclude>{{/doc}}</noinclude>

Revision as of 08:22, 9 January 2024

Infobox Item
Please add an image!
Release date Unknown edit
Members? Unknown edit
Quest item? Unknown edit
Tradeable? Unknown edit
Equipable? Unknown edit
Stacks? Unknown edit
High Alch Unknown edit
Low Alch Unknown edit
Destroy Unknown edit
Store price Unknown edit
Exchange price Unknown edit
Examine Unknown edit
Weight Unknown edit
[view] [talk]

Template:Infobox Item/doc