Search: Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login

Wiki > Inventory Lists

Inventory lists provide an easy way to manage lists of items and the people that can make them. For example, makers of [raeli tiles]? can maintain personal lists of what tiles they can produce, while those looking for a specific color of tile can check a master list of what suppliers can make each type of tile.

Create an inventory list by placing a list of items in a page located under the users or guilds topic, and marking it with the $INVENTORY directive.

  $INVENTORY Tiles_Order
  * black
  * white
  * alice blue - a lovely color!

The above example generates a list of three colors (black, white, and alice blue) in the "Tiles_Order" inventory. Inventory names (like "Tiles_Order") must contain only letters, numbers, and underscores, and can be only a single word. Entries in the inventory can be multiple words (such as "alice blue"). You can include comments in a list by separating them from the item with a dash (" - ") as shown above.

You may include multiple lists on the same page--even multiple lists in the same inventory topic. For example, look at the [Chafbron tile list]? which has a separate list for each oven.

Display a list using the $INCLUDE INVENTORY directive:

  $INCLUDE INVENTORY Tiles_Order

This will generate a table listing every item in that inventory, and the suppliers that list it. For example:

black Chafbron? Kem
alice blue Kem
white Chafbron? Kem Esme?

The supplier name is taken from the second level subpage in which the list appeared, or the page name if the list is not in a subpage. For example, lists in Chafbron, Guilds/Chafbron, or Guilds/Chafbron/Tiles will all appear under the name "Chafbron".

Existing lists

When adding a list page, please list the inventories included for user convenience!


Home | Atlas | Guides | Tests | Research | Index | Recent Changes | Preferences | Login
This page is read-only | | Create/Edit another page | View other revisions
Last edited July 7, 2005 7:08 pm by Zignotrop (diff)
Search: