Difference between revisions of "Template:Holiday"

From blackwiki
Jump to navigation Jump to search
imported>Catman15
imported>The Bushranger
m (Reverted 1 edit by Catman15 (talk) to last revision by Frietjes. (TW))
Line 1: Line 1:
 
{{Tmbox
 
{{Tmbox
 
| small      = {{{small|}}}
 
| small      = {{{small|}}}
| image      = {{{image|[[File:Paul Stanley looking sober.jpg]]}}}
+
| 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

50px Template documentation[view] [edit] [history] [purge]

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

Template:Wikibreak templates