Difference between revisions of "Template:Infobox sailing yacht"
imported>John of Reading m (Typo fixing, replaced: Bulider → Builder using AWB) |
imported>Mojoworker (Add lv_year parameter for Louis Vuitton Cup participation) |
||
| Line 15: | Line 15: | ||
| label4 = America's Cup Year(s): | | label4 = America's Cup Year(s): | ||
| data4 = {{{ac_year<includeonly>|</includeonly>}}} | | data4 = {{{ac_year<includeonly>|</includeonly>}}} | ||
| − | | label5 = Hull Type: | + | | label5 = Louis Vuitton Cup Year(s): |
| − | | | + | | data5 = {{{lv_year<includeonly>|</includeonly>}}} |
| − | | | + | | label6 = Hull Type: |
| − | | | + | | data6 = {{{type<includeonly>|</includeonly>}}} |
| − | | | + | | label7 = Class: |
| − | | | + | | data7 = {{{class<includeonly>|</includeonly>}}} |
| − | | | + | | label8 = Designer(s): |
| − | | | + | | data8 = {{{designer<includeonly>|</includeonly>}}} |
| − | | | + | | label9 = Builder: |
| − | | | + | | data9 = {{{builder<includeonly>|</includeonly>}}} |
| − | | | + | | label10 = Launched: |
| − | | | + | | data10 = {{{launched<includeonly>|</includeonly>}}} |
| − | | | + | | label11 = Owner(s): |
| − | | | + | | data11 = {{{owner<includeonly>|</includeonly>}}} |
| − | | | + | | label12 = Skipper(s): |
| − | | | + | | data12 = {{{skip<includeonly>|</includeonly>}}} |
| − | | | + | | label13 = Sailors: |
| − | | | + | | data13 = {{{crew<includeonly>|</includeonly>}}} |
| − | | | + | | label14 = Notable Victories: |
| − | | | + | | data14 = {{{wins<includeonly>|</includeonly>}}} |
| − | | | + | | label15 = Sail Number(s): |
| − | | | + | | data15 = {{{boats<includeonly>|</includeonly>}}} |
| − | | | + | | label16 = Fate: |
| − | | | + | | data16 = {{{fate<includeonly>|</includeonly>}}} |
| − | | | + | | header17 = {{#if:{{{displacement<includeonly>|}}}{{{length|}}}{{{beam|}}}{{{draft|}}}{{{sail_plan|</includeonly>}}}| Specifications}} |
| − | | | + | | label18 = Displacement: |
| − | | | + | | data18 = {{{displacement<includeonly>|</includeonly>}}} |
| − | | | + | | label19 = Length: |
| − | | | + | | data19 = {{{length<includeonly>|</includeonly>}}} |
| − | | | + | | label20 = Beam: |
| − | | | + | | data20 = {{{beam<includeonly>|</includeonly>}}} |
| − | | | + | | label21 = Draft: |
| − | | | + | | data21 = {{{draft<includeonly>|</includeonly>}}} |
| − | | | + | | label22 = Sail Area: |
| + | | data22 = {{{sail<includeonly>|</includeonly>}}} | ||
| + | | header23 = {{#if:{{{notes<includeonly>|</includeonly>}}}|Notes}} | ||
| label23 = | | label23 = | ||
| − | | | + | | data24 = {{{notes<includeonly>|</includeonly>}}} |
}}<noinclude>{{Documentation}}<!-- Please place category and language links in [[Template:Infobox Americas Cup/doc]] --></noinclude> | }}<noinclude>{{Documentation}}<!-- Please place category and language links in [[Template:Infobox Americas Cup/doc]] --></noinclude> | ||
Revision as of 17:13, 7 October 2012
| {{{title}}} | |
|---|---|
| {{{image}}} {{{caption or Fullname}}} | |
| Career | |
| Yacht Club: | {{{club}}} |
| Nation: | {{{nat}}} |
| America's Cup Year(s): | {{{ac_year}}} |
| Louis Vuitton Cup Year(s): | {{{lv_year}}} |
| Hull Type: | {{{type}}} |
| Class: | {{{class}}} |
| Designer(s): | {{{designer}}} |
| Builder: | {{{builder}}} |
| Launched: | {{{launched}}} |
| Owner(s): | {{{owner}}} |
| Skipper(s): | {{{skip}}} |
| Sailors: | {{{crew}}} |
| Notable Victories: | {{{wins}}} |
| Sail Number(s): | {{{boats}}} |
| Fate: | {{{fate}}} |
| Specifications | |
| Displacement: | {{{displacement}}} |
| Length: | {{{length}}} |
| Beam: | {{{beam}}} |
| Draft: | {{{draft}}} |
| Sail Area: | {{{sail}}} |
| Notes | |
| {{{notes}}} | |
[[Category:Infobox templates|Template:Remove first word]]
This infobox should italicize the article title automatically. If this is not required, add |italic title=no to the list of parameters. If this is required but the title is not being italicized, try |italic title=force. |
Usage
Template:Parameter names example
This template summarizes information about an individual racing yacht. For racing syndicates use {{Infobox Sailing team}}.
{{Infobox sailing yacht
| title =
| image =
| caption =
| othernames =
| club =
| nat =
| class =
| sailno =
| designer =
| builder =
| launched =
| owner =
| fate =
| skip =
| wins =
| ac_year =
| lv_year =
| cc_year =
| og_year =
| rr_year =
| type =
| displacement =
| length =
| beam =
| draft =
| height =
| sail =
| crew =
| notes =
}}
Parameters
This infobox takes a number of parameters, which are optional unless indicated otherwise:
TemplateData for Infobox sailing yacht
This template summarizes information about an individual racing yacht. For racing syndicates use {{tlx|Infobox Sailing team}}.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The common name of the yacht which should preferably be the same as the article title. If the parameter is omitted, the article name is used. | String | optional |
| Image | image | An image to represent the yacht or logo of the team. | File | optional |
| Image size | image_size | no description | Unknown | optional |
| Alternate text | alt | no description | Unknown | optional |
| Caption | caption | A caption for the image. Terms in the caption can be wikilinked, if desired. | String | optional |
| Other names | othernames | Other names in the career of the yacht | String | optional |
| Yacht club | club | no description | String | optional |
| Nationality | nat | The nationality of registration | Unknown | optional |
| Competition class | class | no description | Unknown | optional |
| Sail number | sailno | no description
| String | optional |
| Boats | boats | no description | Unknown | optional |
| Designer | designer | The yacht's designer | Unknown | optional |
| Builder | builder | The yacht's boatbuilder | String | optional |
| Date launched | launched | no description
| Date | optional |
| Owner | owner | Team Principal or Owner | String | optional |
| Fate | fate | The fate of the boat | String | optional |
| Skipper/Helmsman | skip | no description | String | optional |
| Wins | wins | Major trophies such as LV Cups or America Cup wins | String | optional |
| Notable crew | notablecrew | Other notable crew members, like Tacticians or others with Wiki pages | Unknown | optional |
| America's Cup years | ac_year | The editions of America's Cup the yacht participated in | Unknown | optional |
| America's Cup Challenger Selections years | lc_year | The editions of America's Cup Challenger Selections Series (Louis Vuitton Cup, Herbert Pell Cup et cetera) the yacht participated in | Unknown | optional |
| America's Cup Defender Selections years | cc_year | The editions of America's Cup Defender Selections Series the yacht participated in | Unknown | optional |
| Olympics years | og_year | The editions of Summer Olympics the yacht participated in | Unknown | optional |
| Route du Rhum years | rr_year | The editions of Route du Rhum the yacht participated in | Unknown | optional |
| Displacement | displacement | Displacement of the boat. | Unknown | optional |
| Type | type | hull/rig type: sloop, cutter, schooner, catamaran, trimaran, etc.
| String | optional |
| Height | height | Height of the mast | Unknown | optional |
| Length | length | Length of the boats. Length overall (LOA), length at waterline (LWL) or both. | Unknown | optional |
| Beam | beam | Beam of the boat | Unknown | optional |
| Draft | draft | Draft of the boat | Unknown | optional |
| Sail area | sail | Total area of all sails | Unknown | optional |
| Crew number | crew | no description | Unknown | optional |
| Notes | notes | Any other notes about the boat | String | optional |
| The above documentation is transcluded from Template:Infobox sailing yacht/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |