Template:Town shops: Difference between revisions
Jump to navigation
Jump to search
m (GS4-XERAPHINA moved page Template:NPC Shops2 to Template:Town shops without leaving a redirect: differentiate from older pages.) |
(Replaced content with "<noinclude>DO NOT USE THIS TEMPLATE! THIS TEMPLATE IS FOR TESTING PURPOSES ONLY AND WILL BE DELETED AFTER TESTING IS COMPLETED AND MAIN TEMPLATE IS UPDATED! </noinclude> '''{{PAGENAME}}''' is {{#switch: {{{type|}}} | armor = an armor shop | }} in {{{realm}}}{{#switch: {{{area|}}} | {{{area|}}} | .}}") Tag: Replaced |
||
Line 1: | Line 1: | ||
<noinclude>DO NOT USE THIS TEMPLATE! THIS TEMPLATE IS FOR TESTING PURPOSES ONLY AND WILL BE DELETED AFTER TESTING IS COMPLETED AND MAIN TEMPLATE IS UPDATED! |
<noinclude>DO NOT USE THIS TEMPLATE! THIS TEMPLATE IS FOR TESTING PURPOSES ONLY AND WILL BE DELETED AFTER TESTING IS COMPLETED AND MAIN TEMPLATE IS UPDATED! |
||
</noinclude><includeonly>__NOEDITSECTION__ |
|||
</includeonly>'''{{PAGENAME}}''' is {{{the|the}}} {{#if: {{{hideitemtype|}}} | |{{{itemtype}}}}} {{{shop|shop |}}} in {{#ifeq: {{{town}}} | Ravelin |the |}} [[{{{town}}}]]. {{{1}}} |
|||
{{RoomDescription |
|||
|roomname={{{roomname}}} |
|||
|desc={{{desc}}} |
|||
|rnum={{{rnum|}}} |
|||
}} |
|||
=={{{header|Inventory}}}== |
|||
{{{2|<pre{{log2}}>}}} |
|||
{{{inventory}}} |
|||
{{{3|</pre>}}} |
|||
<includeonly> |
|||
[[Category:NPC Shops]] |
|||
[[Category:{{{town}}} Shops]] |
|||
{{#switch: {{{4}}}|yes=[[Category:{{{itemtype}}}s]]|[[Category:{{{itemtype}}} {{{Shops|Shops}}}]]}} |
|||
</includeonly><noinclude> |
|||
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.''' |
|||
<big>'''Copy/paste Code'''</big> |
|||
<pre> |
|||
<nowiki>{{NPC Shops</nowiki> |
|||
<nowiki>|itemtype = </nowiki> |
|||
<nowiki>|town = </nowiki> |
|||
<nowiki>|1 = </nowiki> |
|||
<nowiki>|roomname = </nowiki> |
|||
<nowiki>|desc = </nowiki> |
|||
<nowiki>|rnum = </nowiki> |
|||
<nowiki>|inventory = </nowiki> |
|||
<nowiki>}}</nowiki> |
|||
</pre> |
|||
*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. |
|||
<pre> |
|||
'''Shopname''' is (the item-type) shop in <nowiki>[[Town]]</nowiki>. |
|||
<nowiki>{{RoomDescription</nowiki> |
|||
<nowiki>|roomname=Name</nowiki> |
|||
<nowiki>|desc=Description</nowiki> |
|||
<nowiki>}}</nowiki> |
|||
<nowiki>== Inventory ==</nowiki> |
|||
<nowiki><pre{{log2}}></nowiki> |
|||
<nowiki><</nowiki><nowiki>/pre></nowiki> |
|||
<nowiki>{{stub}}</nowiki> |
|||
<nowiki>[[Category:NPC Shops]]</nowiki> |
|||
<nowiki>[[Category:Area Shops]]</nowiki> |
|||
<nowiki>[[Category:Itemtype Shops]]</nowiki> |
|||
</pre> |
|||
[[Category:Shop table templates]] |
|||
</noinclude> |
</noinclude> |
||
'''{{PAGENAME}}''' is {{#switch: {{{type|}}} | armor = an armor shop | }} in {{{realm}}}{{#switch: {{{area|}}} | {{{area|}}} | .}} |
Revision as of 22:10, 23 March 2024
DO NOT USE THIS TEMPLATE! THIS TEMPLATE IS FOR TESTING PURPOSES ONLY AND WILL BE DELETED AFTER TESTING IS COMPLETED AND MAIN TEMPLATE IS UPDATED!
Town shops is in {{{realm}}}.