Template:Infobox Item: Difference between revisions

From Darkan
Jump to navigation Jump to search
(Created page with "<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 thor...")
 
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude><!-------------------------------------
<div style="float:right; width:33%; display:table; clear:right;">
 
==================================================
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;"  
{| class="wikitable infobox" style="text-align:center;"  
|+ '''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
|+ '''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
Line 79: Line 66:
{{#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:{{{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 | {{!}}- |
{{#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]]
!nowrap="nowrap"|[[Examine]]
| {{#if:{{{examine|}}}|{{{examine}}}|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs examine added]]}}}}
| {{#if:{{{examine|}}}|{{{examine}}}|Unknown}}
|-
|-
!nowrap="nowrap"|[[Weight]]
! nowrap="nowrap" | [[Weight]]
| {{#if:{{{weight|}}}|{{#replace:{{{weight}}}|kg}}&#160;kg|Unknown <small>[{{fullurl:{{FULLPAGENAME}}|action=edit}} edit]</small>{{Mainonly|[[Category:Needs weight added]]}}}}
| {{#if:{{{weight|}}}|{{{weight}}} kg|Unknown}}
{{#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>
<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>{{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>

Latest revision as of 18:16, 10 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
Examine Unknown
Weight Unknown
[view] [talk]

Template:Infobox Item/doc