Difference between revisions of "Template:Holiday abroad/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing (→Usage: simplify) |
imported>MusikAnimal (Reverted to revision 597435684 by MusikAnimal (talk): Restoring original functionality. (TW)) |
||
| Line 4: | Line 4: | ||
== Usage == | == Usage == | ||
*'''<nowiki>{{Holiday abroad}}</nowiki>''' same as {{tl|Holiday}} | *'''<nowiki>{{Holiday abroad}}</nowiki>''' same as {{tl|Holiday}} | ||
| − | *'''<nowiki>{{Holiday abroad|Country name}}</nowiki>''' specify what country you're traveling to. | + | *'''<nowiki>{{Holiday abroad|Country name}}</nowiki>''' specify what country you're traveling to, and replace the right image with the country's flag. |
| + | *'''<nowiki>{{Holiday abroad|imgleft=Example.jpg}}</nowiki>''' specify which image to display on the left. | ||
*'''<nowiki>{{Holiday abroad|return=</nowiki>''date''<nowiki>}}</nowiki>''' specify when you will return. | *'''<nowiki>{{Holiday abroad|return=</nowiki>''date''<nowiki>}}</nowiki>''' specify when you will return. | ||
*'''<nowiki>{{Holiday abroad|US=yes}}</nowiki>''' replaces the text ''holiday'' with ''vacation''. | *'''<nowiki>{{Holiday abroad|US=yes}}</nowiki>''' replaces the text ''holiday'' with ''vacation''. | ||
Revision as of 11:02, 4 November 2016
| This is a documentation subpage for Template:Holiday abroad. It contains usage information, categories and other content that is not part of the original template page. |
Usage
- {{Holiday abroad}} same as {{Holiday}}
- {{Holiday abroad|Country name}} specify what country you're traveling to, and replace the right image with the country's flag.
- {{Holiday abroad|imgleft=Example.jpg}} specify which image to display on the left.
- {{Holiday abroad|return=date}} specify when you will return.
- {{Holiday abroad|US=yes}} replaces the text holiday with vacation.
- {{Holiday abroad|cmt=Comment goes here}} can be used to specify additional text to follow the default message.
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