Template:Guild Opening Times: Difference between revisions
m (removed additional newlines) |
(added optional short format) |
||
Line 5: | Line 5: | ||
--> | --> | ||
| alchemy = {{#switch:{{lc:{{{2}}}}} | | alchemy = {{#switch:{{lc:{{{2}}}}} | ||
| bastok = The [[Alchemists' Guild (Bastok)]] is open ''8:00 - 23:00''.<br> | | bastok = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Light|Lightsday}}.''|The [[Alchemists' Guild (Bastok)]] is open ''8:00 - 23:00''.<br> | ||
Closed for holiday on {{Light|Lightsday}}. | Closed for holiday on {{Light|Lightsday}}.}} | ||
| aht urhgan whitegate | whitegate = The [[Alchemists' Guild (Aht Urhgan Whitegate)]] is open ''8:00 - 23:00''.<br> | | aht urhgan whitegate | whitegate = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Lightning|Lightningsday}}.''|The [[Alchemists' Guild (Aht Urhgan Whitegate)]] is open ''8:00 - 23:00''.<br> | ||
Closed for holiday on {{Lightning|Lightningsday}}. | Closed for holiday on {{Lightning|Lightningsday}}.}} | ||
| all | #default = The Alchemists' Guild<span class="toau">s</span> of [[Alchemists' Guild (Bastok)|Bastok]]<span class="toau"> and [[Alchemists' Guild (Aht Urhgan Whitegate)|Aht Urhgan Whitegate]] are</span><span class="toaulive"> is</span> open ''8:00 - 23:00''.<br><span class="toau">They are c</span><span class="toaulive">C</span>losed for holiday on {{Light|Lightsday}}<span class="toau"> ([[Alchemists' Guild (Bastok)|Bastok]]) and {{Lightning|Lightningsday}} ([[Alchemists' Guild (Aht Urhgan Whitegate)|Aht Urhgan Whitegate]]), respectively</span>.}}<!-- | | all | #default = The Alchemists' Guild<span class="toau">s</span> of [[Alchemists' Guild (Bastok)|Bastok]]<span class="toau"> and [[Alchemists' Guild (Aht Urhgan Whitegate)|Aht Urhgan Whitegate]] are</span><span class="toaulive"> is</span> open ''8:00 - 23:00''.<br><span class="toau">They are c</span><span class="toaulive">C</span>losed for holiday on {{Light|Lightsday}}<span class="toau"> ([[Alchemists' Guild (Bastok)|Bastok]]) and {{Lightning|Lightningsday}} ([[Alchemists' Guild (Aht Urhgan Whitegate)|Aht Urhgan Whitegate]]), respectively</span>.}}<!-- | ||
Line 14: | Line 14: | ||
--> | --> | ||
| bonecraft = {{#switch:{{lc:{{{2}}}}} | | bonecraft = {{#switch:{{lc:{{{2}}}}} | ||
| windurst | all | #default = The [[Boneworkers' Guild (Windurst)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Wind|Windsday}}.}}<!-- | | windurst | all | #default = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Wind|Windsday}}.''|The [[Boneworkers' Guild (Windurst)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Wind|Windsday}}.}}}}<!-- | ||
Clothcraft | Clothcraft | ||
--> | --> | ||
| clothcraft = {{#switch:{{lc:{{{2}}}}} | | clothcraft = {{#switch:{{lc:{{{2}}}}} | ||
| windurst = The [[Weavers' Guild (Windurst)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}. | | windurst = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 6:00 - 21:00. Holiday: {{Fire|Firesday}}.''|The [[Weavers' Guild (Windurst)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}.}} | ||
| selbina = The [[Weavers' Guild (Selbina)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}. | | selbina = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 6:00 - 21:00. Holiday: {{Fire|Firesday}}.''|The [[Weavers' Guild (Selbina)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}.}} | ||
| al zahbi = The [[Weavers' Guild (Al Zahbi)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}. | | al zahbi = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 6:00 - 21:00. Holiday: {{Fire|Firesday}}.''|The [[Weavers' Guild (Al Zahbi)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{fire|Firesday}}.}} | ||
| all | #default = The Weavers' Guilds of [[Weavers' Guild (Windurst)|Windurst]]<span class="toau">, [[Weavers' Guild (Al Zahbi)|Al Zahbi]]</span> and [[Weavers' Guild (Selbina)|Selbina]] are open ''6:00 - 21:00''.<br>They are closed for holiday on {{fire|Firesday}}.}}<!-- | | all | #default = The Weavers' Guilds of [[Weavers' Guild (Windurst)|Windurst]]<span class="toau">, [[Weavers' Guild (Al Zahbi)|Al Zahbi]]</span> and [[Weavers' Guild (Selbina)|Selbina]] are open ''6:00 - 21:00''.<br>They are closed for holiday on {{fire|Firesday}}.}}<!-- | ||
Line 27: | Line 27: | ||
--> | --> | ||
| cooking = {{#switch:{{lc:{{{2}}}}} | | cooking = {{#switch:{{lc:{{{2}}}}} | ||
| windurst | all | #default = The [[Culinarians' Guild (Windurst)]] is open ''5:00 - 20:00''.<br>Closed for holiday on {{Dark|Darksday}}.}}<!-- | | windurst | all | #default = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 5:00 - 20:00. Holiday: {{Dark|Darksday}}.''|The [[Culinarians' Guild (Windurst)]] is open ''5:00 - 20:00''.<br>Closed for holiday on {{Dark|Darksday}}.}}}}<!-- | ||
Goldsmithing | Goldsmithing | ||
--> | --> | ||
| goldsmithing = {{#switch:{{lc:{{{2}}}}} | | goldsmithing = {{#switch:{{lc:{{{2}}}}} | ||
| mhaura = The [[Goldsmiths' Guild (Mhaura)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Ice|Iceday}}. | | mhaura = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Ice|Iceday}}.''|The [[Goldsmiths' Guild (Mhaura)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Ice|Iceday}}.}} | ||
| bastok = The [[Goldsmiths' Guild (Bastok)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Ice|Iceday}}. | | bastok = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Ice|Iceday}}.''|The [[Goldsmiths' Guild (Bastok)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Ice|Iceday}}.}} | ||
| all | #default = The Goldsmiths' guilds of [[Goldsmiths' Guild (Bastok)|Bastok]] and [[Goldsmiths' Guild (Mhaura)|Mhaura]] are open ''8:00 - 23:00''.<br>They are closed for holiday on {{Ice|Iceday}}.}}<!-- | | all | #default = The Goldsmiths' guilds of [[Goldsmiths' Guild (Bastok)|Bastok]] and [[Goldsmiths' Guild (Mhaura)|Mhaura]] are open ''8:00 - 23:00''.<br>They are closed for holiday on {{Ice|Iceday}}.}}<!-- | ||
Line 39: | Line 39: | ||
--> | --> | ||
| leathercraft = {{#switch:{{lc:{{{2}}}}} | | leathercraft = {{#switch:{{lc:{{{2}}}}} | ||
| sandoria | all | #default = The [[Tanners' Guild (San d'Oria)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Ice|Iceday}}.}}<!-- | | sandoria | all | #default = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 3:00 - 18:00. Holiday: {{Ice|Iceday}}.''|The [[Tanners' Guild (San d'Oria)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Ice|Iceday}}.}}}}<!-- | ||
Smithing | Smithing | ||
--> | --> | ||
| smithing | blacksmithing = {{#switch:{{lc:{{{2}}}}} | | smithing | blacksmithing = {{#switch:{{lc:{{{2}}}}} | ||
| bastok = The [[Blacksmiths' Guild (Bastok)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}. | | bastok = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Water|Watersday}}.''|The [[Blacksmiths' Guild (Bastok)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}.}} | ||
| sandoria = The [[Blacksmiths' Guild (San d'Oria)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}. | | sandoria = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Water|Watersday}}.''|The [[Blacksmiths' Guild (San d'Oria)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}.}} | ||
| mhaura = The [[Blacksmiths' Guild (Mhaura)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}. | | mhaura = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Water|Watersday}}.''|The [[Blacksmiths' Guild (Mhaura)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}.}} | ||
| al zahbi = The [[Blacksmiths' Guild (Al Zahbi)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}. | | al zahbi = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 8:00 - 23:00. Holiday: {{Water|Watersday}}.''|The [[Blacksmiths' Guild (Al Zahbi)]] is open ''8:00 - 23:00''.<br>Closed for holiday on {{Water|Watersday}}.}} | ||
| all | #default = The Blacksmiths' guilds of [[Blacksmiths' Guild (Bastok)|Bastok]], [[Blacksmiths' Guild (San d'Oria)|San d'Oria]]<span class="toau">, [[Blacksmiths' Guild (Al Zahbi)|Al Zahbi]]</span> and [[Blacksmiths' Guild (Mhaura)|Mhaura]] are open ''8:00 - 23:00''.<br>They are closed for holiday on {{Water|Watersday}}.}}<!-- | | all | #default = The Blacksmiths' guilds of [[Blacksmiths' Guild (Bastok)|Bastok]], [[Blacksmiths' Guild (San d'Oria)|San d'Oria]]<span class="toau">, [[Blacksmiths' Guild (Al Zahbi)|Al Zahbi]]</span> and [[Blacksmiths' Guild (Mhaura)|Mhaura]] are open ''8:00 - 23:00''.<br>They are closed for holiday on {{Water|Watersday}}.}}<!-- | ||
Line 53: | Line 53: | ||
--> | --> | ||
| woodworking = {{#switch:{{lc:{{{2}}}}} | | woodworking = {{#switch:{{lc:{{{2}}}}} | ||
| sandoria = The [[Carpenters' Guild (San d'Oria)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{Fire|Firesday}}. | | sandoria = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 6:00 - 21:00. Holiday: {{Fire|Firesday}}.''|The [[Carpenters' Guild (San d'Oria)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{Fire|Firesday}}.}} | ||
| al zahbi = The [[Carpenters' Guild (Al Zahbi)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{Fire|Firesday}}. | | al zahbi = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 6:00 - 21:00. Holiday: {{Fire|Firesday}}.''|The [[Carpenters' Guild (Al Zahbi)]] is open ''6:00 - 21:00''.<br>Closed for holiday on {{Fire|Firesday}}.}} | ||
| carpenters landing = The [[Carpenters' Guild (San d'Oria)]] branch in [[Carpenters' Landing]] is open ''5:00 - 22:00''.<br> | | carpenters landing = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 5:00 - 22:00. Holiday: {{Fire|Firesday}}.''|The [[Carpenters' Guild (San d'Oria)]] branch in [[Carpenters' Landing]] is open ''5:00 - 22:00''.<br> | ||
Closed for holiday on {{Fire|Firesday}}. | Closed for holiday on {{Fire|Firesday}}.}} | ||
| all | #default = The Carpenters' Guild<span class="toau">s</span> of [[Carpenters' Guild (San d'Oria)|San d'Oria]]<span class="toau">, [[Carpenters' Guild (Al Zahbi)|Al Zahbi]]</span> and the [[Beugungel|branch in Carpenters' Landing]] are open ''6:00 - 21:00'' ([[Carpenters' Guild (San d'Oria)|San d'Oria]]<span class="toau"> and [[Carpenters' Guild (Al Zahbi)|Al Zahbi]]</span>) and ''5:00 - 22:00'' ([[Beugungel|Carpenters' Landing]]), respectively.<br> | | all | #default = The Carpenters' Guild<span class="toau">s</span> of [[Carpenters' Guild (San d'Oria)|San d'Oria]]<span class="toau">, [[Carpenters' Guild (Al Zahbi)|Al Zahbi]]</span> and the [[Beugungel|branch in Carpenters' Landing]] are open ''6:00 - 21:00'' ([[Carpenters' Guild (San d'Oria)|San d'Oria]]<span class="toau"> and [[Carpenters' Guild (Al Zahbi)|Al Zahbi]]</span>) and ''5:00 - 22:00'' ([[Beugungel|Carpenters' Landing]]), respectively.<br> | ||
They are closed for holiday on {{Fire|Firesday}}. | They are closed for holiday on {{Fire|Firesday}}. | ||
Line 64: | Line 64: | ||
--> | --> | ||
| fishing = {{#switch:{{lc:{{{2}}}}} | | fishing = {{#switch:{{lc:{{{2}}}}} | ||
| windurst = The [[Fishermen's Guild (Windurst)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | windurst = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 3:00 - 18:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Windurst)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| open sea | al zahbi mhaura = The [[Fishermen's Guild (Open Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | open sea | al zahbi mhaura = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 1:00 - 23:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Open Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| selbina = The [[Fishermen's Guild (Selbina)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | selbina = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 3:00 - 18:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Selbina)]] is open ''3:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| silver sea | al zahbi nashmau = The [[Fishermen's Guild (Silver Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | silver sea | al zahbi nashmau = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 1:00 - 23:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Silver Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| bastore sea | mhaura selbina = The [[Fishermen's Guild (Bastore Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | bastore sea | mhaura selbina = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 1:00 - 23:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Bastore Sea)]] is open ''1:00 - 23:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| bibiki bay = The [[Fishermen's Guild (Bibiki Bay)]] is open ''1:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | bibiki bay = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 1:00 - 18:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Bibiki Bay)]] is open ''1:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| aht urhgan whitegate | whitegate = The [[Fishermen's Guild (Aht Urhgan Whitegate)]] is open ''1:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}. | | aht urhgan whitegate | whitegate = {{#ifeq:{{lc:{{{format}}}}}|short|''Open 1:00 - 18:00. Holiday: {{Lightning|Lightningday}}.''|The [[Fishermen's Guild (Aht Urhgan Whitegate)]] is open ''1:00 - 18:00''.<br>Closed for holiday on {{Lightning|Lightningday}}.}} | ||
| all | #default = The Fishermen's Guilds in [[Fishermen's Guild (Windurst)|Windurst]] and [[Fishermen's Guild (Selbina)|Selbina]] are open ''3:00 - 18:00''. <span class="toau">The [[Fishermen's Guild (Aht Urhgan Whitegate)]] is open ''1:00 - 18:00''. </span>The sea routes ([[Fishermen's Guild (Bastore Sea)|Selbina - Mhaura]]<span class="toau">, [[Fishermen's Guild (Open Sea)|Al Zahbi - Mhaura]] and [[Fishermen's Guild (Silver Sea)|Al Zahbi - Nashmau]]</span>) are open ''1:00 - 23:00''.<br>They are closed for holiday on {{Lightning|Lightningsday}}. | | all | #default = The Fishermen's Guilds in [[Fishermen's Guild (Windurst)|Windurst]] and [[Fishermen's Guild (Selbina)|Selbina]] are open ''3:00 - 18:00''. <span class="toau">The [[Fishermen's Guild (Aht Urhgan Whitegate)]] is open ''1:00 - 18:00''. </span>The sea routes ([[Fishermen's Guild (Bastore Sea)|Selbina - Mhaura]]<span class="toau">, [[Fishermen's Guild (Open Sea)|Al Zahbi - Mhaura]] and [[Fishermen's Guild (Silver Sea)|Al Zahbi - Nashmau]]</span>) are open ''1:00 - 23:00''.<br>They are closed for holiday on {{Lightning|Lightningsday}}. | ||
}}}} | }}}} | ||
Line 79: | Line 79: | ||
*The first parameter is the craft | *The first parameter is the craft | ||
*The second parameter is the city/town of the guild. The second parameter can also be set to ''all'' or left blank to get information about all guilds of a given craft. | *The second parameter is the city/town of the guild. The second parameter can also be set to ''all'' or left blank to get information about all guilds of a given craft. | ||
*The optional parameter ''format'' can be set to ''short'' to give a short version of the opening times (this applies for a single guild, that is only if the second parameter is set to a city/town). | |||
===Examples=== | ===Examples=== | ||
<pre>{{Guild Opening Times|goldsmithing}}</pre> | <pre>{{Guild Opening Times|goldsmithing}}</pre> | ||
Line 85: | Line 87: | ||
<pre>{{Guild Opening Times|alchemy}}</pre> | <pre>{{Guild Opening Times|alchemy}}</pre> | ||
{{Guild Opening Times|alchemy}} | {{Guild Opening Times|alchemy}} | ||
<pre>{{Guild Opening Times|alchemy|bastok}}</pre> | |||
{{Guild Opening Times|alchemy|bastok}} | |||
<pre>{{Guild Opening Times|alchemy|bastok|format=short}}</pre> | |||
{{Guild Opening Times|alchemy|bastok|format=short}} | |||
<pre>{{Guild Opening Times|fishing}}</pre> | <pre>{{Guild Opening Times|fishing}}</pre> | ||
{{Guild Opening Times|fishing}} | {{Guild Opening Times|fishing}} |
Revision as of 20:17, 30 October 2024
Usage
The template allows to show the opening times of the crafting guilds
- The first parameter is the craft
- The second parameter is the city/town of the guild. The second parameter can also be set to all or left blank to get information about all guilds of a given craft.
- The optional parameter format can be set to short to give a short version of the opening times (this applies for a single guild, that is only if the second parameter is set to a city/town).
Examples
{{Guild Opening Times|goldsmithing}}
The Goldsmiths' guilds of Bastok and Mhaura are open 8:00 - 23:00.
They are closed for holiday on Iceday.
{{Guild Opening Times|alchemy}}
The Alchemists' Guilds of Bastok and Aht Urhgan Whitegate are is open 8:00 - 23:00.
They are cClosed for holiday on Lightsday (Bastok) and Lightningsday (Aht Urhgan Whitegate), respectively.
{{Guild Opening Times|alchemy|bastok}}
The Alchemists' Guild (Bastok) is open 8:00 - 23:00.
Closed for holiday on Lightsday.
{{Guild Opening Times|alchemy|bastok|format=short}}
Open 8:00 - 23:00. Holiday: Lightsday.
{{Guild Opening Times|fishing}}
The Fishermen's Guilds in Windurst and Selbina are open 3:00 - 18:00. The Fishermen's Guild (Aht Urhgan Whitegate) is open 1:00 - 18:00. The sea routes (Selbina - Mhaura, Al Zahbi - Mhaura and Al Zahbi - Nashmau) are open 1:00 - 23:00.
They are closed for holiday on Lightningsday.