Category talk:Shops: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
m (Updated to match the new shop templates)
Line 6: Line 6:


*Edit an existing shop page or create a new one.
*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 4 [[:category:Shops by Type|store types]] currently. Only include extra type field if they are needed.
*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 [[:category:Shops by Type|store types]] currently. Only include fields marked with a * if they are needed.
<pre>
<pre>
{{Store At A Glance |
{{Store At A Glance
Store Name = Bards R Us |
|Store Name =
Province = Zoluren |
|Province =
Town = The Crossing |
|Town =
MapNumber = 1 |
|MapNumber =
Owner = Bob |
|Owner = (if none, put n)
NumRooms = 4 |
|Owner2 = *
Store Type = Music |
|NumRooms =
|guildres = * (is at least part of it restricted to one guild? if so, list it)
Store Type2 = Instrument |
Store Type3 = |
|guildres2 = *
|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 Type4 = |
|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)
}}
}}
</pre>
</pre>
Line 25: Line 34:


*Next put in the room description via the [[Template:ShopDescription]]
*Next put in the room description via the [[Template:ShopDescription]]
*Then, if prices may differ from listed via haggling or other factors, put in <pre>{{ShopPriceDiffer}}</pre>
*Then, if prices may differ from listed via haggling or other factors, put in
:<pre>{{ShopPriceDiffer}}</pre>
*Each inventory table begins with [[Template:ShopHeader]]
*Each inventory table begins with [[Template:ShopHeader]]
:Example:
:Example:
<pre>{{ShopHeader|title=Page 3 - Flutes and Things}}</pre>
:<pre>{{ShopHeader|title=Page 3 - Flutes and Things}}</pre>
*This is followed by individual items input using [[Template:ShopItem]]
*This is followed by individual items input using [[Template:ShopItem]]
:Examples:
:Examples:
<pre>{{ShopItem|Flute|400}}
:<pre>{{ShopItem|Lute|800|note=This is a lute not loot!}}</pre>
:OR
{{ShopItem|Lute|600}}</pre>
:<pre>{{ShopItem|golden fleece{{!}}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]]
<pre>{{ShopFootnote|This is a note}}</pre>
:<pre>{{ShopFootnote|This is a note}}</pre>
*Finally, close the table with '''|}'''
*Finally, close the table with '''|}'''


See [[A Bit For Horses]] for an example shop.
See [[A Bit For Horses]] for an example shop.


Any questions, see [[User talk:Naeya|Naeya]] or [[User talk:Callek|Callek]]
Any questions, see [[User talk:Naeya|Naeya]], [[User talk:Callek|Callek]], or [[User talk:Caraamon|Caraamon]].
=Discussion=
=Discussion=



Revision as of 18:00, 31 May 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         = 
|guildres         = * (is at least part of it restricted to one guild? if so, list it)
|guildres2        = *
|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}}
Example:
{{ShopHeader|title=Page 3 - Flutes and Things}}
Examples:
{{ShopItem|Lute|800|note=This is a lute not loot!}}
OR
{{ShopItem|golden fleece{{!}}Nice shiny stuff|200|note=Shiny!}}
{{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)