Template:Cal-date: Difference between revisions
From MediaWiki
Jump to navigationJump to search
No edit summary |
Tigerpaw28 (talk | contribs) Minor tweak to make the arrows point to the month pages instead of the first days of the months. |
||
| (36 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{| id="toc" cellpadding="2" border="0" style="float: right;" | <includeonly> | ||
{| id="toc" cellpadding="2" border="0" style="float: {{{float|right}}};" | |||
{{#if:{{{2|}}}|{{!}}- | |||
{{!}} colspan="3" {{!}}{{Cal-date/yesterday|{{{1|7}}}|{{{2|1}}}}} | |||
{{!}} | |||
{{!}} colspan="3" align="right" {{!}}{{Cal-date/tomorrow|{{{1|7}}}|{{{2|1}}}}}|}} | |||
|- | |- | ||
|[[{{Cal-date/monthstrings|{{Cal-date/offset|monthoffset={{{1|7}}}|offset=-1}}}}|«]] | |||
| colspan="5" align="center"| '''<big>[[{{Cal-date/monthstrings|{{{1|Month}}}}}]] | | colspan="5" align="center"| '''<big>[[{{Cal-date/monthstrings|{{{1|Month}}}}}]] | ||
|[[ | |[[{{Cal-date/monthstrings|{{Cal-date/offset|monthoffset={{{1|7}}}|offset=1}}}}|»]] | ||
|- | |- | ||
|[[{{Cal-date/monthstrings|{{{1|}}}}} 1|1]] | |[[{{Cal-date/monthstrings|{{{1|}}}}} 1|1]] | ||
| Line 42: | Line 43: | ||
|- | |- | ||
|[[{{Cal-date/monthstrings|{{{1|}}}}} 29|29]] | |[[{{Cal-date/monthstrings|{{{1|}}}}} 29|29]] | ||
|[[{{Cal-date/monthstrings|{{{1|}}}}} 30|30]] | |{{#ifeq:{{{1|}}}|2||[[{{Cal-date/monthstrings|{{{1|}}}}} 30|30]]}} | ||
|[[{{Cal-date/monthstrings|{{{1|}}}}} 31|31]] | |{{#ifeq:{{Cal-date/offset|daysinmonth={{{1|7}}}}}|31|[[{{Cal-date/monthstrings|{{{1|}}}}} 31|31]]|}} | ||
| colspan="4"| | | colspan="4"| | ||
|} | |} | ||
[[Category: Real-world events by day| | {{#if:{{{nocats|}}}||[[Category: Real-world events by day|{{#if:{{{catas|}}}|{{{catas}}}|{{Cal-date/monthstrings|{{{1|}}}}} {{#pad:{{{2}}}|2|0|left}}}}]]}}</includeonly><noinclude>{{doc}} | ||
[[Category:Templates|Cal-date]] | |||
</noinclude> | |||

