Difference between revisions of "Template:Holiday/sandbox"
Jump to navigation
Jump to search
imported>Qwertyxp2000 |
imported>Adem20 m (+documentation) |
||
| Line 6: | Line 6: | ||
| text = '''{{{1|This user}}}''' {{#ifeq:{{{will|}}}|yes|will be|is}} away on {{#ifeq:{{{US|}}}|yes|[[vacation]]|[[vacation{{!}}holiday]]}} {{#if:{{{from|}}}|from '''{{{from|}}}'''}} {{#if:{{{until|}}}|until '''{{{until|}}}''' |{{#if:{{{2|}}}|{{{2}}} }}}} and may not respond swiftly to queries. {{{cmt|}}} | | text = '''{{{1|This user}}}''' {{#ifeq:{{{will|}}}|yes|will be|is}} away on {{#ifeq:{{{US|}}}|yes|[[vacation]]|[[vacation{{!}}holiday]]}} {{#if:{{{from|}}}|from '''{{{from|}}}'''}} {{#if:{{{until|}}}|until '''{{{until|}}}''' |{{#if:{{{2|}}}|{{{2}}} }}}} and may not respond swiftly to queries. {{{cmt|}}} | ||
}} | }} | ||
| + | <noinclude> | ||
| + | {{documentation}} | ||
| + | </noinclude> | ||
Latest revision as of 09:39, 9 August 2017
| This user is away on holiday and may not respond swiftly to queries. |
| This is the template sandbox page for Template:Holiday (diff). |
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. |