Difference between revisions of "Template:Infobox Americas Cup competition/doc"
Jump to navigation
Jump to search
imported>GoingBatty (added category) |
imported>Vanisaac m (→Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 12: | Line 12: | ||
|defender country= | |defender country= | ||
|defender flag variant= | |defender flag variant= | ||
| − | |||
|defender club= | |defender club= | ||
|defender yacht= | |defender yacht= | ||
| Line 18: | Line 17: | ||
|challenger country= | |challenger country= | ||
|challenger flag variant= | |challenger flag variant= | ||
| − | |||
|challenger club= | |challenger club= | ||
|challenger yacht= | |challenger yacht= | ||
| Line 41: | Line 39: | ||
|defender country=US | |defender country=US | ||
|defender flag variant=1903 | |defender flag variant=1903 | ||
| − | |defender | + | |defender club={{yachtclub|New York Yacht Club}} |
| − | | | ||
|defender yacht=[[Reliance (yacht)|Reliance]] | |defender yacht=[[Reliance (yacht)|Reliance]] | ||
|challenger country=UK | |challenger country=UK | ||
|challenger flag variant=1903 | |challenger flag variant=1903 | ||
| − | |challenger | + | |challenger club={{yachtclub|Royal Ulster Yacht Club}} |
| − | | | ||
|challenger yacht=[[Shamrock III]] | |challenger yacht=[[Shamrock III]] | ||
|location=[[New York City]] | |location=[[New York City]] | ||
|coordinates={{coord|40|40|N|74|02|W|display=inline,title}} | |coordinates={{coord|40|40|N|74|02|W|display=inline,title}} | ||
| − | |dates=1903 | + | |dates={{Start date|1903}} |
|rule=[[Seawanhaka]] | |rule=[[Seawanhaka]] | ||
|winning club=[[New York Yacht Club]] | |winning club=[[New York Yacht Club]] | ||
| Line 72: | Line 68: | ||
*{{para|defender country}} This parameter is used to add a flag icon to the Defender header. | *{{para|defender country}} This parameter is used to add a flag icon to the Defender header. | ||
*{{para|defender flag variant}} Because country flags change over time, use this parameter to specify the flag appropriate to the time. | *{{para|defender flag variant}} Because country flags change over time, use this parameter to specify the flag appropriate to the time. | ||
| − | + | *{{para|defender club}} Name of the club defending its possession of the America's Cup using {{tl|yachtclub}} | |
| − | *{{para|defender club}} Name of the club defending its possession of the America's Cup | ||
*{{para|defender yacht}} Name of the yacht chosen by <code>defender club</code> to defend the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults to <code>TBD</code>. | *{{para|defender yacht}} Name of the yacht chosen by <code>defender club</code> to defend the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults to <code>TBD</code>. | ||
}} | }} | ||
| Line 80: | Line 75: | ||
*{{para|challenger country}} This parameter is used to add a flag icon to the Challenger header. | *{{para|challenger country}} This parameter is used to add a flag icon to the Challenger header. | ||
*{{para|challenger flag variant}} Because country flags change over time, use this parameter to specify the flag appropriate to the time. | *{{para|challenger flag variant}} Because country flags change over time, use this parameter to specify the flag appropriate to the time. | ||
| − | + | *{{para|challenger club}} Name of the club challenging for possession of the America's Cup using {{tl|yachtclub}} | |
| − | *{{para|challenger club}} Name of the club challenging for possession of the America's Cup | ||
*{{para|challenger yacht}} Name of the yacht chosen by <code>challenger club</code> to challenge for the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults to <code>TBD</code>. | *{{para|challenger yacht}} Name of the yacht chosen by <code>challenger club</code> to challenge for the America's Cup. Yacht names are italicized by the template. If omitted or left blank, this parameter defaults to <code>TBD</code>. | ||
}} | }} | ||
| Line 87: | Line 81: | ||
{{plainlist|indent=1| | {{plainlist|indent=1| | ||
*{{para|location}} City, state, country, etc where the America's Cup competition was held. If omitted or left blank, this parameter defaults to <code>TBD</code>. | *{{para|location}} City, state, country, etc where the America's Cup competition was held. If omitted or left blank, this parameter defaults to <code>TBD</code>. | ||
| − | *{{para|coordinates}} Use {{ | + | *{{para|coordinates}} Use {{tl|coord}}, with {{Para|display|inline,title}}, identify the location of the America's Cup competition. If omitted or left blank, this field is not displayed. |
| − | *{{para|dates}} Date or dates of the America's Cup competition. If omitted | + | *{{para|dates}} Date or dates of the America's Cup competition. Use {{tl|Start date}} (and {{Tl|End date}}). If omitted or left blank, this parameter defaults to <code>TBD</code>. |
*{{para|rule}} Rule under which the America's Cup competition was raced. | *{{para|rule}} Rule under which the America's Cup competition was raced. | ||
*{{para|winning club}} Name of the club that won the America's Cup competition. If omitted or left blank, this parameter defaults to <code>TBD</code>. | *{{para|winning club}} Name of the club that won the America's Cup competition. If omitted or left blank, this parameter defaults to <code>TBD</code>. | ||
| Line 94: | Line 88: | ||
}}}} | }}}} | ||
| − | <includeonly> | + | == Microformat == |
| + | |||
| + | {{UF-hcal}} | ||
| + | |||
| + | <includeonly>{{Sandbox other|| | ||
<!-- Categories go here, and interwikis go in Wikidata --> | <!-- Categories go here, and interwikis go in Wikidata --> | ||
[[Category:Sailing infobox templates|America's Cup]] | [[Category:Sailing infobox templates|America's Cup]] | ||
[[Category:America's Cup regattas|~]] | [[Category:America's Cup regattas|~]] | ||
| − | |||
[[Category:America's Cup templates]] | [[Category:America's Cup templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 17:58, 25 April 2020
| 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: | Template:Yachtclub |
| Yacht: | Reliance |
| Challenger | |
| Challenger club: | Template:Yachtclub |
| 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 club=Name of the club defending its possession of the America's Cup using {{yachtclub}}|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 club=Name of the club challenging for possession of the America's Cup using {{yachtclub}}|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}}, with|display=inline,title, 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. Use {{Start date}} (and {{End date}}). If omitted or 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.
Microformat
