Template:Item Infobox: Difference between revisions
From The Walkscape Walkthrough
Content added Content deleted
m (Test) |
CptRileyyy (talk | contribs) (Update image string) |
||
(37 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{| class="wikitable" style=" |
{| class="wikitable" style="float: right" |
||
|+ {{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }} |
|+ {{#if: {{{Name|}}} | {{{Name}}} | {{PAGENAME}} }} |
||
|- |
|- |
||
| style="text-align:center;" colspan="2" |{{#if: {{{Image|}}} | {{#if: {{{Finevalue|}}} | [[File:{{{Image}}}| |
| 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]]}} |
||
|- |
|- |
||
Line 17: | Line 17: | ||
|- |
|- |
||
{{#ifexpr: {{#var:hasSkills}} > 0 | |
{{#ifexpr: {{#var:hasSkills}} > 0 | |
||
! style="width: |
! style="width:84px; text-align:right;" {{!}} Skill(s): |
||
{{!}} {{#if: {{{Agility|}}} | [[File:Agility Icon.png|framelesslink=Agility]] [[Agility]] lvl {{{Agility}}}<br />}}<!-- |
{{!}} {{#if: {{{Agility|}}} | [[File:Agility Icon.png|framelesslink=Agility]] [[Agility]] lvl {{{Agility}}}<br />}}<!-- |
||
-->{{#if: {{{Carpentry|}}} | [[File:Carpentry Icon.png|framelesslink=Carpentry]] [[Carpentry]] lvl {{{Carpentry}}}<br />}}<!-- |
-->{{#if: {{{Carpentry|}}} | [[File:Carpentry Icon.png|framelesslink=Carpentry]] [[Carpentry]] lvl {{{Carpentry}}}<br />}}<!-- |
||
Line 29: | Line 29: | ||
}} |
}} |
||
|- |
|- |
||
{{#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]]}} |
||
|- |
|- |
||
{{#if: {{{Quality|}}} |! style="width: |
{{#if: {{{Quality|}}} |! style="width:84px; text-align:right;" {{!}} Quality: |}} |
||
{{#if: {{{Quality|}}} | {{!}} [[File:Quality {{ |
{{#if: {{{Quality|}}} | {{!}} style="width:160px;" {{!}} [[File:Quality {{ucfirst:{{{Quality}}}}}.svg|frameless|117px]]}} |
||
|- |
|- |
||
{{#if: {{{Type|}}} |! style="width: |
{{#if: {{{Type|}}} |! style="width:84px; text-align:right;" {{!}} Type: |}} |
||
{{#if: {{{Type|}}} | {{!}} [[File:Type {{ |
{{#if: {{{Type|}}} | {{!}} style="width:160px;" {{!}} [[File:Type {{ucfirst:{{{Type}}}}}.svg|frameless|27px]] [[{{{Type}}}]]}} |
||
|- |
|- |
||
{{#if: {{{Slot|}}} |! style="width: |
{{#if: {{{Slot|}}} |! style="width:84px; text-align:right;" {{!}} Slot: |}} |
||
{{#if: {{{Slot|}}} | {{!}} [[File:Slot {{ |
{{#if: {{{Slot|}}} | {{!}} style="width:160px;" {{!}} [[File:Slot {{ucfirst:{{{Slot}}}}}.svg|frameless|27px]] {{#ifeq: {{{Slot}}} | Tool | [[Equipment#Tools|Tool]] | [[Equipment#Gear|{{{Slot}}}]]}}}} |
||
|- |
|- |
||
{{#if: {{{Value|}}} |! style="width: |
{{#if: {{{Value|}}} |! style="width:84px; text-align:right;" {{!}} Value: |}} |
||
{{#if: {{{Value|}}} | {{!}} [[Image:Money icon.png|link=Coins]] {{{Value}}}}} |
{{#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|}}} | {{!}} [[Image:Money icon.png|link=Coins|class=qualityfine]] {{{Finevalue}}}}} |
{{#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;" {{!}} {{{Keyword}}}}} |
|||
|- |
|||
| 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}} |
|||
|}<noinclude>[[Category:Templates]]</noinclude> |
|}<noinclude>[[Category:Templates]]</noinclude> |