Template:Town shops: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
|paths = {{{paths|}}}
|paths = {{{paths|}}}
}}
}}
{{#if: {{{inventory|}}} | {{#if: {{{multiroom|}}} | ==={{#switch: {{{type|}}} | inn = Menu | eatery = Menu | Inventory}}=== | =={{#switch: {{{type|}}} | inn = Menu | eatery = Menu | Inventory}}==}} |}}
<div style="vertical-align: top">{{#if: {{{inventory|}}} | {{#if: {{{multiroom|}}} | <h3>{{#switch: {{{type|}}} | inn = Menu | eatery = Menu | Inventory}}</h3> | <h2>{{#switch: {{{type|}}} | inn = Menu | eatery = Menu | Inventory}}</h2>}} |}}
{{{inventory|}}}
{{{inventory|}}}</div>
<div style="vertical-align: top">{{#if: {{{backroom|}}} | {{#switch: {{{multiroom|}}} | yes = <h4>Backroom Inventory</h4> | <h3>Backroom Inventory</h3>}} |}}
<div style="vertical-align: top">{{#if: {{{backroom|}}} | {{#switch: {{{multiroom|}}} | yes = <h4>Backroom Inventory</h4> | <h3>Backroom Inventory</h3>}} |}}
{{{backroom|}}}</div><noinclude>
{{{backroom|}}}</div><noinclude>

Revision as of 14:07, 12 May 2024

Please see the town shops style guide for instructions on how to use this template. This template will only handle a single room. If a shop has multiple rooms, please use town shops addroom template for each additional room. A semantic form is available to use in lieu of using the template, as well: Form:Town shop.


Town shops is a shop in {{{realm}}} that sells .

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


{{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.-->
|backroom =                <!-- Optional. Optional. This displays inventory that is only available for purchase after a character has built up a rapport with the shop owner and is granted access to it.-->
}}