Template:NPC Shops: Difference between revisions
(Allow itemtype to be omitted in the lead description.) |
No edit summary |
||
(32 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{deprecated|template}}Please see [[Template:Town shops]] and [[Gswiki:Style guide/Town shops]] for updated information on how to handle town shops. |
|||
⚫ | |||
</noinclude><includeonly>__NOEDITSECTION__ |
|||
⚫ | |||
{{RoomDescription |
{{RoomDescription |
||
|roomname={{{roomname}}} |
|roomname={{{roomname}}} |
||
|desc={{{desc}}} |
|desc={{{desc}}} |
||
|rnum={{{rnum|}}} |
|||
}} |
}} |
||
Line 14: | Line 18: | ||
[[Category:NPC Shops]] |
[[Category:NPC Shops]] |
||
[[Category:{{{town}}} Shops]] |
[[Category:{{{town}}} Shops]] |
||
[[Category:{{{itemtype}}} {{{Shops|Shops}}}]] |
{{#switch: {{{4}}}|yes=[[Category:{{{itemtype}}}s]]|[[Category:{{{itemtype}}} {{{Shops|Shops}}}]]}} |
||
</includeonly><noinclude> |
</includeonly><noinclude> |
||
Line 27: | Line 31: | ||
<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. |
||
*For '''post offices''' and '''florists''', add three lines: "|shop=", "|Shops=", and "|4=yes" |
|||
*The |1 = line is used to add any extra commentary on the shop beyond its type and location. |
*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 = ". |
||
Line 54: | Line 60: | ||
*locksmith |
*locksmith |
||
*magic (those dinky amulet/imbed shops) |
*magic (those dinky amulet/imbed shops) |
||
*post office |
|||
*specialty (when the shop is unique in its purpose) |
*specialty (when the shop is unique in its purpose) |
||
*tobacco |
*tobacco |
||
Line 80: | Line 87: | ||
<nowiki>[[Category:Itemtype Shops]]</nowiki> |
<nowiki>[[Category:Itemtype Shops]]</nowiki> |
||
</pre> |
</pre> |
||
[[Category: |
[[Category:Shop table templates]] |
||
</noinclude> |
</noinclude> |
Latest revision as of 13:20, 8 May 2024
This template is deprecated and is no longer implemented. Information in this article is presented for historical reference only. |
Please see Template:Town shops and Gswiki:Style guide/Town shops for updated information on how to handle town shops.
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.
- For post offices and florists, add three lines: "|shop=", "|Shops=", and "|4=yes"
- 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)
- post office
- 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]]