Difference between revisions of "Template:Shop"
From Fallen Sword Wiki
(There we go, template works fine now!) |
|||
Line 28: | Line 28: | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
− | This is the template for [[:Category:Shops|shop pages]] | + | {{Warningbox |
+ | |Title=Do not edit this page | ||
+ | |Text=If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there.<br>'''Editing this page may cause the template to stop working properly for other pages currently using this template.''' | ||
+ | }} | ||
+ | This is the template for [[:Category:Shops|shop pages.]] Use it when creating new pages for shops throughout the realms of Fallen Sword. | ||
+ | Currently, the template only accepts prices in gold, but if there are shops out there with prices in anything else (e.g. [[FSP]]s) then contact [[User:Isakus|me]] and I'll fix it. | ||
<pre> | <pre> | ||
{{Shop | {{Shop | ||
− | |item-name-1= | + | |banner=http://url-of-image/banner.gif |
− | |item-image-1= | + | |area=Area Where Shop Is Located |
+ | |area-coordinates=(0,0) | ||
+ | |item-name-1=Item Name | ||
+ | |item-image-1=http://url-of-image/image1.gif | ||
|item-price-1=Price (in gold) of first item | |item-price-1=Price (in gold) of first item | ||
<!-- repeat for additional items, (item-name-2=Name Of Second Item) etc. --> | <!-- repeat for additional items, (item-name-2=Name Of Second Item) etc. --> | ||
}} | }} | ||
</pre> | </pre> | ||
− | Template contains parameters for item-name-1 through item-name-9 with corresponding item-image-N and item-price-N. | + | Template contains parameters for '''item-name-1''' through '''item-name-9''' with corresponding '''item-image-N''' and '''item-price-N'''. |
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 15:55, 22 June 2009
Do not edit this page | |
If you need to customize this template to fit your own needs, copy the code into a fresh template and work from there. Editing this page may cause the template to stop working properly for other pages currently using this template. |
This is the template for shop pages. Use it when creating new pages for shops throughout the realms of Fallen Sword.
Currently, the template only accepts prices in gold, but if there are shops out there with prices in anything else (e.g. FSPs) then contact me and I'll fix it.
{{Shop |banner=http://url-of-image/banner.gif |area=Area Where Shop Is Located |area-coordinates=(0,0) |item-name-1=Item Name |item-image-1=http://url-of-image/image1.gif |item-price-1=Price (in gold) of first item <!-- repeat for additional items, (item-name-2=Name Of Second Item) etc. --> }}
Template contains parameters for item-name-1 through item-name-9 with corresponding item-image-N and item-price-N.