Difference between revisions of "Template:Site status"

From Wikispooks
Jump to navigation Jump to search
m
 
(22 intermediate revisions by the same user 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 page, 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|BUGS}} &nbsp;&nbsp;: [[image:bugs.png|80px]] <big><big>Site is stable but ''may appear slightly garbled'' due to ongoing maintenance.</big></big>
 +
*{{t|SLOW}} &nbsp;&nbsp;: [[image:slow.png|80px]] <big><big>Site is stable but will be ''slow'' due to ongoing maintenance.</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>{{#switch: {{{1}}}{{{2}}}
| UNSTABLE = unstable
+
| SLOW = {{#switch: {{FULLPAGENAME}}
| UNSTABLEFrom-Sidebar = ► SITE UNSTABLE ◄
+
  |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}}
 
| NORMAL = {{#switch: {{FULLPAGENAME}}
   |Wikispooks:Site Status|<big><big>[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.</big></big>}}
+
   |Wikispooks:Site Status = <big><big>[[image:normal.png|80px]] &nbsp;&nbsp;Site is working normally.</big></big>}}
 
| NORMALFrom-Sidebar=
 
| NORMALFrom-Sidebar=
 
|  
 
|  
 
}}</includeonly>
 
}}</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.