Difference between revisions of "Template:Holiday2"

From blackwiki
Jump to navigation Jump to search
imported>Melsaran
({{NEXTWEEKDAYMONTH}})
imported>EmausBot
m (Bot: Fixing double redirect to Template:Vacation)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="messagebox standard" style=background:{{{bgcol|#F8EABA}}}
+
#REDIRECT [[Template:Vacation]]
|-
 
|{{{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.
 
|}
 
<noinclude>
 
== Usage ==
 
*'''<nowiki>{{Holiday2}}</nowiki>'''
 
*'''<nowiki>{{</nowiki>Holiday2|till={{#expr:({{CURRENTDAY}} mod 31)+7}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki>'''
 
*'''<nowiki>{{</nowiki>Holiday2|from={{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}|till={{NEXTWEEKDAYMONTH}} {{CURRENTYEAR}}<nowiki>}}</nowiki>'''
 
 
 
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.
 
</noinclude>
 

Latest revision as of 19:40, 4 February 2020

Redirect to: