Difference between revisions of "Template:Outage"
(Add detail line.) |
(Indent outage information, like Steve likes) |
||
Line 25: | Line 25: | ||
|update=As of ''date/time'', the problem has been resolved.}} | |update=As of ''date/time'', the problem has been resolved.}} | ||
− | You can also include a <code>details</code> parameter | + | You can also include a <code>details</code> parameter. The details may span multiple lines, but you'll need to put a <code><nowiki><br/></nowiki></code> at the end of each line: |
<nowiki>{{</nowiki>outage | <nowiki>{{</nowiki>outage | ||
Line 31: | Line 31: | ||
|services=''affected services'' | |services=''affected services'' | ||
|summary=''summary of the problem'' | |summary=''summary of the problem'' | ||
− | |details=''Extra Details 1'' | + | |details=''Extra Details 1''<nowiki><br/></nowiki> |
− | |||
''Extra Details 2''<nowiki>}}</nowiki> | ''Extra Details 2''<nowiki>}}</nowiki> | ||
Line 39: | Line 38: | ||
|services=''affected services'' | |services=''affected services'' | ||
|summary=''summary of the problem'' | |summary=''summary of the problem'' | ||
− | |details=''Extra Details 1'' | + | |details=''Extra Details 1''<br/> |
− | |||
''Extra Details 2''}} | ''Extra Details 2''}} | ||
</noinclude><includeonly>==== Issue with {{{services}}} ==== | </noinclude><includeonly>==== Issue with {{{services}}} ==== | ||
− | < | + | <ul style="list-style-type: none"> |
− | '''WHAT''': {{{summary}}}{{#if:{{{ | + | <li>'''WHEN''': {{{time}}}</li> |
− | ''' | + | <li>'''WHAT''': {{{summary}}}</li> |
− | {{{ | + | {{#if:{{{update|}}}|<li>'''UPDATE''': {{{update}}}</li>}} |
− | ''' | + | {{#if:{{{details|}}}|<li><p>'''DETAILS''': {{{details}}}</p></li>}} |
+ | </ul></includeonly> |
Revision as of 15:26, 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. 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