Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
(bigger text)
Line 3: Line 3:
 
:<code><nowiki>{{Site status|TEXT}}</nowiki></code>.<br/>
 
:<code><nowiki>{{Site status|TEXT}}</nowiki></code>.<br/>
 
TEXT should be one of the following:
 
TEXT should be one of the following:
*NORMAL - [[image:normal.png|80px]] Site is working normally.
+
*NORMAL - [[image:normal.png|80px]] <big><big>Site is working normally.</big></big>
*UNSTABLE - [[image:unstable.png|80px]] '''Maintenance is ongoing. Site unstable.<br/>
+
*UNSTABLE - [[image:unstable.png|80px]] <big><big>'''Maintenance is ongoing. Site unstable. Remember to save your work ''offline'' regularly - a copy/paste to your local machine 'Notepad' or other text editor before attempting a regular page save, as there is a possibility that work may get lost due.'''</big></big>
Remember to save your work ''offline'' regularly - a copy/paste to your local machine 'Notepad' or other text editor before attempting a regular page save, as there is a possibility that work may get lost due.'''
 
 
</noinclude><includeonly><big>{{#switch: {{{1}}}
 
</noinclude><includeonly><big>{{#switch: {{{1}}}
| UNSTABLE = {{#ifeq: {{{FULLPAGENAME}}}|WikiSpooks:Site Status|[[image:unstable.png|80px]] '''Maintenance is ongoing. Site unstable.<br/>
+
| UNSTABLE = {{#ifeq: {{{PAGENAME}}}|Site Status|[[image:unstable.png|80px]] <big><big>'''Maintenance is ongoing. Site unstable.<br/>
 
Remember to save your work ''offline'' regularly - a copy/paste to your local machine 'Notepad' or other text editor before attempting a regular page save, as there is a possibility that work may get lost due.''' |<big>{{RED|[[WikiSpooks:Site Status|WARNING:<br/>
 
Remember to save your work ''offline'' regularly - a copy/paste to your local machine 'Notepad' or other text editor before attempting a regular page save, as there is a possibility that work may get lost due.''' |<big>{{RED|[[WikiSpooks:Site Status|WARNING:<br/>
Site maintenance is ongoing]]}}</big> <small>[[WikiSpooks:Site Status|Anomalous system behaviour is possible<br/>whilst this notice is displayed]]</small>}}
+
Site maintenance is ongoing]]}}</big></big> <small>[[WikiSpooks:Site Status|Anomalous system behaviour is possible<br/>whilst this notice is displayed]]</small>}}
| {{#ifeq: {{{FULLPAGENAME}}}|WikiSpooks:Site Status|[[image:normal.png|80px]] Site is working normally.}}
+
| {{#ifeq: {{{PAGENAME}}}|Site Status|[[image:normal.png|80px]] <big><big>Site is working normally.</big></big>}}
}} {{{FULLPAGENAME}}}
+
}}
</big>
 

Revision as of 06:00, 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. Remember to save your work offline regularly - a copy/paste to your local machine 'Notepad' or other text editor before attempting a regular page save, as there is a possibility that work may get lost due.