Difference between revisions of "Template:Activity"

From Nookipedia, the Animal Crossing wiki
m
(Computer is having issues, so don’t expect many mainspace edits from me. Haven’t gotten it checked yet, so idea when the issue will be resolved.)
(33 intermediate revisions by 9 users not shown)
Line 1: Line 1:
 
{{#switch: {{{user|}}}
 
{{#switch: {{{user|}}}
| Jake=Hiatus
+
| Jake=Active
 
| SuperHamster=Active
 
| SuperHamster=Active
 
| Mario=Active
 
| Mario=Active
 
| Drago=Around
 
| Drago=Around
 
| BladeofEvilsBane=Around
 
| BladeofEvilsBane=Around
| Sunmarsh=Around
+
| Sunmarsh=Hiatus
| sunmarsh=Around
+
| sunmarsh=Hiatus
 
| ZCJigglypuff=Around
 
| ZCJigglypuff=Around
 
| PoizonMushro0m=Around
 
| PoizonMushro0m=Around
 
| WeatherGeek=Active
 
| WeatherGeek=Active
| LoneShadowStar=Inactive
 
| HappyG=Inactive
 
 
| Vmario97=Around
 
| Vmario97=Around
 
| Froyo=Active
 
| Froyo=Active
Line 18: Line 16:
 
| Ocre=Active
 
| Ocre=Active
 
| Dorsal Axe=Active
 
| Dorsal Axe=Active
| ParrotAlex=Active
 
 
| Lampshade59276=Active
 
| Lampshade59276=Active
 
| Akuhime-sama=Active
 
| Akuhime-sama=Active
| Paviinka=Inactive
 
 
| AlexBot2004=Active
 
| AlexBot2004=Active
 
| AgentParadox=Active
 
| AgentParadox=Active
| Ruthless Cutie=Active
+
| Ruthless Cutie=Inactive
 
| HylianAngel=Active
 
| HylianAngel=Active
| The Jacketed Terrapin=Active
+
| The Jacketed Terrapin=Around
| PanchamBro=Active
+
| Chubby Bub=Active
| Vivian=Active
+
| PanchamBro=Around
 +
| Vivian=Around
 +
| Kalina70=Active
 
| Inactive}}<noinclude>
 
| Inactive}}<noinclude>
== Documentation ==
+
==Documentation==
 
Acceptable parameters are "Active", "Inactive", "Around", "Hiatus", and "Vacation". If no parameter is entered the template defaults to "Inactive".
 
Acceptable parameters are "Active", "Inactive", "Around", "Hiatus", and "Vacation". If no parameter is entered the template defaults to "Inactive".
  
Line 40: Line 38:
 
*MONTH is the numerical month associated with the date that the status should change. (e.g. for March 1st, 2018: MONTH = 3)
 
*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)
 
*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.
+
*FUTURE_STATUS is 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.
 
*CURRENT_STATUS is the status that will be shown up prior to the date entered.
 +
[[Category:Personal templates]]
 +
</noinclude>

Revision as of 14:47, August 3, 2022

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 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.