Jump to content

Template:Deployment calendar event card

From Wikitech
No time given
{{{window}}}
Deployer

 

Changes
Add patch

{{{what}}}

Template documentation

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for Deployment calendar event card

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