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