Template:RegularEvent: Difference between revisions
Jump to navigation
Jump to search
m →Arguments: Typo |
Fix bug, Probably should have tested this somehow... |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
! When | ! When | ||
| {{{recurrence}}} | | {{{recurrence}}} | ||
|- | |||
! Where | |||
| {{{where|Somewhere in the Space}}} | |||
|- {{#if:{{{discord|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | |- {{#if:{{{discord|}}} | | style="display: none;" <!-- Hide row if parameter doesn't exist --> }} | ||
! Discord | ! Discord | ||
Line 18: | Line 21: | ||
|}<includeonly>[[Category:Events]] [[Category:Events/Regular Events]]</includeonly><noinclude> | |}<includeonly>[[Category:Events]] [[Category:Events/Regular Events]]</includeonly><noinclude> | ||
{{clear}} | {{clear}} | ||
==Documentation== | ==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. | 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. | ||
Line 31: | Line 35: | ||
|imagewidth= | |imagewidth= | ||
|eventname= | |eventname= | ||
|where= | |||
|recurrence= | |recurrence= | ||
|discord= | |discord= | ||
Line 45: | Line 50: | ||
;recurrence | ;recurrence | ||
:How often it runs (e.g. first Wednesday of the month) | :How often it runs (e.g. first Wednesday of the month) | ||
;where | |||
:The location in the Hackspace or "Zoom" (probably avoid putting the Zoom link) | |||
;discord | ;discord | ||
:The Discord channel, if it has one | :The Discord channel, if it has one |
Latest revision as of 16:30, 2 June 2024
RegularEvent | |
---|---|
Where | Somewhere in the Space |
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= |where= |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).
- eventname
- Specify the name of the event
- recurrence
- How often it runs (e.g. first Wednesday of the month)
- where
- The location in the Hackspace or "Zoom" (probably avoid putting the Zoom link)
- discord
- The Discord channel, if it has one