Difference between revisions of "Template:Site status"
Jump to navigation
Jump to search
(Fix) |
(better description) |
||
Line 1: | Line 1: | ||
− | <noinclude>[[category:WikiSpooks Templates]]'''This template displays | + | <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/> | ||
+ | ''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}}</nowiki></code>.<br/> | ||
Line 6: | Line 8: | ||
*{{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|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> | ||
</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: | + | | 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:''' Site maintenance is ongoing}}]]</small>}} |
− | Site maintenance is ongoing}}]]</small>}} | ||
| {{#ifeq: {{PAGENAME}}|Site Status|[[image:normal.png|80px]] Site is working normally.}} | | {{#ifeq: {{PAGENAME}}|Site Status|[[image:normal.png|80px]] Site is working normally.}} | ||
}}</big></big></includeonly> | }}</big></big></includeonly> |
Revision as of 06:26, 30 December 2013
This template is used by Site Status.
In that pages, 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: