Come Try Out The New Community Guides

View The Guides Check Out The Gear Sets

Template:Item Infobox

From Walkscape Walkthrough
(Redirected from Templates:Infobox Loot)
{| class="wikitable ItemInfobox" style="float: right"
|+ {{#if: {{{Name|}}} | [[{{{Name}}}]] | [[{{PAGENAME}}]] }}
|- 
| 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}}
{{#if: {{{Character Level|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Agility|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Carpentry|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Cooking|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Crafting|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Fishing|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Foraging|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Mining|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Smithing|}}}|{{#vardefine:hasSkills|1}}}}
{{#if: {{{Woodcutting|}}}|{{#vardefine:hasSkills|1}}}}
|-
{{#ifexpr: {{#var:hasSkills}} > 0 |
! style="width:84px; text-align:right;" {{!}} Requires: 
{{!}} {{#if: {{{Character Level|}}} | [[Character Level]] {{{Character Level}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Global Items]]}}<br />}}<!--
-->{{#if: {{{Agility|}}} | [[File:Agility Icon.png|frameless|link=Agility]] [[Agility]] lvl {{{Agility}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Agility Items]]}}<br />}}<!--
-->{{#if: {{{Carpentry|}}} | [[File:Carpentry Icon.png|frameless|link=Carpentry]] [[Carpentry]] lvl {{{Carpentry}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Carpentry Items]]}}<br />}}<!--
-->{{#if: {{{Cooking|}}} | [[File:Cooking Icon.png|frameless|link=Cooking]] [[Cooking]] lvl {{{Cooking}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Cooking Items]]}}<br />}}<!--
-->{{#if: {{{Crafting|}}} | [[File:Crafting Icon.png|frameless|link=Crafting]] [[Crafting]] lvl {{{Crafting}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Crafting Items]]}}<br />}}<!--
-->{{#if: {{{Fishing|}}} | [[File:Fishing Icon.png|frameless|link=Fishing]] [[Fishing]] lvl {{{Fishing}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Fishing Items]]}}<br />}}<!--
-->{{#if: {{{Foraging|}}} | [[File:Foraging Icon.png|frameless|link=Foraging]] [[Foraging]] lvl {{{Foraging}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Foraging Items]]}}<br />}}<!--
-->{{#if: {{{Mining|}}} | [[File:Mining Icon.png|frameless|link=Mining]] [[Mining]] lvl {{{Mining}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Mining Items]]}}<br />}}<!--
-->{{#if: {{{Smithing|}}} | [[File:Smithing Icon.png|frameless|link=Smithing]] [[Smithing]] lvl {{{Smithing}}}{{#ifeq: {{{Non-Item|}}} | True | | [[Category:Smithing Items]]}}<br />}}<!--
-->{{#if: {{{Woodcutting|}}} | [[File:Woodcutting Icon.png|frameless|link=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:84px; text-align:right;" {{!}} Rarity: |}}
{{#if: {{{Rarity|}}} | {{!}} [[File:Rarity {{ucfirst:{{{Rarity}}}}}.svg|frameless|117px|link={{{Rarity}}} Items]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Rarity}}} Items]]}}}}
|- 
{{#if: {{{Quality|}}} |! style="width:84px; text-align:right;" {{!}} Quality: |}}
{{#if: {{{Quality|}}} | {{!}} style="width:160px;" {{!}} [[File:Quality {{ucfirst:{{{Quality}}}}}.svg|frameless|117px]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Quality}}} Items]]}}}}
|- 
{{#if: {{{Type|}}} |! style="width:84px; text-align:right;" {{!}} Type: |}}
{{#if: {{{Type|}}} | {{!}} style="width:160px;" {{!}} [[File:Type {{ucfirst:{{{Type}}}}}.svg|frameless|27px]] [[{{{Type}}}]]{{#ifeq: {{{Non-Item|}}} | True | | [[Category:{{{Type}}} Items]]}}}}
|- 
{{#if: {{{Slot|}}} |! style="width:84px; text-align:right;" {{!}} Slot: |}}
{{#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:84px; text-align:right;" {{!}} Value: |}}
{{#if: {{{Value|}}} | {{!}} style="width:160px;" {{!}} [[Image:Money icon.png|link=Coins]] {{{Value}}}}}
|- 
{{#if: {{{Finevalue|}}} |! style="width:84px; text-align:right;" {{!}} Fine Value: |}}
{{#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}}}]]}}
|-
{{#if: {{{Duration|}}} |! style="width:84px; text-align:right;" {{!}} Duration: |}}
{{#if: {{{Duration|}}} | {{!}} style="width:160px;" {{!}} {{#explode: {{{Duration}}} | , | 0}} {{#ifeq: {{#explode: {{{Duration}}} | , | 1}} | Steps | [[File:Steps_icon.png|frameless]] Steps}}}}
|- 
! style="text-align:center; font-weight: bold;" colspan="2" | Properties
|-
| style="width:280px; text-align:center;" colspan="2" |
{|
|-
| style="text-align:right; width:120px;" | Tradable:
| style="text-align:center; width:20px;"|{{#ifeq: {{{Tradable|}}} | No | [[File:Cross.png | frameless]] | [[File:Check.png | frameless]]}}
| style="text-align:right; width:120px;" | Sellable:
| style="text-align:center; width:20px;"|{{#ifeq: {{{Sellable|}}} | No | [[File:Cross.png | frameless]] | [[File:Check.png | frameless]]}}
|-
| style="text-align:right; width:120px;" | Droppable:
| style="text-align:center; width:20px;"|{{#ifeq: {{{Droppable|}}} | No | [[File:Cross.png | frameless]] | [[File:Check.png | frameless]]}}
| style="text-align:right; width:120px;" | Bankable:
| style="text-align:center; width:20px;"|{{#ifeq: {{{Bankable|}}} | No | [[File:Cross.png | frameless]] | [[File:Check.png | frameless]]}}
{{#if: {{{NoFine|}}} |{{!}}- 
{{!}} style="text-align:center;" colspan="4" {{!}} Fine Version: [[File:Cross.png | frameless]]}}
|}
|}