From d6b7cf7bd430dbe0e33d157a8557e1279d0a29ab Mon Sep 17 00:00:00 2001 From: RhinosF1 <46229976+RhinosF1@users.noreply.github.com> Date: Sun, 24 Feb 2019 14:43:35 +0000 Subject: [PATCH] Added else and blank checks Enhancement for issue #10 --- TemplateCode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TemplateCode b/TemplateCode index e5eadd0..921f977 100644 --- a/TemplateCode +++ b/TemplateCode @@ -1,6 +1,6 @@ //Copied from User:RhinosF1/Template/StatusMonitor -'''User Status:''' {{#switch:{{User:{{{1}}}/Status}}|online={{color box|1=#00FF00}}'' online''|offline={{color box|1=#FF0000}}'' offline''|around(A)={{color box|1=orange}}'' around''|around(R)={{colour box|1=red}}'' around''|sleeping={{color box|1=red}} ''sleeping''}} +'''User Status:''' {{#switch:{{User:{{{1}}}/Status}}|online={{color box|1=#00FF00}}'' online''|offline={{color box|1=#FF0000}}'' offline''|around(A)={{color box|1=orange}}'' around''|around(R)={{colour box|1=red}}'' around''|sleeping={{color box|1=red}} ''sleeping''|#default={{User:{{{1}}}/Status}}|={{color box|1=black}} Status Unavailabile}} {{documentation}} [[Category:Pages using RhinosF1's UserStatus Template]]