Difference between revisions of "Template:ItemPreviewRow"
Line 5: | Line 5: | ||
| +{{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Defense }} | {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Defense }} | ? }} {{Emoticon|emoticon=Defend}} | | +{{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Defense }} | {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Defense }} | ? }} {{Emoticon|emoticon=Defend}} | ||
| +{{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Mana }} | {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Mana }} | ? }} {{Emoticon|emoticon=Mana}} | | +{{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Mana }} | {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Mana }} | ? }} {{Emoticon|emoticon=Mana}} | ||
− | {{#if: {{{ | + | {{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ArmorClass }} | {{!}} {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ArmorClass }} }}<!-- |
− | -->{{#if: {{{ | + | -->{{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Ammunition }} | {{!}} {{#show: {{PageLink_to_Name|page={{{1}}} }} |?Ammunition }} }} |
− | | {{#switch: {{{ | + | | {{#switch: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?LevelEquipRequirement }} |
| 0 = - | | 0 = - | ||
| 15 = {{Emoticon|emoticon=Bookred}} | | 15 = {{Emoticon|emoticon=Bookred}} | ||
Line 14: | Line 14: | ||
| #default = ? | | #default = ? | ||
}} | }} | ||
− | | <code>{{{ | + | | <code>{{#show: {{PageLink_to_Name|page={{{1}}} }} |?ItemID }}</code> |
− | | {{#if: {{{ | + | | {{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }} | {{#ifexpr: {{#expr: {{formatnum: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }}|R}} > 0}} | [[Shop|Castle Shop]] }} }}{{#ifeq: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?BoolAuction }} | true | {{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }} | {{#ifexpr: {{#expr: {{formatnum: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }}|R}} > 0}} | ,<nowiki> </nowiki> }} }} [[Auction]] }}{{#ifeq: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?BoolCraft }} | true | {{#ifeq: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?BoolAuction }} | true | ,<nowiki> </nowiki> }} [[Advanced Crafting]] }} |
− | | {{#if: {{{ | + | | {{#if: {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }} | {{#show: {{PageLink_to_Name|page={{{1}}} }} |?ShopBuyPrice }} {{Emoticon|emoticon=Gold}} | - }} |
|- | |- | ||
</includeonly> | </includeonly> |
Revision as of 10:01, 13 August 2018
This is a template for formatting one row (item) of the item overview (eg: List of all swords in Sword)