Difference between revisions of "Template:Holiday/doc"
Jump to navigation
Jump to search
imported>Hyacinth ({{Wikibreak templates}}) |
imported>Qwertyxp2000 (→Usage) |
||
| Line 8: | Line 8: | ||
*'''<nowiki>{{Holiday|US=yes}}</nowiki>''' replaces the text holiday with vacation. | *'''<nowiki>{{Holiday|US=yes}}</nowiki>''' replaces the text holiday with vacation. | ||
*'''<nowiki>{{Holiday|cmt=</nowiki>''comment goes here''<nowiki>}}</nowiki>''' can be used to specify additional text to follow the default message. | *'''<nowiki>{{Holiday|cmt=</nowiki>''comment goes here''<nowiki>}}</nowiki>''' can be used to specify additional text to follow the default message. | ||
| + | *'''<nowiki>{{Holiday|will=yes}}</nowiki>''' 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. | 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. | ||
Revision as of 22:15, 18 January 2015
| 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|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