Template:Deployment calendar event card

From Wikitech
Jump to navigation Jump to search
No time given
{{{window}}}

Deployer

 

Changes

{{{what}}}

Template documentation

Usage

An event on the deployment calendar.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
Changeswhat

What is being deployed.

Contentsuggested
Timewhen

Start date and time of the deployment.

Example
2014-05-12 8:00 SF
Stringrequired
Durationlength

Length of deployment window in hours.

Default
2
Numberoptional
Componentwindow

Name of the deployment window, usually the name of the software.

Example
Parsoid
Stringrequired
Deployerwho

Who is performing the deployment. Consider using the {{ircnick}} template.

Example
{{ircnick|RoanKattouw}}
Stringrequired
Notenote

Extra information to display below the even title

Stringoptional

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 and data-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 class ircnick.
  • Element with class deploycal-item-changes contains zero or more change owner's IRC nicknames, as children with class ircnick.

See also