Difference between revisions of "User:Mikado282/Days2SF"
(first commit) |
(Could be made main space translation switching template later if other want to use it.) |
||
Line 2: | Line 2: | ||
{{#ifeq: | {{#ifeq: | ||
{{ #expr: {{#time: z |{{CURRENTYEAR}}-10-01 }} - {{#time: z |now}} > {{#expr: 0 }} }} | {{#expr: 1}} | {{ #expr: {{#time: z |{{CURRENTYEAR}}-10-01 }} - {{#time: z |now}} > {{#expr: 0 }} }} | {{#expr: 1}} | ||
− | |{{#expr: {{#time: z |{{CURRENTYEAR}}-10-01 }} - {{#time: z |now}} }} days until SF {{CURRENTYEAR}} | + | |{{#expr: {{#time: z |{{CURRENTYEAR}}-10-01 }} - {{#time: z |now}} }} days until [[Halloween event|SF {{CURRENTYEAR}}]] |
|{{#expr: {{#time: z |{{CURRENTYEAR}}-12-31 }} - {{#time: z |now}} | |{{#expr: {{#time: z |{{CURRENTYEAR}}-12-31 }} - {{#time: z |now}} | ||
− | + {{#time: z |{{#expr: {{CURRENTYEAR}}+1 }}-10-01 }} }} days until SF {{#expr: {{CURRENTYEAR}}+1 }} | + | + {{#time: z |{{#expr: {{CURRENTYEAR}}+1 }}-10-01 }} }} days until [[Halloween event|SF {{#expr: {{CURRENTYEAR}}+1 }}]] |
}} | }} |
Revision as of 12:22, 20 September 2023
Days to next SF event, unless event has started, then days to next SF event in the next year.
- Expect this template to be masked while the event is active.
122 days until SF 2024
- Test event has started
486 days until SF 2025
122 days until SF 2024