Template:VanaTime/Guild: Difference between revisions

From HorizonXI Wiki
(Created page with "<includeonly><onlyinclude>{{#if:{{{guild|}}}| <span id ="vanatime-guild-schedule-{{lc:{{{guild}}}}}" style="display:none;"></span><!-- atm need the code above to have the id present to trigger the js function but not output the other version of the timer -->{{#switch:{{lc:{{{timer|}}}}}|no|n|false|f=|#default=<span class="vanatime-guild-schedule-{{lc:{{{guild}}}}}-isclosed">Opens in: </span><span class="vanatime-guild-schedule-{{lc:{{{guild}}}}}-isopen">Closes in: </spa...")
 
m (added automatic categorization to vanadiel schedules to keep track of pages using the template)
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#if:{{{guild|}}}|
<includeonly><onlyinclude>{{categorize|{{{|1}}}|[[Category:Vana'diel Schedules]]}}{{#if:{{{guild|}}}|
<span id ="vanatime-guild-schedule-{{lc:{{{guild}}}}}" style="display:none;"></span><!--
<span id ="vanatime-guild-schedule-{{lc:{{{guild}}}}}" style="display:none;"></span><!--
atm need the code above to have the id present to trigger the js function but not output the other version of the timer
atm need the code above to have the id present to trigger the js function but not output the other version of the timer
Line 20: Line 20:
Simple Example:
Simple Example:
<pre>{{VanaTime/Guild|guild=smithing}}</pre>
<pre>{{VanaTime/Guild|guild=smithing}}</pre>
{{VanaTime/Guild|guild=smithing}}
{{VanaTime/Guild|nc|guild=smithing}}




Line 28: Line 28:
|- class="alchemy-table"
|- class="alchemy-table"
! Alchemy  
! Alchemy  
| {{VanaTime/Guild|guild=alchemy|holiday=no}} || {{VanaTime/Guild|guild=alchemy|timer=no|status=no}}
| {{VanaTime/Guild|nc|guild=alchemy|holiday=no}} || {{VanaTime/Guild|nc|guild=alchemy|timer=no|status=no}}
|- class="bonecraft-table"
|- class="bonecraft-table"
! Bonecraft  
! Bonecraft  
| {{VanaTime/Guild|guild=boneworking|holiday=no}} || {{VanaTime/Guild|guild=boneworking|timer=no|status=no}}
| {{VanaTime/Guild|nc|guild=boneworking|holiday=no}} || {{VanaTime/Guild|nc|guild=boneworking|timer=no|status=no}}
|- class="cooking-table"
|- class="cooking-table"
! Cooking  
! Cooking  
| {{VanaTime/Guild|guild=cooking|holiday=no}} || {{VanaTime/Guild|guild=cooking|timer=no|status=no}}
| {{VanaTime/Guild|nc|guild=cooking|holiday=no}} || {{VanaTime/Guild|nc|guild=cooking|timer=no|status=no}}
|- class="woodworking-table"
|- class="woodworking-table"
! Woodworking  
! Woodworking  
| {{VanaTime/Guild|guild=woodworking|holiday=no}} || {{VanaTime/Guild|guild=woodworking|timer=no|status=no}}
| {{VanaTime/Guild|nc|guild=woodworking|holiday=no}} || {{VanaTime/Guild|nc|guild=woodworking|timer=no|status=no}}
|}
|}

Latest revision as of 13:43, 7 January 2024

Usage

Parameters

  • guild: which guild to display
  • timer: optional. set to no or false to switch off
  • status: optional. set to no or false to switch off
  • holiday: optional. set to no or false to switch off

Examples

Simple Example:

{{VanaTime/Guild|guild=smithing}}

Opens in: Closes in:
Currently Closed.

Currently Open for business.

Guild Holiday today.

Guild Holiday tomorrow.


Can make any crazy table like this:

Guild Opening Times Holiday soon?
Alchemy Opens in: Closes in:
Currently Closed.

Currently Open for business.

Guild Holiday today.

Guild Holiday tomorrow.
Guild Holiday today.Guild Holiday tomorrow.
Bonecraft Opens in: Closes in:
Currently Closed.

Currently Open for business.

Guild Holiday today.

Guild Holiday tomorrow.
Guild Holiday today.Guild Holiday tomorrow.
Cooking Opens in: Closes in:
Currently Closed.

Currently Open for business.

Guild Holiday today.

Guild Holiday tomorrow.
Guild Holiday today.Guild Holiday tomorrow.
Woodworking Opens in: Closes in:
Currently Closed.

Currently Open for business.

Guild Holiday today.

Guild Holiday tomorrow.
Guild Holiday today.Guild Holiday tomorrow.