Template:Festshop: Difference between revisions

The official GemStone IV encyclopedia.
Jump to navigation Jump to search
(add year parameter)
No edit summary
(17 intermediate revisions by one other user not shown)
Line 1: Line 1:
''{{{look|What does the shop look like from the outside?}}}, {{{location|What is the Map Room # and Lich ID?}}}''
''{{{look|What does the shop look like from the outside?}}}, {{{location|What is the Map Room # and Lich ID?}}}''
{{#switch:{{PAGENAME}}|Ebon Gate 2017 Shop Listing=|A Midsummer Night's Festival 2016=|A Midsummer Night's Festival 2017=|A Midsummer Night's Festival 2018=|Festival of Lumnea 2018=|Frontier Days 2012=|Frontier Days 2015=|Frontier Days 2016=|Frontier Days 2017=|Frontier Days 2018=|Ebon Gate 2018 shop listing=|Rumor Woods 2019 shop listing‎=|#default={{#switch: {{{fest}}}
{{#if: {{{year|}}}| {{#switch: {{NAMESPACE}} | EGShop=[[Category: Ebon Gate {{{year}}} Shops]] | PSFShop=[[Category: Premium Summer Festival {{{year}}} Shops]] | #default=}}|}}<noinclude>
|eg=[[Category: Ebon Gate {{{year}}} Shops{{!}}{{{letter|E}}}]]
{{RoomDescription}}
|ff=[[Category: Festival of the Fallen {{{year}}} Shops{{!}}{{{letter|F}}}]]

|psf=[[Category: Premium Summer Festival {{{year}}} Shops{{!}}{{{letter|P}}}]]
{{sign|sign=What does the sign say?}}
|pwf=[[Category: Premium Winter Festival {{{year}}} Shops{{!}}{{{letter|P}}}]]

|fd=[[Category: Frontier Days {{{year}}} Shops{{!}}{{{letter|F}}}]]
<blockquote>
|rw=[[Category: Rumor Woods {{{year}}} Shops{{!}}{{{letter|R}}}]]
In this section (between the <nowiki><blockquote></nowiki> tags in the copy/paste code below), insert shop data by using {{boldmono|<nowiki>{{container}}</nowiki>}} to insert a container name underlined (this can be used as many times as needed). Below that you can insert data using the [[:Category:Shop table templates]] or a freshly generated table. [http://excel2wiki.net/index.php This site] is highly recommended to convert tables or tab separated values to wiki code (uncheck format header rows). Replace the first line of every table generated with {{boldmono|<nowiki>{| {{prettytable}}</nowiki>}} or revise as needed.
|vog=[[Category: Valley of Gold {{{year}}} Shops{{!}}{{{letter|V}}}]]
</blockquote>
|#default=}}}}{{#switch: {{PAGENAME}} | Ebon Gate 2017 Shop Listing=__NOEDITSECTIONS__ |#default=}}<noinclude>
This is a newer version of the [[:Template:Egshop|Egshop template]]. This template integrates a few templates that can be used repeatedly, and will categorize as needed.
{{big|'''SEE [[Help:Festshop script|HELP PAGE]] FOR FULL INSTRUCTIONS'''}}

<big>'''Copy/paste code:'''</big>
<pre{{log2}}>
<nowiki>==Shop Name==
{{Festshop
|shopname=
|look=
|location=
|year=2017
}}
{{RoomDescription|
|roomname=
|desc=
|exits=
}}
{{sign|sign=}}
<blockquote>
{{Container|container=}}
</blockquote></nowiki>
</pre>

Use templates from [[:Category:Shop table templates]] or [http://excel2wiki.net/index.php generate tables] under the Container template.

Since it is much more likely that there will be exits instead of paths, only exits are in the copy/paste code, but if it is paths, change exits to paths.

'''If there are multiple containers in a room, repeat the Container template and shop data generated as described above. Keep everything between the blockquote tags.'''

'''If there are multiple rooms to the shop, repeat all applicable code from the RoomDescription template to the bottom.'''


[[Category: Shop table templates]]</noinclude>
[[Category: Shop table templates]]</noinclude>

Revision as of 13:34, 22 June 2019

What does the shop look like from the outside?, What is the Map Room # and Lich ID?

SEE HELP PAGE FOR FULL INSTRUCTIONS