Template:ShopItem: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Added note capabilities) |
||
Line 1: | Line 1: | ||
<includeonly> |
<includeonly> |
||
|[[{{{1}}}]]||{{{2}}} |
|[[{{{1}}}]]{{#If:{{{3|}}}|<br>''{{{3}}}''}}||{{{2}}} |
||
|- |
|- |
||
</includeonly> |
</includeonly> |
||
Line 6: | Line 6: | ||
==Use== |
==Use== |
||
<pre> |
<pre> |
||
{{ShopItem|item|price}} |
{{ShopItem|item|price|notes}} |
||
OR |
OR |
||
{{ShopItem|item page name{{!}}name displayed|price}} |
{{ShopItem|item page name{{!}}name displayed|price|notes}} |
||
</pre> |
</pre> |
||
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. |
Use the second one if you wish the display name to be different from the page it links to. |
||
Revision as of 20:50, 19 April 2008
Use
{{ShopItem|item|price|notes}} OR {{ShopItem|item page name{{!}}name displayed|price|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.