Difference between revisions of "Template:Activity"

From Nookipedia, the Animal Crossing wiki
m (My mental state is reaching rock-bottom. I just can't edit large-scale, but will still patrol Recent Changes. Guess we'll have to have not many active admins...)
m (I'll check in more often now that school's out for the summer. :))
Line 5: Line 5:
 
| Drago=Around
 
| Drago=Around
 
| BladeofEvilsBane=Inactive
 
| BladeofEvilsBane=Inactive
| sunmarsh= {{#ifeq: {{#expr: {{#time: j}} > 7}} | 1 | {{#ifeq: {{#expr: {{#time: n}} >= 3}} | 1 | Hiatus | {{#ifeq: {{#expr: {{#time: Y}} > 2017}} | 1 | Hiatus | Active}}}} | Active}}
+
| sunmarsh=Around
 
| Beethoven Freak=Inactive
 
| Beethoven Freak=Inactive
 
| NateKimble=Inactive
 
| NateKimble=Inactive

Revision as of 23:08, May 27, 2017

Inactive

Documentation

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

Notes

The following formula can be used to have one's status automatically change on a given date:
{{#ifeq: {{#expr: {{#time: j}} >= DATE}} | 1 | {{#ifeq: {{#expr: {{#time: n}} >= MONTH}} | 1 | FUTURE_STATUS | {{#ifeq: {{#expr: {{#time: Y}} > YEAR}} | 1 | FUTURE_STATUS | CURRENT_STATUS}}}} | CURRENT_STATUS}}

  • DATE is the numerical date the status should change. (e.g. for March 1st, 2018: DATE = 1)
  • MONTH is the numerical month associated with the date that the status should change. (e.g. for March 1st, 2018: MONTH = 3)
  • YEAR is the numerical year associated with the date that the status should change. (e.g. for March 1st, 2018: YEAR = 2018)
  • FUTURE_STATUS is the the new status that will take effect on the date entered.
  • CURRENT_STATUS is the status that will be shown up prior to the date entered.