Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
(trim)
(Fix)
Line 7: Line 7:
 
</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.}}'' |<small>[[WikiSpooks:Site Status|{{RED|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.}}'' |<small>[[WikiSpooks:Site Status|{{RED|WARNING:<br/>
Site maintenance is ongoing}}]]</small>
+
Site maintenance is ongoing}}]]</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:23, 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.