Difference between revisions of "Template:Holiday"
Jump to navigation
Jump to search
imported>Catman15 |
imported>The Bushranger |
||
| Line 1: | Line 1: | ||
{{Tmbox | {{Tmbox | ||
| small = {{{small|}}} | | small = {{{small|}}} | ||
| − | | image = {{{image|[[File: | + | | image = {{{image|[[File:Avion silhouette.svg|50x40px]]}}} |
| imageright = {{#if:{{{2|{{{country|}}}}}}|{{#ifexist:Template:Country data {{{2|{{{country|}}}}}}|{{flagicon|{{{2|{{{country|}}}}}}|size=x50px}}|[[Image:Modern clock chris kemps 01.svg|50x40px]]}}|[[Image:Modern clock chris kemps 01.svg|50x40px]]}} | | imageright = {{#if:{{{2|{{{country|}}}}}}|{{#ifexist:Template:Country data {{{2|{{{country|}}}}}}|{{flagicon|{{{2|{{{country|}}}}}}|size=x50px}}|[[Image:Modern clock chris kemps 01.svg|50x40px]]}}|[[Image:Modern clock chris kemps 01.svg|50x40px]]}} | ||
| style = text-align: center; {{#if:{{{bgcol|}}}|background: {{{bgcol}}};}} | | style = text-align: center; {{#if:{{{bgcol|}}}|background: {{{bgcol}}};}} | ||
Revision as of 07:29, 25 November 2017
| 50x40px | This user is away on holiday and may not respond swiftly to queries. | 50x40px |
Usage
- {{Holiday}}
- {{Holiday|Username}} include your username instead of "This user".
- {{Holiday|2=Country}} or {{Holiday|country=Country}} gives the country you are visiting
- {{Holiday|from=date|until=date}} specify when you are "out of office".
- {{Holiday|US=yes}} replaces the text holiday with vacation.
- {{Holiday|cmt=comment goes here}} can be used to specify additional text to follow the default message.
- {{Holiday|will=yes}} replaces the word "is" with "will be".
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.
See also
| The above documentation is transcluded from Template:Holiday/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |