Difference between revisions of "Template:Shop"

From Fallen Sword Wiki
Jump to: navigation, search
(Undo revision 158224 by Lusterless (talk))
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>__NOTOC__
 
<includeonly>__NOTOC__
 
<center> {{{banner|}}} </center><br>
 
<center> {{{banner|}}} </center><br>
 +
 +
{| border="0" style="width: 100%; text-align: middle; border:1px solid #ffcc00; background: #fffad1;" cellpadding="3" cellspacing="3"
 +
!SHOP NAME !! MIN LEVEL !! SHOP LOCATION
 +
|-
 +
! align="center" valign="top" style="width: 40%; border:1px solid #ffcc00; background: #fff0cc" cellpadding="3" cellspacing="3"| [[{{PAGENAME}}]]
 +
| align="center" valign="top" style="width: 20%; border:1px solid #ffcc00; background: #fff0cc" cellpadding="3" cellspacing="3"| {{{min-lvl|}}}
 +
| align="center" valign="top" style="width: 40%; border:1px solid #ffcc00; background: #fff0cc" cellpadding="3" cellspacing="3"| [[{{{area|}}}]] {{{area-coordinates|(?,?)}}}
 +
|}
 +
{{NL}}
 +
== <center>Items</center> ==
 
{| cellspacing="10" border="0" align="center"
 
{| cellspacing="10" border="0" align="center"
 
|- valign="bottom" align="center"
 
|- valign="bottom" align="center"
Line 108: Line 118:
 
{{#if: {{{item-name-104|}}}|{{!}}{{NL}}{{ShopItem|name={{{item-name-104}}}|image={{{item-image-104}}}|price={{formatnum:{{{item-price-104}}}}}}}| {{#if: {{{item-name-103|}}} |{{!end}} | }} }}
 
{{#if: {{{item-name-104|}}}|{{!}}{{NL}}{{ShopItem|name={{{item-name-104}}}|image={{{item-image-104}}}|price={{formatnum:{{{item-price-104}}}}}}}| {{#if: {{{item-name-103|}}} |{{!end}} | }} }}
  
=== Location ===
+
 
* [[{{{area|}}}]] {{{area-coordinates|(?,?)}}}
+
[[Category:Shops]]
 
__NOEDITSECTION__
 
__NOEDITSECTION__
 
[[Category:Shops]]
 
[[Category:Shops]]
Line 122: Line 132:
 
|area=Area Where Shop Is Located
 
|area=Area Where Shop Is Located
 
|area-coordinates=(0,0)
 
|area-coordinates=(0,0)
 +
|min-lvl=Player level shop can first be accessed.
 
|item-name-1=Item Name
 
|item-name-1=Item Name
 
|item-image-1=http://url-of-image/image1.gif
 
|item-image-1=http://url-of-image/image1.gif

Latest revision as of 17:37, 24 September 2023

Ambox_content.png Editing this template may cause all pages using it to stop working.
This is a template that is being used by many pages on the wiki. Changes made to this page is instantly applied to all these pages, and any editing mistake can break them. Do not edit the template unless you know what you are doing.
If you would like to make a customized version of this template for your own use, copy it to a new template and edit from there.

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)
|min-lvl=Player level shop can first be accessed.
|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.