Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
(reword)
(more red)
Line 4: Line 4:
 
TEXT should be one of the following:
 
TEXT should be one of the following:
 
*{{t|NORMAL}} &nbsp;&nbsp;: [[image:normal.png|80px]] <big><big>Site is working normally.</big></big>
 
*{{t|NORMAL}} &nbsp;&nbsp;: [[image:normal.png|80px]] <big><big>Site is working normally.</big></big>
*{{t|UNSTABLE}} : [[image:unstable.png|80px]] <big><big>'''{{RED|Maintenance is ongoing. Site unstable.}}<br/> Save your work ''offline'' regularly - i.e. a copy/paste into 'Notepad' or other text editor before saving it here since there is a possibility that changes may be lost.'''</big></big>
+
*{{t|UNSTABLE}} : [[image:unstable.png|80px]] <big><big>'''{{RED|Maintenance is ongoing. Site unstable.'''<br/> ''Save your work ''offline'' regularly - i.e. a copy/paste into 'Notepad' or other text editor before saving it here since there is a possibility that changes may be lost.}}''</big></big>
 
</noinclude><includeonly><big><big>{{#switch: {{{1}}}
 
</noinclude><includeonly><big><big>{{#switch: {{{1}}}
| UNSTABLE = {{#ifeq: {{PAGENAME}}|Site Status|[[image:unstable.png|80px]] '''{{RED|Maintenance is ongoing. Site unstable.}}<br/> Save your work ''offline'' regularly - i.e. a copy/paste into 'Notepad' or other text editor before saving it here since there is a possibility that changes may be lost.''' |{{RED|[[WikiSpooks:Site Status|WARNING:<br/>
+
| UNSTABLE = {{#ifeq: {{PAGENAME}}|Site Status|[[image:unstable.png|80px]] '''{{RED|Maintenance is ongoing. Site unstable.'''<br/> ''Save your work ''offline'' regularly - i.e. a copy/paste into 'Notepad' or other text editor before saving it here since there is a possibility that changes may be lost.}}'' |{{RED|[[WikiSpooks:Site Status|WARNING:<br/>
 
Site maintenance is ongoing]]}} <small>[[WikiSpooks:Site Status|Anomalous system behaviour is possible<br/>whilst this notice is displayed]]</small>}}
 
Site maintenance is ongoing]]}} <small>[[WikiSpooks:Site Status|Anomalous system behaviour is possible<br/>whilst this notice is displayed]]</small>}}
 
| {{#ifeq: {{PAGENAME}}|Site Status|[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.}}
 
| {{#ifeq: {{PAGENAME}}|Site Status|[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.}}
 
}}</big></big></includeonly>
 
}}</big></big></includeonly>

Revision as of 06:16, 30 December 2013

This template displays a site status icon and set the site status metadata.
Usage:

{{Site status|TEXT}}.

TEXT should be one of the following:

  • NORMAL   : Normal.png Site is working normally.
  • UNSTABLE : Unstable.png Maintenance is ongoing. Site unstable.
    Save your work offline regularly - i.e. a copy/paste into 'Notepad' or other text editor before saving it here since there is a possibility that changes may be lost.