Difference between revisions of "Template:Infobox sailing yacht"
imported>Zyxw m (replace {{PAGENAME}} with {{PAGENAMEBASE}} to remove any disambiguation from infobox title, edited using AWB) |
imported>Frietjes (move doc to doc page) |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| italic title= {{{italic title|}}} | | italic title= {{{italic title|}}} | ||
| − | | title = {{{title<includeonly> | + | | title = {{{title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| titlestyle = font-style: italic | | titlestyle = font-style: italic | ||
| bodystyle = | | bodystyle = | ||
| Line 9: | Line 9: | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| label1 = Other names | | label1 = Other names | ||
| − | | data1 = {{{othernames | + | | data1 = {{{othernames|}}} |
| label2 = Yacht club | | label2 = Yacht club | ||
| − | | data2 = {{{club | + | | data2 = {{{club|}}} |
| label3 = Nation | | label3 = Nation | ||
| − | | data3 = {{{nat | + | | data3 = {{{nat|}}} |
| label4 = Class | | label4 = Class | ||
| − | | data4 = {{{class | + | | data4 = {{{class|}}} |
| label5 = Sail no | | label5 = Sail no | ||
| − | | data5 = {{{sailno | + | | data5 = {{{sailno|}}}{{{boats|}}} |
| label6 = Designer(s) | | label6 = Designer(s) | ||
| − | | data6 = {{{designer | + | | data6 = {{{designer|}}} |
| label7 = Builder | | label7 = Builder | ||
| − | | data7 = {{{builder | + | | data7 = {{{builder|}}} |
| label8 = Launched | | label8 = Launched | ||
| − | | data8 = {{{launched | + | | data8 = {{{launched|}}} |
| label9 = Owner(s) | | label9 = Owner(s) | ||
| − | | data9 = {{{owner | + | | data9 = {{{owner|}}} |
| label10 = Fate | | label10 = Fate | ||
| − | | data10 = {{{fate | + | | data10 = {{{fate|}}} |
| − | | header11 = {{#if:{{{skip | + | | header11 = {{#if:{{{skip|}}}{{{wins|}}}{{{ac_year|}}}{{{lc_year|}}}{{{cc_year|}}}{{{og_year|}}}| Racing career}} |
| label12 = Skippers | | label12 = Skippers | ||
| − | | data12 = {{{skip | + | | data12 = {{{skip|}}} |
| label13 = Crew members | | label13 = Crew members | ||
| − | | data13 = {{{notablecrew | + | | data13 = {{{notablecrew|}}} |
| label14 = Notable victories | | label14 = Notable victories | ||
| − | | data14 = {{{wins | + | | data14 = {{{wins|}}} |
| label15 = America's Cup | | label15 = America's Cup | ||
| − | | data15 = {{{ac_year | + | | data15 = {{{ac_year|}}} |
| label16 = AC Challenger<br>Selection Series | | label16 = AC Challenger<br>Selection Series | ||
| − | | data16 = {{{lc_year | + | | data16 = {{{lc_year|}}} |
| label17 = AC Defender<br>Selection Series | | label17 = AC Defender<br>Selection Series | ||
| − | | data17 = {{{cc_year | + | | data17 = {{{cc_year|}}} |
| label18 = Olympics | | label18 = Olympics | ||
| − | | data18 = {{{og_year | + | | data18 = {{{og_year|}}} |
| label19 = Route du Rhum | | label19 = Route du Rhum | ||
| − | | data19 = {{{rr_year | + | | data19 = {{{rr_year|}}} |
| − | | header20 = {{#if:{{{displacement | + | | header20 = {{#if:{{{displacement|}}}{{{type|}}}{{{crew|}}}{{{height|}}}{{{length|}}}{{{beam|}}}{{{draft|}}}{{{sail_plan|}}}| Specifications}} |
| label21 = Hull type | | label21 = Hull type | ||
| − | | data21 = {{{type | + | | data21 = {{{type|}}} |
| label22 = Crew | | label22 = Crew | ||
| − | | data22 = {{{crew | + | | data22 = {{{crew|}}} |
| label23 = Length | | label23 = Length | ||
| − | | data23 = {{{length | + | | data23 = {{{length|}}} |
| label24 = Beam | | label24 = Beam | ||
| − | | data24 = {{{beam | + | | data24 = {{{beam|}}} |
| label25 = Draft | | label25 = Draft | ||
| − | | data25 = {{{draft | + | | data25 = {{{draft|}}} |
| label26 = Mast height | | label26 = Mast height | ||
| − | | data26 = {{{height | + | | data26 = {{{height|}}} |
| label27 = Displacement | | label27 = Displacement | ||
| − | | data27 = {{{displacement | + | | data27 = {{{displacement|}}} |
| label28 = Sail area | | label28 = Sail area | ||
| − | | data28 = {{{sail | + | | data28 = {{{sail|}}} |
| − | | header29 = {{#if:{{{notes | + | | header29 = {{#if:{{{notes|}}}|Notes}} |
| label30 = | | label30 = | ||
| − | | data30 = {{{notes | + | | data30 = {{{notes|}}} |
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||
Revision as of 15:31, 10 May 2015
[[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. |