WIDEWIKI:Events Team/Event/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation}} {{Invokes|ETEvent}} Generates an event table row and adds the smw subobject for the event. ==Usage== <pre> {{/Event|name= |date= |time= |length= |fc= |world=...") |
No edit summary |
||
Line 4: | Line 4: | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{/Event|name= |date= |time= |length | {{/Event|name= |date= |time= |length= |icon= |details= }} | ||
</pre> | </pre> | ||
Line 12: | Line 12: | ||
* <code>time</code> The time of the event (game/UTC time) | * <code>time</code> The time of the event (game/UTC time) | ||
* <code>length</code> (optional) The length of the event in minutes, defaults to ''60'' (1 hour) | * <code>length</code> (optional) The length of the event in minutes, defaults to ''60'' (1 hour) | ||
* <code>icon</code> (optional) An icon to use for the event, defaults to [[File:Weird gloop.png]] | * <code>icon</code> (optional) An icon to use for the event, defaults to [[File:Weird gloop.png]] | ||
* <code>details</code> Details about the event, what is taking place, what to bring etc. | * <code>details</code> Details about the event, what is taking place, what to bring etc. | ||
Line 37: | Line 35: | ||
! Details | ! Details | ||
|- | |- | ||
{{ | {{WIDEWIKI:Events Team/Event|name=Trouble Brewing |date=27 November 2019 |time=10:30 |length=60 |icon= |details=Join us for a game of [[Trouble Brewing]] }} | ||
|} | |} | ||
<includeonly>[[Category:Events Team templates|{{PAGENAME}}]]</includeonly> | <includeonly>[[Category:Events Team templates|{{PAGENAME}}]]</includeonly> |
Latest revision as of 22:51, 9 June 2022
WIDEWIKI:Events Team/Event invokes Module:ETEvent using Lua.
Generates an event table row and adds the smw subobject for the event.
Usage
{{/Event|name= |date= |time= |length= |icon= |details= }}
Parameters
name
The name of the event (should also the subpage name)date
The date of the event in a normal format eg: November 1 2019 or 1 Nov 2019time
The time of the event (game/UTC time)length
(optional) The length of the event in minutes, defaults to 60 (1 hour)icon
(optional) An icon to use for the event, defaults todetails
Details about the event, what is taking place, what to bring etc.
Example
{| class="wikitable" ! Event ! Date (Game Time) ! Friends Chat ! World ! Details |- {{/Event|name=Trouble Brewing |date=27 November 2019 |time=10:30 |length=60 |fc= |world= |icon= |details=Join us for a game of [[Trouble Brewing]] }} |}
Produces (when used on the events team page):
Template:WIDEWIKI:Events Team/EventEvent | Date (Game Time) | Friends Chat | World | Details |
---|