Template:ShopItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(modified it so the case of the shop item does not matter)
Line 1: Line 1:
<includeonly>|[[{{{1}}}]]{{#If:{{{note|}}}|&nbsp;-&nbsp;''{{{note}}}''}}||{{{2|?}}}
<includeonly>|[[{{ucfirst:{{lc:{{{1}}}}}}}]]{{#If:{{{note|}}}|&nbsp;-&nbsp;''{{{note}}}''}}||{{{2|?}}}
|-</includeonly><noinclude>
|-</includeonly><noinclude>
==Usage Documentation:==
==Usage Documentation:==

Revision as of 21:06, 10 June 2008

Usage Documentation:

{{ShopItem|item|price|note=notes}}

OR

{{ShopItem|item page name{{!}}name displayed|price|note=notes}}

The notes will display in italics below the main entry. Use the second one if you wish the display name to be different from the page it links to.

NOTE: You do not need to input the coin type. Also, do not include the article (a, an, some) in the item; it will cause issues with linking.