Difference between revisions of "Template:ItemPreviewRow"
Line 5: | Line 5: | ||
| +{{#if: {{{4|}}} | {{{4}}} | ? }} {{Emoticon|emoticon=Defend}} | | +{{#if: {{{4|}}} | {{{4}}} | ? }} {{Emoticon|emoticon=Defend}} | ||
| +{{#if: {{{5|}}} | {{{5}}} | ? }} {{Emoticon|emoticon=Mana}} | | +{{#if: {{{5|}}} | {{{5}}} | ? }} {{Emoticon|emoticon=Mana}} | ||
− | | {{#switch: {{{ | + | | {{#switch: {{{7}}} |
| 0 = - | | 0 = - | ||
| 15 = {{Emoticon|emoticon=Bookred}} | | 15 = {{Emoticon|emoticon=Bookred}} | ||
Line 12: | Line 12: | ||
| #default = ? | | #default = ? | ||
}} | }} | ||
− | | <code>{{{ | + | | <code>{{{8}}}</code> |
− | | {{#if: {{{ | + | | {{#if: {{{11|}}} | {{#ifexpr: {{#expr: {{formatnum: {{{11|}}}|R}} > 0}} | [[Shop|Castle Shop]] }} }}{{#ifeq: {{{9|}}} | true | {{#if: {{{11|}}} | {{#ifexpr: {{#expr: {{formatnum: {{{10|}}}|R}} > 0}} | ,<nowiki> </nowiki> }} }} [[Auction]] }}{{#ifeq: {{{10|}}} | true | {{#ifeq: {{{9|}}} | true | ,<nowiki> </nowiki> }} [[Advanced Crafting]] }} |
− | | {{#if: {{{ | + | | {{#if: {{{11|}}} | {{{11}}} {{Emoticon|emoticon=Gold}} | - }} |
|- | |- | ||
</includeonly> | </includeonly> |
Revision as of 12:36, 30 July 2018
This is a template for formatting one row (item) of the item overview (eg: List of all swords in Sword)