Difference between revisions of "Template:Outage"

(Add detail line.)
Line 25: Line 25:
 
   |update=As of ''date/time'', the problem has been resolved.}}
 
   |update=As of ''date/time'', the problem has been resolved.}}
  
</noinclude><includeonly>==== Issue with {{{services}}} ====
+
You can also include a <code>details</code> parameter, with multiple lines:
 +
 
 +
<nowiki>{{</nowiki>outage
 +
  |time=''date and time outage started''
 +
  |services=''affected services''
 +
  |summary=''summary of the problem''
 +
  |details=''Extra Details 1''
 +
 +
''Extra Details 2''<nowiki>}}</nowiki>
  
Starting around {{{time}}}, the following problems began:
+
{{outage
 +
  |time=''date and time outage started''
 +
  |services=''affected services''
 +
  |summary=''summary of the problem''
 +
  |details=''Extra Details 1''
  
{{{summary}}}
+
''Extra Details 2''}}
  
{{#if:{{{update|}}}|{{{update}}}|We are working to address the issue.}}
+
</noinclude><includeonly>==== Issue with {{{services}}} ====
</includeonly>
+
<span style="issue">'''WHEN''': {{{time}}}<br/>
 +
'''WHAT''': {{{summary}}}{{#if:{{{details|}}}|<br/>
 +
'''DETAILS''':
 +
{{{details}}}}}{{#if:{{{update|}}}|<br/>
 +
'''UPDATE''': {{{update}}}}}</span></includeonly>

Revision as of 15:07, 15 March 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

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, with multiple lines:

{{outage
  |time=date and time outage started
  |services=affected services
  |summary=summary of the problem
  |details=Extra Details 1

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