Template:ShopItem: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
|[[{{{1}}}]]||{{{2}}} <!--{{#switch: {{{3}}}
|[[{{{1}}}]]||{{{2}}}
| k
| K
| kro
| Kro
| kronar
| Kronar
| Kronars
| kronars = Kronars
| l
| L
| lir
| Lir
| lirum
| Lirum
| Lirums
| lirums = Lirums
| d
| D
| Dok
| dok
| dokora
| Dokora
| Dokoras
| dokoras = Dokoras
}}-->
|-
|-
</includeonly>
</includeonly>
<noinclude>
<noinclude>
==Use==

Usage:

<pre>
<pre>
{{ShopItem|item|price}}
{{ShopItem|item|price}}

OR

{{ShopItem|item page name{{!}}name displayed|price}}
</pre>
</pre>


'''NOTE:''' You NO LONGER need to input the coin type. Simply enter the item and the price.
Use the second one if you wish the display name to be different from the page it links to.

[[Category:Shop Templates|{{PAGENAME}}]][[Category:Templates|{{PAGENAME}}]]</noinclude>
'''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.
[[Category:Shop Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 18:15, 18 April 2008


Use

{{ShopItem|item|price}}

OR

{{ShopItem|item page name{{!}}name displayed|price}}

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.