Template:Item Infobox: Difference between revisions
From The Walkscape Walkthrough
Content deleted Content added
m 140px |
mNo edit summary |
||
(44 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style="float: right" |
{| class="wikitable ItemInfobox" style="float: right" |
||
|+ {{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }} |
|+ {{#if: {{{Name|}}} | [[{{{Name}}}]] | [[{{PAGENAME}}]] }} |
||
|- |
|- |
||
| style="text-align:center;" colspan="2" |{{#if: {{{Image|}}} | {{#if: {{{Finevalue|}}} | [[File:{{{Image}}}|160px|{{ |
| style="text-align:center;" colspan="2" |{{#if: {{{Image|}}} | {{#if: {{{Finevalue|}}} | [[File:{{{Image}}}|160px|{{{Name}}} Sprite|frameless|class=qualityfine]] | [[File:{{{Image}}}|160px|{{{Name}}} Sprite|frameless|class=quality{{#if: {{{Rarity|}}} | {{lc:{{{Rarity}}}}} | {{lc:{{{Quality}}}}}}}]]}} | [[File:Unknown_Item.svg|160px|{{{Name}}} Sprite|frameless]]}} |
||
|- |
|- |
||
{{#vardefine:hasSkills|0}} |
{{#vardefine:hasSkills|0}} |
||
{{#if: {{{Character Level|}}}|{{#vardefine:hasSkills|1}}}} |
|||
{{#if: {{{Agility|}}}|{{#vardefine:hasSkills|1}}}} |
{{#if: {{{Agility|}}}|{{#vardefine:hasSkills|1}}}} |
||
{{#if: {{{Carpentry|}}}|{{#vardefine:hasSkills|1}}}} |
{{#if: {{{Carpentry|}}}|{{#vardefine:hasSkills|1}}}} |
||
Line 17: | Line 18: | ||
|- |
|- |
||
{{#ifexpr: {{#var:hasSkills}} > 0 | |
{{#ifexpr: {{#var:hasSkills}} > 0 | |
||
! style="width: |
! style="width:84px; text-align:right;" {{!}} Requires: |
||
{{!}} {{#if: {{{ |
{{!}} {{#if: {{{Character Level|}}} | [[Character Level]] {{{Character Level}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Global Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Agility|}}} | [[File:Agility Icon.png|framelesslink=Agility]] [[Agility]] lvl {{{Agility}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Agility Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Carpentry|}}} | [[File:Carpentry Icon.png|framelesslink=Carpentry]] [[Carpentry]] lvl {{{Carpentry}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Carpentry Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Cooking|}}} | [[File:Cooking Icon.png|framelesslink=Cooking]] [[Cooking]] lvl {{{Cooking}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Cooking Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Crafting|}}} | [[File:Crafting Icon.png|framelesslink=Crafting]] [[Crafting]] lvl {{{Crafting}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Crafting Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Fishing|}}} | [[File:Fishing Icon.png|framelesslink=Fishing]] [[Fishing]] lvl {{{Fishing}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Fishing Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Foraging|}}} | [[File:Foraging Icon.png|framelesslink=Foraging]] [[Foraging]] lvl {{{Foraging}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Foraging Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Mining|}}} | [[File:Mining Icon.png|framelesslink=Mining]] [[Mining]] lvl {{{Mining}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Mining Items]]}}<br />}}<!-- |
||
-->{{#if: {{{ |
-->{{#if: {{{Smithing|}}} | [[File:Smithing Icon.png|framelesslink=Smithing]] [[Smithing]] lvl {{{Smithing}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Smithing Items]]}}<br />}}<!-- |
||
-->{{#if: {{{Woodcutting|}}} | [[File:Woodcutting Icon.png|framelesslink=Woodcutting]] [[Woodcutting]] lvl {{{Woodcutting}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Woodcutting Items]]}}<br />}} |
|||
}} |
|||
|{{#ifeq: {{{Type|}}} | Loot |{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Global Items]]}}}}}} |
|||
|- |
|- |
||
{{#if: {{{Rarity|}}} |! style="width: |
{{#if: {{{Rarity|}}} |! style="width:84px; text-align:right;" {{!}} Rarity: |}} |
||
{{#if: {{{Rarity|}}} | {{!}} [[File:Rarity {{ |
{{#if: {{{Rarity|}}} | {{!}} [[File:Rarity {{ucfirst:{{{Rarity}}}}}.svg|frameless|117px|link={{{Rarity}}} Items]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Rarity}}} Items]]}}}} |
||
|- |
|- |
||
{{#if: {{{Quality|}}} |! style="width: |
{{#if: {{{Quality|}}} |! style="width:84px; text-align:right;" {{!}} Quality: |}} |
||
{{#if: {{{Quality|}}} | {{!}} style="width: |
{{#if: {{{Quality|}}} | {{!}} style="width:160px;" {{!}} [[File:Quality {{ucfirst:{{{Quality}}}}}.svg|frameless|117px]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Quality}}} Items]]}}}} |
||
|- |
|- |
||
{{#if: {{{Type|}}} |! style="width: |
{{#if: {{{Type|}}} |! style="width:84px; text-align:right;" {{!}} Type: |}} |
||
{{#if: {{{Type|}}} | {{!}} style="width: |
{{#if: {{{Type|}}} | {{!}} style="width:160px;" {{!}} [[File:Type {{ucfirst:{{{Type}}}}}.svg|frameless|27px]] [[{{{Type}}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Type}}} Items]]}}}} |
||
|- |
|- |
||
{{#if: {{{Slot|}}} |! style="width: |
{{#if: {{{Slot|}}} |! style="width:84px; text-align:right;" {{!}} Slot: |}} |
||
{{#if: {{{Slot|}}} | {{!}} style="width: |
{{#if: {{{Slot|}}} | {{!}} style="width:160px;" {{!}} [[File:Slot {{ucfirst:{{{Slot}}}}}.svg|frameless|27px]] {{#ifeq: {{{Slot}}} | Tool | [[Tool Slot|Tool]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Tools]]}} | [[{{{Slot}}} Slot|{{{Slot}}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Slot}}} Slot Items]]}}}}}} |
||
|- |
|- |
||
{{#if: {{{Value|}}} |! style="width: |
{{#if: {{{Value|}}} |! style="width:84px; text-align:right;" {{!}} Value: |}} |
||
{{#if: {{{Value|}}} | {{!}} style="width: |
{{#if: {{{Value|}}} | {{!}} style="width:160px;" {{!}} [[Image:Money icon.png|link=Coins]] {{{Value}}}}} |
||
|- |
|- |
||
{{#if: {{{Finevalue|}}} |! style="width: |
{{#if: {{{Finevalue|}}} |! style="width:84px; text-align:right;" {{!}} Fine Value: |}} |
||
{{#if: {{{Finevalue|}}} | {{!}} style="width: |
{{#if: {{{Finevalue|}}} | {{!}} style="width:160px;" {{!}} [[Image:Money icon.png|link=Coins|class=qualityfine]] {{{Finevalue}}}}} |
||
|- |
|||
{{#if: {{{Keyword|}}} |! style="width:84px; text-align:right;" {{!}} Keyword(s): |}} |
|||
{{#if: {{{Keyword|}}} | {{!}} style="width:160px;" {{!}} [[{{#explode: {{{Keyword}}} | , | 0}} Keyword | {{#explode: {{{Keyword}}} | , | 0}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{#explode: {{{Keyword}}} | , | 0}}_Keyword Items]]}}{{#if: {{#explode: {{{Keyword}}} | , | 1}} |<br>[[{{#explode: {{{Keyword}}} | , | 1}} Keyword | {{#explode: {{{Keyword}}} | , | 1}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{#explode: {{{Keyword}}} | , | 1}}_Keyword Items]]}}}}{{#if: {{#explode: {{{Keyword}}} | , | 2}} |<br>[[{{#explode: {{{Keyword}}} | , | 2}} Keyword | {{#explode: {{{Keyword}}} | , | 2}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{#explode: {{{Keyword}}} | , | 2}}_Keyword Items]]}}}}{{#if: {{#explode: {{{Keyword}}} | , | 3}} |<br>[[{{#explode: {{{Keyword}}} | , | 3}} Keyword | {{#explode: {{{Keyword}}} | , | 3}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{#explode: {{{Keyword}}} | , | 3}}_Keyword Items]]}}}}{{#if: {{#explode: {{{Keyword}}} | , | 4}} |<br>[[{{#explode: {{{Keyword}}} | , | 4}} Keyword | {{#explode: {{{Keyword}}} | , | 4}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{#explode: {{{Keyword}}} | , | 4}}_Keyword Items]]}}}}}} |
|||
|- |
|||
{{#if: {{{ItemSet|}}} |! style="width:84px; text-align:right;" {{!}} Item Set: |}} |
|||
{{#if: {{{ItemSet|}}} | {{!}} style="width:160px;" {{!}} [[{{{ItemSet}}}]]}} |
|||
|- |
|||
| style="text-align:center; font-weight: bold;" colspan="2" | Properties |
|||
|- |
|||
! style="width:84px; text-align:right;" | Tradable: |
|||
| style="width:160px;" | {{#if: {{{Tradable|}}} | {{{Tradable}}} | Yes}} |
|||
|- |
|||
! style="width:84px; text-align:right;" | Sellable: |
|||
| style="width:160px;" | {{#if: {{{Sellable|}}} | {{{Sellable}}} | Yes}} |
|||
|- |
|||
! style="width:84px; text-align:right;" | Droppable: |
|||
| style="width:160px;" | {{#if: {{{Droppable|}}} | {{{Droppable}}} | Yes}} |
|||
{{#if: {{{NoFine|}}} |{{!}}- |
|||
! style="width:84px; text-align:right;" {{!}} Fine Version: |
|||
{{!}} style="width:160px;" {{!}} Does Not Exist}} |
|||
|}<noinclude>[[Category:Templates]]</noinclude> |
|}<noinclude>[[Category:Templates]]</noinclude> |
Latest revision as of 12:22, 16 August 2024
Properties | |
Tradable: | Yes |
---|---|
Sellable: | Yes |
Droppable: | Yes |