Category talk:Shops: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
No edit summary
(updated documentation)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|align=right
|__TOC__
|}
=Documentation=
=Documentation=
Adding or editing a shop page is relatively simple.
Adding or editing a shop page is relatively simple.


*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. 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 = Crossing |
|Town =
MapNumber = 1 |
|MapNumber =
Owner = Bob |
|Owner = (if none, put n)
NumRooms = 4 |
|Owner2 = *
Store Type = Music |
|NumRooms =
|restrict = * (is at least part of it restricted to one guild? if so, list it)
Store Type2 = Instrument |
Store Type3 = |
|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 Type4 = |
|Store Type = (Separate different Store Types with a coma)
|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 22: Line 31:


*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|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]]
<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=

== 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. --[[User:Farman|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.--[[User:Naeya|Naeya]] <sup>([[User talk:Naeya|talk]])</sup> 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 --[[User:Farman|Farman]] 11:20, 22 May 2007 (CDT)

== Accurate? ==

Probably should have asked before going through a lot of the shops, but is the the example given above accurate other than the changes to Store Type?<br>-[[User:Glimmereyes|Glimmereyes]] 10:02, 22 August 2008 (CDT)

Latest revision as of 12:05, 20 September 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. 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       = (Separate different Store Types with a coma)
|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|name=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)

Accurate?

Probably should have asked before going through a lot of the shops, but is the the example given above accurate other than the changes to Store Type?
-Glimmereyes 10:02, 22 August 2008 (CDT)