Template:Town shops: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


</noinclude>
</noinclude>
'''{{PAGENAME}}''' is {{#switch: {{{type|}}} | inn = an [[inn]] | eatery = an eatery | a shop}} in {{#if: {{{location|}}} | {{#if: {{{article|}}} | the }} [[{{{location|}}}]], around&nbsp; }}{{#switch: {{{realm|}}} | Flotilla = the&nbsp; |}}[[realm::{{{realm}}}]]{{#if: {{{location|}}} | , }} that {{#switch: {{{specialtyshop|}}} | yes = specializes in | no = sells | sells}} {{#switch: {{{wares|}}} | apparel = apparel | armor = armor | beverage = beverages | brewing = coffee and tea brewing supplies | clerical = clerical supplies | fishing = fishing supplies | fletching = archery and fletching supplies | food = food |general = general goods | grocery = groceries and/or cooking supplies | herb = healing herbs | instrument = instruments | jewelry = jewelry | locksmith = locksmith supplies | magic = magical supplies, components, and/or alchemy tools | ship = ship supplies and/or customizations | tobacco = tobacco | weapon = weapons | }}{{#if: {{{addwares|}}} | &nbsp;and {{#switch: {{{addwares|}}} | apparel = apparel | armor = armor | beverage = beverages | brewing = coffee and tea brewing supplies | clerical = clerical supplies | fishing = fishing supplies | fletching = archery and fletching supplies | food = food |general = general goods | grocery = groceries and/or cooking supplies | herb = healing herbs | instrument = instruments | jewelry = jewelry | locksmith = locksmith supplies | magic = magical supplies, components, and/or alchemy tools | ship = ship supplies and/or customizations | tobacco = tobacco | weapon = weapons | }} }}{{#if: {{{specialtyshop|}}} | {{{specialty|}}} }}{{#if: {{{wares|}}} | {{#if: {{{specialty|}}} | , and specializes in {{{specialty}}} }} |}}. {{{addinfo|}}}
'''{{PAGENAME}}''' is {{#switch: {{{type|}}} | inn = an [[inn]] | eatery = an eatery | a shop}} in {{#if: {{{location|}}} | {{#if: {{{article|}}} | the }} [[{{{location|}}}]], around&nbsp; }}{{#switch: {{{realm|}}} | Flotilla = the&nbsp; |}}[[realm::{{{realm}}}]]{{#if: {{{location|}}} | , }} that {{#switch: {{{specialtyshop|}}} | yes = specializes in | no = sells | sells}} {{#switch: {{{wares|}}} | apparel = apparel | armor = armor | beverage = beverages | brewing = coffee and/or tea brewing supplies | clerical = clerical supplies | fishing = fishing supplies | fletching = archery and fletching supplies | food = food |general = general goods | grocery = groceries and/or cooking supplies | herb = healing herbs | instrument = instruments | jewelry = jewelry | locksmith = locksmith supplies | magic = magical supplies, components, and/or alchemy tools | ship = ship supplies and/or customizations | tobacco = tobacco | weapon = weapons | }}{{#if: {{{addwares|}}} | &nbsp;and {{#switch: {{{addwares|}}} | apparel = apparel | armor = armor | beverage = beverages | brewing = coffee and tea brewing supplies | clerical = clerical supplies | fishing = fishing supplies | fletching = archery and fletching supplies | food = food |general = general goods | grocery = groceries and/or cooking supplies | herb = healing herbs | instrument = instruments | jewelry = jewelry | locksmith = locksmith supplies | magic = magical supplies, components, and/or alchemy tools | ship = ship supplies and/or customizations | tobacco = tobacco | weapon = weapons | }} }}{{#if: {{{specialtyshop|}}} | {{{specialty|}}} }}{{#if: {{{wares|}}} | {{#if: {{{specialty|}}} | , and specializes in {{{specialty}}} }} |}}. {{{addinfo|}}}
{{#if: {{{multiroom|}}} | {{#switch: {{{multiroom|}}} | yes = =={{{roomname|}}}== |}} |}}
{{#if: {{{multiroom|}}} | {{#switch: {{{multiroom|}}} | yes = =={{{roomname|}}}== |}} |}}
{{RoomDescription
{{RoomDescription
Line 15: Line 15:
{{#if: {{{inventory|}}} | <pre{{log2}}>{{{inventory|}}}</pre>|}}
{{#if: {{{inventory|}}} | <pre{{log2}}>{{{inventory|}}}</pre>|}}


<includeonly>[[shop type::{{{type|}}}|]] [[shop wares::{{{wares|}}}|]] [[shop wares::{{{addwares|}}}|]] [[shop specialty::{{{specialty|}}}|]] [[Category:Town shops]] [[Category:{{{realm}}} shops]] {{#if: {{{location|}}} | [[Category:{{{location|}}} shops]]|}} {{#switch: {{{type|}}} | inn = [[Category:Inns]] | eatery = [[Category:Eateries]] |}} {{#if: {{{specialtyshop|}}} | [[Category:Specialty shops]] |}} {{#if: {{{wares|}}} | [[Category:{{{wares}}} shops]]}} {{#if: {{{addwares|}}} | [[Category:{{{addwares}}} shops]] |}}</includeonly>
<includeonly>[[shop type::{{{type|}}}|]] [[shop wares::{{{wares|}}}|]] [[shop wares::{{{addwares|}}}|]] [[shop specialty::{{{specialty|}}}|]] [[Category:Town shops]] [[Category:{{{realm}}} shops]] {{#if: {{{location|}}} | [[Category:{{{location|}}} shops]]|}} {{#switch: {{{type|}}} | inn = [[Category:Inns]] | eatery = [[Category:Eateries]] |}} {{#if: {{{specialtyshop|}}} | [[Category:Specialty shops]] |}} {{#if: {{{wares|}}} | {{#switch: {{{wares|}}} | general = [[Category:General stores]] | grocery = [[Category:Grocers]] | fletching = [[Category:Fletcher shops]] | [[Category:{{{wares}}} shops}} |}}{{#if: {{{addwares|}}} | [[Category:{{{addwares}}} shops]] |}}</includeonly>
<noinclude>
<noinclude>
<pre><nowiki>{{Town shops
<pre><nowiki>{{Town shops

Revision as of 20:21, 19 April 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 a shop in {{{realm}}} that sells .

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

Inventory

{{Town shops
|type =                    <!-- Required. Valid choices are inn or eatery.  Leave blank if just a shop. -->
|realm =                   <!-- Required. Valid choices are realm only.  For in depth location information, use "location" parameter.
|article =                 <!-- Optional. To be used with location parameter if the location has "the" in the official name, ie. the Ravelin.  Leave blank otherwise. -->
|location =                <!-- Optional. Meant to denote if a shop is found in a small town/settlement outside the "town proper," ie. Ravelin, which is outside of Ta'Vaalor. -->
|specialtyshop =           <!-- Optional. Any entry will populate "specializes in".  Leave blank for "sells" -->
|wares =                   <!-- Required in all but specialty shops. Valid choices are apparel, armor, beverage, brewing, clerical, fishing, fletching, food, general, grocery, herb, instrument, jewelry, locksmith, magic, ship, tobacco, weapon -->
|addwares =                <!-- Optional. Should only be used if a store specializes in two main types of items, eg. brewing supplies AND tobacco.  Valid choices are same as wares. -->
|specialty =               <!-- Optional. Specialty item. To be used with specialtyshop parameter or if a shop falls within the regular wares, but has a focus, ie. a shoe store falls under apparel wares, but only sells shoes. -->
|addinfo =                 <!-- Optional. Any additional information for the shop. -->

|multiroom =               <!-- Optional. Any entry will populate the header for the first room only. Other room headers will need to be manually created, and the room description template added.-->
|roomname =                <!-- Required. Name of the room.
|desc =                    <!-- Required. Description of the room.
|rnum =                    <!-- Optional. Lich room ID.
|realrnum =                <!-- Optional. Real room ID.  Will only populate if rnum is present. -->
|exits =                   <!-- Optional. Inside rooms only. -->
|paths =                   <!-- Optional. Outside rooms only. -->

|inventory =               <!-- Required. This should be a copy and paste of the output when using ORDER, or in some cases the sign indicating a menu, as well as the customization options available.
}}