Template:Infobox Item: Difference between revisions
Jump to navigation
Jump to search
Jawarrior1 (talk | contribs) No edit summary |
Jawarrior1 (talk | contribs) No edit summary |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if: {{{name|}}} | | <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}}}}} {{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}}}}} {{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}}}}} {{PLURAL:{{{smuggler}}}|coin|coins}}|}} | |||
|- | |||
{{#if:{{{value|}}}|{{!}}- | |||
!nowrap="nowrap"{{!}}[[Value]] | |||
{{!}} {{formatnum:{{{value}}}}} {{PLURAL:{{{value}}}|coin|coins}} {{#if:{{{sof|}}}|<br/> '''SoF convert:''' <br/> {{formatnum:{{{sof}}}}} {{PLURAL:{{{sof}}}|coin|coins}}}}|{{#if:{{{sof|}}}|{{!}}- | |||
!nowrap="nowrap"{{!}}[[Value]] | |||
{{!}}'''SoF convert:''' <br/> {{formatnum:{{{sof}}}}} {{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|}}}| {{{currency}}}| {{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 | {{!}}- | | |||
}}}} | |||
|- | |||
!nowrap="nowrap"|[[Examine]] | |||
| {{#if:{{{examine|}}}|{{{examine}}}|Unknown}} | |||
|- | |||
! nowrap="nowrap" | [[Weight]] | |||
| {{#if:{{{weight|}}}|{{{weight}}} kg|Unknown}} | |||
|} | |||
<span style="margin-top:-10px; font-size:xx-small; clear:right; float:right;">{{{bottom-text|[[Template:Infobox Item|[view]]] {{*}} [{{fullurl:Template talk:Infobox Item}} [talk]]}}}</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}}|'|'}}|{{#replace:{{{name|{{PAGENAME}}}}}|'|'}}||}}}}}}|}}<noinclude>{{/doc}}</noinclude> |
Latest revision as of 18:16, 10 January 2024
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 |