Template:NPC Shops: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
m (→‎{{{header|Inventory}}}: following Z's example)
Line 19: Line 19:
This template should be used to add NPC shops that are permanent in towns using the [[ORDER]] system. It also integrates the [[:template:RoomDescription|RoomDescription]] template. '''When working on existing pages using this template, edit the page by clicking on the Edit tab at the top of that page.'''
This template should be used to add NPC shops that are permanent in towns using the [[ORDER]] system. It also integrates the [[:template:RoomDescription|RoomDescription]] template. '''When working on existing pages using this template, edit the page by clicking on the Edit tab at the top of that page.'''


'''Copy/paste Code'''<br>
<big>'''Copy/paste Code'''</big>
<pre>
<nowiki>{{NPC Shops</nowiki><br>
<nowiki>|itemtype = </nowiki><br>
<nowiki>{{NPC Shops</nowiki>
<nowiki>|town = </nowiki><br>
<nowiki>|itemtype = </nowiki>
<nowiki>|1 = </nowiki><br>
<nowiki>|town = </nowiki>
<nowiki>|roomname = </nowiki><br>
<nowiki>|1 = </nowiki>
<nowiki>|desc = </nowiki><br>
<nowiki>|roomname = </nowiki>
<nowiki>|inventory = </nowiki><br>
<nowiki>|desc = </nowiki>
<nowiki>|inventory = </nowiki>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</pre>

*For '''general stores''', add two lines: "|shop=store" and "|Shops=Stores". Stores must be with a capital S.
*For '''general stores''', add two lines: "|shop=store" and "|Shops=Stores". Stores must be with a capital S.
*To get rid of the inventory pre field, leave the inventory blank, and add "|2 = " and "|3 = ".
*To get rid of the inventory pre field, leave the inventory blank, and add "|2 = " and "|3 = ".

Revision as of 23:31, 13 October 2015

NPC Shops is the {{{itemtype}}} shop in [[{{{town}}}]]. {{{1}}}

[{{{roomname}}}]
{{{desc}}}

Inventory

{{{inventory}}}


This template should be used to add NPC shops that are permanent in towns using the ORDER system. It also integrates the RoomDescription template. When working on existing pages using this template, edit the page by clicking on the Edit tab at the top of that page.

Copy/paste Code

{{NPC Shops
|itemtype = 
|town = 
|1 = 
|roomname = 
|desc = 
|inventory = 
}}
  • For general stores, add two lines: "|shop=store" and "|Shops=Stores". Stores must be with a capital S.
  • To get rid of the inventory pre field, leave the inventory blank, and add "|2 = " and "|3 = ".
  • If there are multiple shops of the same type in a town, insert "|the = a".
  • To change the Inventory header, insert "|header = {new header}".

List of Itemtypes

Please use one of the following for the "itemtype" field. Using a different itemtype than the listed ones will create a new category and not properly categorize the shop.

  • alchemist
  • armor
  • boutique
  • cleric
  • food (use |the=a)
  • general (see above for special instructions)
  • jewelry
  • locksmith
  • magic (those dinky amulet/imbed shops)
  • Premium Home Door
  • Premium Home Fireplace
  • Premium Home Floor
  • Premium Home Furniture
  • Premium Home Wall
  • Premium Home Window
  • specialty (when the shop is unique in its purpose)
  • tobacco
  • weapon