Difference between revisions of "Template:ItemPreviewRow"

From ChatWars Wiki
Jump to: navigation, search
Line 13: Line 13:
 
   }}
 
   }}
 
| <code>{{{7}}}</code>
 
| <code>{{{7}}}</code>
| {{#if: {{#show: {{{10|}}} |?ShopBuyPrice }} | [[Castle Shop]] }} {{#if: {{#show: {{{8|}}} |?BoolAuction }} | [[Auction]] }} {{#if: {{#show: {{{9|}}} |? BoolCraft}} | [[Advanced Crafting]] }}
+
| {{#if: {{{10|}}} | {{#ifexpr: {{#expr: {{{10|}}} > 0}} | [[Shop|Castle Shop]] }} }} {{#if: {{{8|}}} | [[Auction]] }} {{#if: {{{9|}}} | [[Advanced Crafting]] }}
| {{#if: {{#show: {{{10|}}} | {{{10}}} | - }}
+
| {{#if: {{{10|}}} | {{{10}}} | - }}
 
|-
 
|-
 
</includeonly>
 
</includeonly>

Revision as of 12:14, 30 July 2018



This is a template for formatting one row (item) of the item overview (eg: List of all swords in Sword)