Category talk:Shops: Difference between revisions
(updated documentation) |
(updated documentation) |
||
Line 43: | Line 43: | ||
:<pre>{{ShopItem|Lute|800|note=This is a lute not loot!}}</pre> |
:<pre>{{ShopItem|Lute|800|note=This is a lute not loot!}}</pre> |
||
:OR |
:OR |
||
:<pre>{{ShopItem|golden fleece |
:<pre>{{ShopItem|golden fleece|name=Nice shiny stuff|200|note=Shiny!}}</pre> |
||
*You no longer need to input the coin type. |
*You no longer need to input the coin type. |
||
*Notes can be added to the table using [[Template:ShopFootnote]] |
*Notes can be added to the table using [[Template:ShopFootnote]] |
Revision as of 10:37, 2 July 2008
Documentation
Adding or editing a shop page is relatively simple.
- Edit an existing shop page or create a new one.
- The first template to add is Template:Store At A Glance. For existing shops, verify the information in the template is correct. There are fields for up to 10 store types currently. Only include fields marked with a * if they are needed.
{{Store At A Glance |Store Name = |Province = |Town = |MapNumber = |Owner = (if none, put n) |Owner2 = * |NumRooms = |restrict = * (is at least part of it restricted to one guild? if so, list it) |restrict2 = * |levelres = * (is at least part of it restricted to a minimum level, either of a specific guild or just in general? if so list it as a number) |Store Type = |Store Type2 = * ..... |Store Type10 = * |Fest = * (If this is a festival shop or a merchant that is not always available, put the festival name, or if it |Fest2 = * is unknown, put "y". If they are a wandering merchant, put W. |Fest3 = * The additional slots are for use when the same merchant shows up with the *same wares* at multiple festivals) |Fest4 = * |Coin = (For festival or rare merchants, what currency they accept) }}
If a field is unknown, please leave it blank.
- Next put in the room description via the Template:ShopDescription
- Then, if prices may differ from listed via haggling or other factors, put in
{{ShopPriceDiffer}}
- Each inventory table begins with Template:ShopHeader
- Example:
{{ShopHeader|title=Page 3 - Flutes and Things}}
- This is followed by individual items input using Template:ShopItem
- Examples:
{{ShopItem|Lute|800|note=This is a lute not loot!}}
- OR
{{ShopItem|golden fleece|name=Nice shiny stuff|200|note=Shiny!}}
- You no longer need to input the coin type.
- Notes can be added to the table using Template:ShopFootnote
{{ShopFootnote|This is a note}}
- Finally, close the table with |}
See A Bit For Horses for an example shop.
Any questions, see Naeya, Callek, or Caraamon.
Discussion
Whaddya think about adding sectional headings to the templates?
I've been browsing a few of the shop pages and I think it would be nice to add automatic sectional headers. That would make it a lot easier to browse the shops IMO. I'm talking about making individual rooms in a shop their own second-level header, and shop display areas (racks, shelves, etc) their own third-level header. All it would take is a simple addition to Template:ShopDescription and Template:ShopHeader.
This would also allow the use of intra-page wikilinks in the room descriptions to tag doors, curtains, arches etc so they link directly to the area of the shop the portals lead to. --Farman 11:06, 21 May 2007 (CDT)
- It should be relatively easy. All of the shops have been converted to the new templates now (*pants*). While I'm loathe to go through them all again, this is a sound idea.--Naeya (talk) 12:47, 21 May 2007 (CDT)
Well I tried it but reverted back almost immediately. I ran into the same problem that led me to redo the spell templates, namely, putting section headers in a template means that when you try to edit such a section from the article page, you end up editing the template and not the article data. Oh well :P --Farman 11:20, 22 May 2007 (CDT)