Template:ShopItem: Difference between revisions
Jump to navigation
Jump to search
(Added note capabilities) |
m (Altered it to be backwards compatable) |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
|[[{{{1}}}]]{{#If:{{{ |
|[[{{{1}}}]]{{#If:{{{note|}}}|<br>''{{{note}}}''}}||{{{2}}} |
||
|- |
|- |
||
</includeonly> |
</includeonly> |
||
Line 6: | Line 6: | ||
==Use== |
==Use== |
||
<pre> |
<pre> |
||
{{ShopItem|item|price|notes}} |
{{ShopItem|item|price|note=notes}} |
||
OR |
OR |
||
{{ShopItem|item page name{{!}}name displayed|price|notes}} |
{{ShopItem|item page name{{!}}name displayed|price|note=notes}} |
||
</pre> |
</pre> |
||
Revision as of 20:54, 19 April 2008
Use
{{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.