Difference between revisions of "Template:Infobox Americas Cup competition/doc"
Jump to navigation
Jump to search
imported>Trappist the monk m (Copyedit;) |
imported>Trappist the monk m (Copyedit;) |
||
| Line 2: | Line 2: | ||
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> | ||
This infobox is intended to be used in individual America's Cup race articles. | This infobox is intended to be used in individual America's Cup race articles. | ||
| + | {{collapse top |bg=#d0e5f5 |title=Infobox Americas Cup competition skeleton. {{nobold|{{small|Select show to expand.}}}}}} | ||
| + | <code><poem><nowiki>{{Infobox Americas Cup competition | ||
| + | |competition= | ||
| + | |image= | ||
| + | |image size= | ||
| + | |image alt= | ||
| + | |caption= | ||
| + | |||
| + | |defender country= | ||
| + | |defender flag variant= | ||
| + | |defender burgee= | ||
| + | |defender club= | ||
| + | |defender yacht= | ||
| + | |||
| + | |challenger country= | ||
| + | |challenger flag variant= | ||
| + | |challenger burgee= | ||
| + | |challenger club= | ||
| + | |challenger yacht= | ||
| + | |||
| + | |location= | ||
| + | |coordinates= | ||
| + | |dates= | ||
| + | |rule= | ||
| + | |winning club= | ||
| + | |score= | ||
| + | }}</nowiki></poem></code> | ||
| + | {{collapse bottom}}<!-- end of Infobox Americas Cup Competition skeleton --> | ||
| + | |||
== Usage == | == Usage == | ||
{{Infobox Americas Cup competition | {{Infobox Americas Cup competition | ||
| Line 64: | Line 93: | ||
*{{para|score}} Final score in the form: <code>winner–loser</code>. Separate winner's score from loser's score with an unspaced-[[ndash]]. If omitted or left blank, this parameter defaults to <code>TBD</code>. | *{{para|score}} Final score in the form: <code>winner–loser</code>. Separate winner's score from loser's score with an unspaced-[[ndash]]. If omitted or left blank, this parameter defaults to <code>TBD</code>. | ||
}}}} | }}}} | ||
| − | |||
<includeonly> | <includeonly> | ||
Revision as of 18:14, 11 August 2013
| This is a documentation subpage for Template:Infobox Americas Cup competition. It contains usage information, categories and other content that is not part of the original template page. |
This infobox is intended to be used in individual America's Cup race articles.
Infobox Americas Cup competition skeleton. Select show to expand.
|
|---|
|
Usage
![]() Reliance (left) and Shamrock III (right) before the race | |
| Defender | |
|---|---|
| Defender club: | New York Yacht Club |
| Yacht: | Reliance |
| Challenger | |
| Challenger club: | Royal Ulster Yacht Club |
| Yacht: | Shamrock III |
| Competition | |
| Location: | New York City |
| Lua error: callParserFunction: function "#coordinates" was not found. | |
| Dates: | 1903 |
| Rule: | Seawanhaka |
| Winner: | New York Yacht Club |
| Score: | 3–0 |
Parameter descriptions
The parameter names are all lower case. There are no separators except white space between the individual words of a parameter name.
|competition=Use this parameter to specify the title at the top outside of the infobox. This parameter, if omitted or left blank, defaults to the page title.|image=– File name of an image related to the America's Cup competition. Do not include the namespace identifiers File: or Image: but do include the file extention (.jpg, .png, etc)|image size=The image in the infobox defaults to 300px wide. Use this parameter to specify another width (number of pixels only).|image alt=For accessibility reasons, all images should have an alt attribute.|caption=Text to caption the image. See Captions in the Manual of Style.- Defender
|defender country=This parameter is used to add a flag icon to the Defender header.|defender flag variant=Because country flags change over time, use this parameter to specify the flag appropriate to the time.|defender burgee=File name of an image ofdefender club's flag, ensign, or burgee. Do not include the namespace identifiers File: or Image: but do include the file extention (.jpg, .png, etc)|defender club=Name of the club defending its possession of the America's Cup|defender yacht=Name of the yacht chosen bydefender clubto defend the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults toTBD.
- Challenger
|challenger country=This parameter is used to add a flag icon to the Challenger header.|challenger flag variant=Because country flags change over time, use this parameter to specify the flag appropriate to the time.|challenger burgee=File name of an image ofchallenger club's flag, ensign, or burgee. Do not include the namespace identifiers File: or Image: but do include the file extention (.jpg, .png, etc)|challenger club=Name of the club challenging for possession of the America's Cup|challenger yacht=Name of the yacht chosen bychallenger clubto challenge for the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults toTBD.
- Location
|location=City, state, country, etc where the America's Cup competition was held. If omitted or left blank, this parameter defaults toTBD.|coordinates=Use{{coord}}identify the location of the America's Cup competition. If omitted or left blank, this field is not displayed.|dates=Date or dates of the America's Cup competition. If omitted of left blank, this parameter defaults toTBD.|rule=Rule under which the America's Cup competition was raced.|winning club=Name of the club that won the America's Cup competition. If omitted or left blank, this parameter defaults toTBD.|score=Final score in the form:winner–loser. Separate winner's score from loser's score with an unspaced-ndash. If omitted or left blank, this parameter defaults toTBD.
