Difference between revisions of "Template:Holiday/doc"

From blackwiki
Jump to navigation Jump to search
imported>Primefac
imported>Andrybak
 
(2 intermediate revisions by one other user not shown)
Line 5: Line 5:
 
*'''<nowiki>{{Holiday}}</nowiki>'''
 
*'''<nowiki>{{Holiday}}</nowiki>'''
 
*'''<nowiki>{{Holiday|Username}}</nowiki>''' include your username instead of "This user".
 
*'''<nowiki>{{Holiday|Username}}</nowiki>''' include your username instead of "This user".
*'''<nowiki>{{Holiday||Country}}</nowiki>''' or '''<nowiki>{{Holiday|country=Country}}</nowiki> gives the country you are visiting
+
*'''<nowiki>{{Holiday|2=Country}}</nowiki>''' or '''<nowiki>{{Holiday|country=Country}}</nowiki>''' gives the country you are visiting
 
*'''<nowiki>{{Holiday|from=</nowiki>''date''<nowiki>|until=</nowiki>''date''<nowiki>}}</nowiki>''' specify when you are "out of office".
 
*'''<nowiki>{{Holiday|from=</nowiki>''date''<nowiki>|until=</nowiki>''date''<nowiki>}}</nowiki>''' specify when you are "out of office".
 
*'''<nowiki>{{Holiday|US=yes}}</nowiki>''' replaces the text holiday with vacation.
 
*'''<nowiki>{{Holiday|US=yes}}</nowiki>''' replaces the text holiday with vacation.
Line 15: Line 15:
 
=== See also ===
 
=== See also ===
 
{{Wikibreak templates}}
 
{{Wikibreak templates}}
 
+
<includeonly>{{Sandbox other||
<includeonly>
 
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:User talk header templates|{{PAGENAME}}]]
 
[[Category:User talk header templates|{{PAGENAME}}]]
 
[[Category:Wikibreak templates]]
 
[[Category:Wikibreak templates]]
 
+
}}</includeonly>
</includeonly>
 

Latest revision as of 11:29, 15 August 2019

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