Difference between revisions of "Template:ShopItem"

From Fallen Sword Wiki
Jump to: navigation, search
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{| style="background: transparent none repeat scroll 0% 0%;"
<div style="text-align: center; display: inline-block;">
+
| align="center" | [[{{{name|}}}]]  
[[{{{name|}}}]]<br/>
+
|-
{{ItemBox|{{{image|}}}}}<br/>
+
| {{ItemBox|{{{image|}}}}}  
{{{price|}}} {{Gold}}
+
|-
|}
+
| align="center" | {{{if: {{{price|}}} | {{#ifeq: {{{price|}}} |  |  | {{{price|}}} {{Gold}}}}| }}}{{{if: {{{ATPrice|}}} | {{#ifeq: {{{ATPrice|}}} |  |  | {{{ATPrice|}}} {{PAT}}}}| }}}
</div></includeonly>
+
|}</includeonly>
 
<noinclude>
 
<noinclude>
 
This template is supposed to be used when adding items to a [[:Category:Shops|shop page]]. Typically, this template is used in conjunction with [[User:Belgrave/Shop_Template|the shop template]]
 
This template is supposed to be used when adding items to a [[:Category:Shops|shop page]]. Typically, this template is used in conjunction with [[User:Belgrave/Shop_Template|the shop template]]
Line 13: Line 13:
 
|name=Name of the Item
 
|name=Name of the Item
 
|image=URL to Item Image
 
|image=URL to Item Image
|price=Price of the Item (in gold)  
+
|price=Price of the Item (in gold) or |ATPrice= for price of Item in Arena Tokens
 
}}
 
}}
 
</pre>
 
</pre>

Latest revision as of 13:00, 12 November 2023


This template is supposed to be used when adding items to a shop page. Typically, this template is used in conjunction with the shop template

Usage:
{{ShopItem
|name=Name of the Item
|image=URL to Item Image
|price=Price of the Item (in gold) or |ATPrice= for price of Item in Arena Tokens
}}