Difference between revisions of "Template:Holiday/doc"
Jump to navigation
Jump to search
imported>Primefac |
imported>Primefac (all this random bold...) |
||
| 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|2=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. | ||
Revision as of 18:37, 19 October 2017
| This is a documentation subpage for Template:Holiday. It contains usage information, categories and other content that is not part of the original template page. |
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