Difference between revisions of "Template:Holiday2"
Jump to navigation
Jump to search
imported>WOSlinker (add cat) |
imported>WOSlinker (use tmbox) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {{tmbox |
| − | | | + | | style = background:{{{bgcol|#F8EABA}}}; |
| − | + | | image = {{{img|[[Image:Thai.b747-400.hs-tgb.arp.jpg|75px|Flying away]]}}} | |
| − | |'''{{#ifeq:{{PAGENAME}}|Holiday2|Example|{{#if:{{{1|}}}|This user|{{PAGENAME}}}}}}''' is {{#if:{{{from|}}}||currently}} away on [[holiday]] {{#if:{{{from|}}}|from {{{from}}} till {{{till}}}}}{{#if:{{{until|}}}|until {{{till}}}}} and may not respond swiftly to queries. | + | | text = '''{{#ifeq:{{PAGENAME}}|Holiday2|Example|{{#if:{{{1|}}}|This user|{{PAGENAME}}}}}}''' is {{#if:{{{from|}}}||currently}} away on [[holiday]] {{#if:{{{from|}}}|from {{{from}}} till {{{till}}}}}{{#if:{{{until|}}}|until {{{till}}}}} and may not respond swiftly to queries. |
| − | + | }}<noinclude> | |
| − | <noinclude> | ||
== Usage == | == Usage == | ||
*'''<nowiki>{{Holiday2}}</nowiki>''' | *'''<nowiki>{{Holiday2}}</nowiki>''' | ||
Revision as of 11:14, 25 April 2010
| Flying away | Example is currently away on holiday and may not respond swiftly to queries. |
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.