Template:ShopItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>|[[{{{1}}}]]{{#If:{{{note|}}}|&nbsp;-&nbsp;''{{{note}}}''}}||{{{2}}}
<includeonly>
|-</includeonly><noinclude>
|[[{{{1}}}]]{{#If:{{{note|}}}|&nbsp;-&nbsp;''{{{note}}}''}}||{{{2}}}
==Usage Documentation:==
|-
</includeonly>
<noinclude>
==Use==
<pre>
<pre>
{{ShopItem|item|price|note=notes}}
{{ShopItem|item|price|note=notes}}

Revision as of 18:50, 31 May 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.