Difference between revisions of "Template:Activity"

From Nookipedia, the Animal Crossing wiki
m (Technical problems fixed)
m (7 of the 12 staff members haven't logged in once yet this month, so I think that's enough evidence I need to mark them as 'inactive'.)
Line 1: Line 1:
 
{{#switch: {{{user|}}}
 
{{#switch: {{{user|}}}
| Jake=Active
+
| Jake=Around
 
| SuperHamster=Around
 
| SuperHamster=Around
 
| Mario=Around
 
| Mario=Around
 
| Sky=Inactive
 
| Sky=Inactive
 
| Red Snapper=Active
 
| Red Snapper=Active
| SNES=Around
+
| SNES=Inactive
 
| sunmarsh=Hiatus
 
| sunmarsh=Hiatus
 
| Wookiee123=Inactive
 
| Wookiee123=Inactive
 
| Heidy Isabel=Inactive
 
| Heidy Isabel=Inactive
| Pachisu123=Around
+
| Pachisu123=Inactive
 
| Trainiax=Inactive
 
| Trainiax=Inactive
 
| NateKimble=Inactive
 
| NateKimble=Inactive
| Princess Peach=Active
+
| Princess Peach=Around
 
| ZCJigglypuff=Active
 
| ZCJigglypuff=Active
 
| PoizonMushro0m=Active
 
| PoizonMushro0m=Active

Revision as of 13:39, October 19, 2016

Inactive

Documentation

Acceptable parameters are "Active", "Inactive", "Around", "Hiatus", and "Vacation". If no parameter is entered the template defaults to "Inactive".

The following formula can be used to have one's status automatically change on a given date: {{#ifeq: {{#time: n}} | MONTH_IN_NUMBER_FORMAT | {{#ifeq: {{#expr: {{#time: j}} > DATE}} | 1 | FUTURE_STATUS | CURRENT_STATUS}} | CURRENT_STATUS}}
Note: Be sure your month's number is not zero padded. (e.g. 8 not 08)