Template:NPC Shops: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(Undo revision 137095 by MOD-GSMOTTE (talk))
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<includeonly>__NOEDITSECTION__
'''{{PAGENAME}}''' is {{{the|the}}} {{{itemtype}}} {{{shop|shop}}} in [[{{{town}}}]]. {{{1}}}
</includeonly>'''{{PAGENAME}}''' is {{{the|the}}} {{#if: {{{hideitemtype|}}} | |{{{itemtype}}}}} {{{shop|shop}}} in {{#ifeq: {{{town}}} | Ravelin |the |}} [[{{{town}}}]]. {{{1}}}


{{RoomDescription
{{RoomDescription
|roomname={{{roomname}}}
|roomname={{{roomname}}}
|desc={{{desc}}}
|desc={{{desc}}}
|rnum={{{rnum|}}}
}}
}}


== {{{header|Inventory}}} ==
=={{{header|Inventory}}}==
{{{2|<pre{{log2}}>}}}
{{{2|<pre{{log2}}>}}}
{{{inventory}}}
{{{inventory}}}
Line 27: Line 29:
<nowiki>|roomname = </nowiki>
<nowiki>|roomname = </nowiki>
<nowiki>|desc = </nowiki>
<nowiki>|desc = </nowiki>
<nowiki>|rnum = </nowiki>
<nowiki>|inventory = </nowiki>
<nowiki>|inventory = </nowiki>
<nowiki>}}</nowiki>
<nowiki>}}</nowiki>
</pre>
</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.
*The |1 = line is used to add any extra commentary on the shop beyond its type and location.
*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 = ".
*If there are multiple shops of the same type in a town, insert "|the = a".
*If there are multiple shops of the same type in a town, insert "|the = a".
*To change the Inventory header, insert "|header = {new header}".
*To change the Inventory header, insert "|header = {new header}".
*To omit the item type in the lead section (for example, "a tavern" instead of "a food shop"), add "|hideitemtype=true" and set "|shop=" to be the appropriate noun. The "itemtype" field should still be set to one of the legal fields (see section below).


===List of Itemtypes===
===List of Itemtypes===
Line 41: Line 46:
*boutique
*boutique
*cleric
*cleric
*cobbling
*fishing
*fletcher
*florist
*food (use |the=a)
*food (use |the=a)
*general (see above for special instructions)
*general (see above for special instructions)
*herb
*herb
*instrument
*jewelry
*jewelry
*locksmith
*locksmith
*magic (those dinky amulet/imbed shops)
*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)
*specialty (when the shop is unique in its purpose)
*tobacco
*tobacco
Line 79: Line 83:
<nowiki>[[Category:Itemtype Shops]]</nowiki>
<nowiki>[[Category:Itemtype Shops]]</nowiki>
</pre>
</pre>
[[Category: Templates]]
[[Category:Shop table templates]]
</noinclude>
</noinclude>

Revision as of 09:42, 13 September 2020

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 = 
|rnum = 
|inventory = 
}}
  • For general stores, add two lines: "|shop=store" and "|Shops=Stores". Stores must be with a capital S.
  • The |1 = line is used to add any extra commentary on the shop beyond its type and location.
  • 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}".
  • To omit the item type in the lead section (for example, "a tavern" instead of "a food shop"), add "|hideitemtype=true" and set "|shop=" to be the appropriate noun. The "itemtype" field should still be set to one of the legal fields (see section below).

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
  • cobbling
  • fishing
  • fletcher
  • florist
  • food (use |the=a)
  • general (see above for special instructions)
  • herb
  • instrument
  • jewelry
  • locksmith
  • magic (those dinky amulet/imbed shops)
  • specialty (when the shop is unique in its purpose)
  • tobacco
  • weapon

Original Code

If you are template-averse, you can enter the old code and someone will go in and fix the page for you.

'''Shopname''' is (the item-type) shop in [[Town]].

{{RoomDescription
|roomname=Name
|desc=Description
}}

== Inventory ==
<pre{{log2}}>

</pre>

{{stub}}

[[Category:NPC Shops]]
[[Category:Area Shops]]
[[Category:Itemtype Shops]]