Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
Line 7: Line 7:
 
*{{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. &nbsp;See below for further information.}}''</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. &nbsp;See below for further information.}}''</big></big>
</noinclude><includeonly>@{{{1}}}{{{2}}}@{{#switch: {{{1}}}{{{2}}}
+
</noinclude><includeonly>@{{{1}}}{{{2}}}@{{#switch: {{{1}}}{{{2}}}@{{{1}}}{{{2}}}@{{#switch: {{{1}}}{{{2}}}
| NORMAL = {{#switch: {{FULLPAGENAME}}
+
| UNSTABLE = unstable
  |Wikispooks:Site Status|<big><big>[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.</big></big>}}
 
| UNSTABLE = {{#switch: {{FULLPAGENAME}}
 
  |Wikispooks:Site Status|[[image:unstable.png|80px]] {{RED|'''<big><big>Maintenance is ongoing. Site unstable.'''</big></big><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. &nbsp;See below for further information.}}''
 
| <center>{{RED|'''WARNING'''}}<br/>Site maintenance<br/>[[WikiSpooks:Site Status|Details]]</center>}}}}
 
 
| UNSTABLEFrom-Sidebar = ► SITE UNSTABLE ◄
 
| UNSTABLEFrom-Sidebar = ► SITE UNSTABLE ◄
| NORMALFrom-Sidebar =
+
| NORMAL = NORMAL
 +
| NORMALFrom-Sidebar= nfs
 
}}</includeonly>
 
}}</includeonly>

Revision as of 11:18, 5 May 2015

This template is used by Site Status. In that page, it displays an icon and text about system status..
When included from other pages, it displays a warning link to that page only in the case of UNSTABLE status.
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.  See below for further information.