Difference between revisions of "Template:Calendar/portal"
Jump to navigation
Jump to search
imported>PiefPafPier (Gave the next month as PHP added the current day, which goes wrong for 29 (in leap year) and 30 feb, 31 feb/apr/jun/sep/nov (fywiki backport)) |
imported>PiefPafPier (Undid revision 772838026 by PiefPafPier (talk) Worked for sub=February, but not for sub=February 2. Sorry.) |
||
| Line 1: | Line 1: | ||
| − | {{calendar/{{#if:{{{month|}}}{{#iferror:{{#time:F| | + | {{calendar/{{#if:{{{month|}}}{{#iferror:{{#time:F|{{{sub}}}}}}} |
|{{#ifeq:{{#time:Y|{{{sub}}}}}|{{{sub}}} | |{{#ifeq:{{#time:Y|{{{sub}}}}}|{{{sub}}} | ||
|{{{col|4}}}-column | |{{{col|4}}}-column | ||
| Line 8: | Line 8: | ||
|month={{#if:{{{month|}}} | |month={{#if:{{{month|}}} | ||
|{{{month}}} | |{{{month}}} | ||
| − | |{{#iferror:{{#time:F| | + | |{{#iferror:{{#time:F|{{{sub}}}}}}} |
}} | }} | ||
|year={{{year|2000}}} | |year={{{year|2000}}} | ||