Difference between revisions of "Template:ShopItem"

From Fallen Sword Wiki
Jump to: navigation, search
(Undo revision 158246 by Lusterless (talk))
(Added option for arena tokens)
Line 4: Line 4:
 
| {{ItemBox|{{{image|}}}}}  
 
| {{ItemBox|{{{image|}}}}}  
 
|-  
 
|-  
| align="center" | {{{price|}}} {{Gold}}
+
| align="center" | {{if: {{{price|}}}| {{{price|}}} {{Gold}}|}}{{if: {{{ATPrice|}}}| {{{ATprice|}}} {{PAT}}|}}
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
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>

Revision as of 12:25, 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
}}