Template:NPC Shops: Difference between revisions
Jump to navigation
Jump to search
MOD-GSMOTTE (talk | contribs) (Editing a word in the template and hoping the wiki doesn't explode. May revert if it causes issues.) |
MOD-GSMOTTE (talk | contribs) (Undo revision 137095 by MOD-GSMOTTE (talk)) |
||
Line 1: | Line 1: | ||
<includeonly>__NOEDITSECTION__ |
<includeonly>__NOEDITSECTION__ |
||
</includeonly>'''{{PAGENAME}}''' is {{{ |
</includeonly>'''{{PAGENAME}}''' is {{{the|the}}} {{#if: {{{hideitemtype|}}} | |{{{itemtype}}}}} {{{shop|shop}}} in {{#ifeq: {{{town}}} | Ravelin |the |}} [[{{{town}}}]]. {{{1}}} |
||
{{RoomDescription |
{{RoomDescription |
Revision as of 08: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]]