Difference between revisions of "Template:Holiday2"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(add cat)
imported>WOSlinker
(use tmbox)
Line 1: Line 1:
{| class="messagebox standard" style=background:{{{bgcol|#F8EABA}}}
+
{{tmbox
|-
+
| style = background:{{{bgcol|#F8EABA}}};
|{{{img|[[Image:Thai.b747-400.hs-tgb.arp.jpg|75px|Flying away]]}}}
+
| 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

Usage

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.