Difference between revisions of "Template:ShopItem"

From Fallen Sword Wiki
Jump to: navigation, search
(force background to be transparent)
 
(22 intermediate revisions by 3 users not shown)
Line 4: Line 4:
 
| {{ItemBox|{{{image|}}}}}  
 
| {{ItemBox|{{{image|}}}}}  
 
|-  
 
|-  
| align="center" | {{{price|}}} {{Gold}}
+
| align="center" | {{{if: {{{price|}}} | {{#ifeq: {{{price|}}} |  |  | {{{price|}}} {{Gold}}}}| }}}{{{if: {{{ATPrice|}}} | {{#ifeq: {{{ATPrice|}}} |  |  | {{{ATPrice|}}} {{PAT}}}}| }}}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
Line 11: Line 11:
 
'''Usage:'''<pre>
 
'''Usage:'''<pre>
 
{{ShopItem
 
{{ShopItem
|name=The Name Of The Item
+
|name=Name of the Item
|image=URL to item image
+
|image=URL to Item Image
|price=The price, in gold, of the item
+
|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
}}