Difference between revisions of "Template:Holiday2"
Jump to navigation
Jump to search
imported>Melsaran ({{NEXTWEEK}}) |
imported>Melsaran ({{NEXTWEEKDAYMONTH}}) |
||
| Line 8: | Line 8: | ||
*'''<nowiki>{{Holiday2}}</nowiki>''' | *'''<nowiki>{{Holiday2}}</nowiki>''' | ||
*'''<nowiki>{{</nowiki>Holiday2|till={{#expr:({{CURRENTDAY}} mod 31)+7}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>''' | *'''<nowiki>{{</nowiki>Holiday2|till={{#expr:({{CURRENTDAY}} mod 31)+7}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>''' | ||
| − | *'''<nowiki>{{</nowiki>Holiday2|from={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|till={{ | + | *'''<nowiki>{{</nowiki>Holiday2|from={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|till={{NEXTWEEKDAYMONTH}} {{CURRENTYEAR}}<nowiki>}}</nowiki>''' |
An optional '''bgcol=''' field can also be used to specify the background color of the box, either using a color name (e.g. "green") or by color number (e.g. "#00FF00"). See [[WP:COLOR]] for details. | An optional '''bgcol=''' field can also be used to specify the background color of the box, either using a color name (e.g. "green") or by color number (e.g. "#00FF00"). See [[WP:COLOR]] for details. | ||
Revision as of 18:12, 23 July 2007
Usage
- {{Holiday2}}
- {{Holiday2|till=23 January 2026}}
- {{Holiday2|from=16 January 2026|till=Template:NEXTWEEKDAYMONTH 2026}}
An optional bgcol= field can also be used to specify the background color of the box, either using a color name (e.g. "green") or by color number (e.g. "#00FF00"). See WP:COLOR for details.
An optional img= field can also be used to specify the image of the box.
