Template:Deployment calendar event card
Appearance
No time given
Deployer |
|
---|---|
Changes |
{{{what}}} |
Template documentation
Uses Lua: |
This template uses TemplateStyles: |
Usage
An event on the deployment calendar.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Changes | what | What is being deployed. | Content | suggested |
Time | when | Start date and time of the deployment.
| String | required |
Duration | length | Length of deployment window in hours.
| Number | optional |
Component | window | Name of the deployment window, usually the name of the software.
| String | required |
Deployer | who | Who is performing the deployment. Consider using the {{ircnick}} template.
| String | required |
Note | note | Extra information to display below the even title | String | optional |
Semantic HTML
For consumption by the JS code, and by Tool:Jouncebot:
- Element with class
deploycal-item
: Each calendar item is represented by an element with this class. - The item element has an
id
that uniquely identifies this item on the page, and can be used for URL anchors. - The item element has
data-utcstart
anddata-utcend
attributes with an ISO-formatted start and end time in UTC. - Element with class
deploycal-item-window
represents the name of the deployment window. - Element with class
deploycal-item-deployer
contains zero or more deployer's IRC nicknames, as children with classircnick
. - Element with class
deploycal-item-changes
contains zero or more change owner's IRC nicknames, as children with classircnick
.
See also
- Module:Deployment schedule - This is where some of the timestamp and attribute formatting logic resides.
- MediaWiki:Gadget-site-deploycal.js - This is where the interactive logic resides (jump button, past/now highlighting).
- Template:Deployment calendar event card/style.css