Difference between revisions of "Template:Holiday/sandbox"

From blackwiki
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

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