Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
m (tweek)
m
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>[[category:WikiSpooks Templates‎]]'''This template is used by [[WikiSpooks:Site Status|Site Status]].
+
<noinclude>[[category:Wikispooks Templates‎]]'''This template is used by [[Wikispooks:Site Status|Site Status]].
In that pages, it displays an icon and text about system status.'''.<br/>
+
In that page, it displays an icon and text about system status.'''.<br/>
 
''When included from other pages, it displays a warning link to that page only in the case of {{t|UNSTABLE}} status.''<br/>
 
''When included from other pages, it displays a warning link to that page only in the case of {{t|UNSTABLE}} status.''<br/>
 
Usage:<br/>
 
Usage:<br/>
:<code><nowiki>{{Site status|TEXT}}</nowiki></code>.<br/>
+
:<code><nowiki>{{Site status|TEXT|{{{1|}}}}}</nowiki></code>.<br/>
 
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|BUGS}} &nbsp;&nbsp;: [[image:bugs.png|80px]] <big><big>Site is stable but ''may appear slightly garbled'' due to ongoing maintenance.</big></big>
</noinclude><includeonly><big><big>{{#switch: {{{1}}}
+
*{{t|SLOW}} &nbsp;&nbsp;: [[image:slow.png|80px]] <big><big>Site is stable but will be ''slow'' due to ongoing maintenance.</big></big>
| 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.}}'' | <center><small>{{RED|'''WARNING:'''}}<br/> Site maintenance<br/>[[WikiSpooks:Site Status|Details]]</small></center>}}
+
*{{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>
| {{#ifeq: {{PAGENAME}}|Site Status|[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.}}
+
</noinclude><includeonly>{{#switch: {{{1}}}{{{2}}}
}}</big></big></includeonly>
+
| SLOW = {{#switch: {{FULLPAGENAME}}
 +
  |Wikispooks:Site Status = [[image:slow.png|80px]] <big><big>Site is stable but will be ''slow'' due to ongoing maintenance.</big></big>}}
 +
| SLOWFrom-Sidebar = ► SITE SLOW... ◄
 +
| BUGS = {{#switch: {{FULLPAGENAME}}
 +
  |Wikispooks:Site Status = [[image:bugs.png|80px]] <big><big>Site is stable but ''may appear slightly garbled'' due to ongoing maintenance.</big></big>}}
 +
| BUGSFrom-Sidebar = ► SITE BUGS... ◄
 +
| UNSTABLE = {{#switch: {{FULLPAGENAME}}
 +
  |Wikispooks:Site Status = [[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>}}
 +
  |[[Project:Site Status|{{RED|Site maintenance is ongoing!}}]]}}
 +
| UNSTABLEFrom-Sidebar = ► SITE UNSTABLE! ◄
 +
| NORMAL = {{#switch: {{FULLPAGENAME}}
 +
  |Wikispooks:Site Status = <big><big>[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.</big></big>}}
 +
| NORMALFrom-Sidebar=
 +
|
 +
}}</includeonly>

Latest revision as of 16:23, 4 July 2019

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|{{{1|}}}}}.

TEXT should be one of the following:

  • NORMAL   : Normal.png Site is working normally.
  • BUGS   : Bugs.png Site is stable but may appear slightly garbled due to ongoing maintenance.
  • SLOW   : Slow.png Site is stable but will be slow due to ongoing maintenance.
  • 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.