User:T2Bean/Holiday

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Documentationview · edit · history · purge ]
This documentation is transcluded from User:T2Bean/Holiday/doc.

An adapted version of Holiday. It automatically updates itself when you go on holiday, which is often impossible, or extremely difficult to do yourself.

Usage

[edit]
{{User:T2Bean/Holiday
|from=
|until=
|date=
|month=
}}

Parameters

[edit]

Note: date and month are optional, but need to be specified for this template to be any different to Template:Holiday.
from: Date holiday starts (any format) - string, optional
until: Date holiday ends (any format) - string, optional
date: Day of the month that the holiday starts (1-31) - integer, optional
month: Month that the holiday starts in (1-12) - integer, optional
usedate: Override the desplay of dates from the first two parameters, to make it look more magical (yes/no) - boolean, optional

Extra infomation

[edit]

Namespaces: User, User talk

Users: All

Placement: Top of page

Localization

[edit]

Follow instructions at Template:Holiday#Localization, and that will apply to this template as well. It may not update immediately, try purging.

Examples

[edit]
{{User:T2Bean/Holiday}}: {{User:T2Bean/Holiday|from=1 January|until=31 December}}: {{User:T2Bean/Holiday|from=1 January|until=31 December|date=1|month=1}}: {{User:T2Bean/Holiday|from=30 December|until=31 December|date=30|month=12}}: {{User:T2Bean/Holiday|from=30 December|until=31 December|date=30|month=12|usedate=no}}:

Known limitations

[edit]
  • Bugs out and does not work when start date and end date are in diffrent years.

See also

[edit]