WIDEWIKI:Events Team/Event/doc: Difference between revisions

From WIDEVERSE Wiki
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= |fc= |world= |icon= |details= }}
{{/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>fc</code> (optional) The friends chat for the event, defaults to ''RSW''
* <code>world</code> (optional) The world for the event, defaults to ''39''
* <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
|-
|-
{{RuneScape:Events Team/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]] }}
{{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 2019
  • time 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 to
  • details 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/Event
Event Date (Game Time) Friends Chat World Details