Difference between revisions of "Template:Outage"

Line 59: Line 59:
 
<li>'''WHEN''': {{{time}}}</li>
 
<li>'''WHEN''': {{{time}}}</li>
 
<li>'''WHAT''': {{{summary}}}</li>
 
<li>'''WHAT''': {{{summary}}}</li>
{{#if:{{{update|}}}|<li><p>'''UPDATE''': {{{update}}}</p></li>}}
+
{{#if:{{{update|}}}|<li><p><span style="color:#ff0000">'''UPDATE''':</span> {{{update}}}</p></li>}}
 
{{#if:{{{details|}}}|<li><p>'''DETAILS''': {{{details}}}</p></li>}}
 
{{#if:{{{details|}}}|<li><p>'''DETAILS''': {{{details}}}</p></li>}}
 
</ul></includeonly>
 
</ul></includeonly>

Revision as of 19:31, 22 July 2021

This is a template for formalizing the structure of outage notifications on the Notices page.

At a minimum, use of this template should look like this:

{{outage
  |time=date and time outage started
  |services=affected services
  |summary=summary of the problem}}

That will look like this:

Issue with affected services

  • WHEN: date and time outage started
  • WHAT: summary of the problem

There is a type parameter, which gives the type of outage. It defaults to "Issue".

{{outage
  |type=Planned outage
  |time=date and time outage will starte
  |services=affected services
  |summary=summary of the outage}}

Planned outage with affected services

  • WHEN: date and time outage will starte
  • WHAT: summary of the outage

You can include an update parameter, which will replace the last line of the output:

{{outage … |update=As of date/time, the problem has been resolved.}}

Issue with affected services

  • WHEN: date and time outage started
  • WHAT: summary of the problem
  • UPDATE: As of date/time, the problem has been resolved.

You can also include a details parameter. The details may span multiple lines, but you'll need to put a <br/> at the end of each line:

{{outage
  |time=date and time outage started
  |services=affected services
  |summary=summary of the problem
  |details=Extra Details 1<br/>
Extra Details 2}}

Issue with affected services

  • WHEN: date and time outage started
  • WHAT: summary of the problem
  • DETAILS: Extra Details 1
    Extra Details 2