Difference between revisions of "Template:Activity"
From Nookipedia, the Animal Crossing wiki
(Will be on hiatus for at least part of December, if not the rest of the month. Will try to peek Discord/talk pages every once in a while, but otherwise if you need me send me an email.) |
AlexBot2004 (talk | contribs) (Removing Kalina70) |
||
(43 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
{{#switch: {{{user|}}} | {{#switch: {{{user|}}} | ||
− | | Jake= | + | | Jake=Active |
| SuperHamster=Active | | SuperHamster=Active | ||
− | | | + | | AlexBot2004=Active |
+ | | HylianAngel=Active | ||
+ | | Sunmarsh=Around | ||
+ | | sunmarsh=Around | ||
+ | | Vmario97=Hiatus | ||
+ | | Dorsal Axe=Active | ||
| Drago=Around | | Drago=Around | ||
+ | | PanchamBro=Around | ||
+ | | Vivian=Active | ||
+ | | ZCJigglypuff=Around | ||
| BladeofEvilsBane=Around | | BladeofEvilsBane=Around | ||
− | | | + | | Chubby Bub=Active |
− | + | | The Jacketed Terrapin=Around | |
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| Lampshade59276=Active | | Lampshade59276=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 39: | Line 27: | ||
*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 | + | *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> |
Latest revision as of 18:08, August 26, 2024
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.