Template:Event: Difference between revisions
From Karteria DWRP Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{#if: {{{num|}}} |{{#ifexpr: ({{#if:{{{num|}}}|{{{num}}}|0}})mod2 = 1 | | |||
Test Drive Meme | | Test Drive Meme | | ||
Log | Log | ||
| Line 5: | Line 5: | ||
{{#expr: trunc(({{{num|1}}} + 2 )/12) + 2025 }}-{{#expr: ({{{num|1}}} + 2 )mod12}}-1}}|{{#ifexpr: | {{#expr: trunc(({{{num|1}}} + 2 )/12) + 2025 }}-{{#expr: ({{{num|1}}} + 2 )mod12}}-1}}|{{#ifexpr: | ||
({{#time: n | {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}}}})mod2 = 1 | Test Drive Meme | Log }} - {{#time: F Y | {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}}}} | ({{#time: n | {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}}}})mod2 = 1 | Test Drive Meme | Log }} - {{#time: F Y | {{{date|{{CURRENTYEAR}}-{{CURRENTMONTH}}}}}}} | ||
}} | }}<noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 21: | Line 21: | ||
"default": "The current date" | "default": "The current date" | ||
} | } | ||
} | }, | ||
"description": "Gives the wiki page name for an event" | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Generating Template]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 02:07, 12 December 2025
Log - August 2026
Gives the wiki page name for an event
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Number | num | Event number | Number | optional |
| Date | date | the date of the event
| Date | optional |