Template:RegularEvent: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
   ! Discord
   ! Discord
   | {{{discord}}}
   | {{{discord}}}
|}<includeonly>[[Category:Events]]</includeonly><noinclude>
|}<includeonly>[[Category:Events]] [[Category:Events/Regular Events]]</includeonly><noinclude>
{{clear}}
{{clear}}
==Documentation==
==Documentation==

Revision as of 08:02, 12 April 2024

RegularEvent
Name
When {{{recurrence}}}
Discord {{{discord}}}

Documentation

This template creates a member infobox. All parameters are optional. The title of the infobox is set from the name of the userpage it is placed on.

Usage

Inserting the following text at the top of your user page and it will produce an information box on your page that gives an overview. All of the arguments are optional and can be written in any order.

If no imagefile is specified the default 'robinhood' image is used.

{{RegularEvent
|imagefile=
|imagewidth=
|eventname=
|recurrence=
|discord=
}}

Arguments

imagefile
An image, in the format <image name>.<ext>. DO NOT include the [[]] square brackets otherwise the image will display full size.
imagewidth
Sets the width of the imagefile, specify the unit (for example 200px).
evetname
Specify the name of the event
recurrence
How often it runs (e.g. first Wednesday of the month)
discord
The Discord channel, if it has one