Difference between revisions of "Template:Infobox sailing yacht/doc"

From blackwiki
Jump to navigation Jump to search
imported>Hashar
(Migrate to template data)
imported>Ed g2s
(add templatedata labels)
Line 85: Line 85:
 
"title": {
 
"title": {
 
"description": "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.",
 
"description": "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.",
"type": "string"
+
"type": "string",
 +
"label": "Title"
 
},
 
},
 
"image": {
 
"image": {
 
"description": "An image to represent the yacht or logo of the team.",
 
"description": "An image to represent the yacht or logo of the team.",
"type": "wiki-file-name"
+
"type": "wiki-file-name",
 +
"label": "Image"
 +
},
 +
"image_size": {
 +
"label": "Image size"
 +
},
 +
"alt": {
 +
"label": "Alternate text"
 
},
 
},
"image_size": {},
 
"alt": {},
 
 
"caption": {
 
"caption": {
 
"description": "A caption for the image. Terms in the caption can be wikilinked, if desired.",
 
"description": "A caption for the image. Terms in the caption can be wikilinked, if desired.",
"type": "string"
+
"type": "string",
 +
"label": "Caption"
 
},
 
},
 
"othernames": {
 
"othernames": {
 
"description": "Other names in the career of the yacht",
 
"description": "Other names in the career of the yacht",
"type": "string"
+
"type": "string",
 +
"label": "Other names"
 
},
 
},
 
"club": {
 
"club": {
"description": "The yacht club",
+
"type": "string",
"type": "string"
+
"label": "Yacht club"
 
},
 
},
 
"nat": {
 
"nat": {
"description": "The nationality of registration"
+
"description": "The nationality of registration",
 +
"label": "Nationality"
 
},
 
},
 
"class": {
 
"class": {
"description": "Competition class"
+
"label": "Competition class"
 
},
 
},
 
"sailno": {
 
"sailno": {
"description": "Sail number",
 
 
"example": "US–74",
 
"example": "US–74",
"type": "string"
+
"type": "string",
 +
"label": "Sail number"
 +
},
 +
"boats": {
 +
"label": "Boats"
 
},
 
},
"boats": {},
 
 
"designer": {
 
"designer": {
"description": "The yacht's designer"
+
"description": "The yacht's designer",
 +
"label": "Designer"
 
},
 
},
 
"builder": {
 
"builder": {
 
"description": "The yacht's boatbuilder",
 
"description": "The yacht's boatbuilder",
"type": "string"
+
"type": "string",
 +
"label": "Builder"
 
},
 
},
 
"launched": {
 
"launched": {
"description": "Date launched",
 
 
"example": "1993",
 
"example": "1993",
"type": "date"
+
"type": "date",
 +
"label": "Date launched"
 
},
 
},
 
"owner": {
 
"owner": {
 
"description": "Team Principal or Owner",
 
"description": "Team Principal or Owner",
"type": "string"
+
"type": "string",
 +
"label": "Owner"
 
},
 
},
 
"fate": {
 
"fate": {
 
"description": "The fate of the boat",
 
"description": "The fate of the boat",
"type": "string"
+
"type": "string",
 +
"label": "Fate"
 
},
 
},
 
"skip": {
 
"skip": {
"description": "Skipper/Helmsman",
+
"type": "string",
"type": "string"
+
"label": "Skipper/Helmsman"
 
},
 
},
 
"wins": {
 
"wins": {
 
"description": "Major trophies such as LV Cups or America Cup wins",
 
"description": "Major trophies such as LV Cups or America Cup wins",
"type": "string"
+
"type": "string",
 +
"label": "Wins"
 
},
 
},
 
"ac_year": {
 
"ac_year": {
"description": "The editions of America's Cup the yacht participated in"
+
"description": "The editions of America's Cup the yacht participated in",
 +
"label": "America's Cup years"
 
},
 
},
 
"lc_year": {
 
"lc_year": {
"description": "The editions of America's Cup Challenger Selections Series (Louis Vuitton Cup, Herbert Pell Cup et cetera) the yacht participated in"
+
"description": "The editions of America's Cup Challenger Selections Series (Louis Vuitton Cup, Herbert Pell Cup et cetera) the yacht participated in",
 +
"label": "America's Cup Challenger Selections years"
 
},
 
},
 
"cc_year": {
 
"cc_year": {
"description": "The editions of America's Cup Defender Selections Series the yacht participated in"
+
"description": "The editions of America's Cup Defender Selections Series the yacht participated in",
 +
"label": "America's Cup Defender Selections years"
 
},
 
},
 
"og_year": {
 
"og_year": {
"description": "The editions of Summer Olympics the yacht participated in"
+
"description": "The editions of Summer Olympics the yacht participated in",
 +
"label": "Olympics years"
 
},
 
},
 
"notablecrew": {
 
"notablecrew": {
"description": "other notable crew members, like Tacticians or others with Wiki pages"
+
"description": "Other notable crew members, like Tacticians or others with Wiki pages",
 +
"label": "Notable crew"
 
},
 
},
 
"rr_year": {
 
"rr_year": {
"description": "The editions of Route du Rhum the yacht participated in"
+
"description": "The editions of Route du Rhum the yacht participated in",
 +
"label": "Route du Rhum years"
 
},
 
},
 
"displacement": {
 
"displacement": {
"description": "Displacement of the boat."
+
"description": "Displacement of the boat.",
 +
"label": "Displacement"
 
},
 
},
 
"type": {
 
"type": {
 
"description": "hull/rig type: sloop, cutter, schooner, catamaran, trimaran, etc.",
 
"description": "hull/rig type: sloop, cutter, schooner, catamaran, trimaran, etc.",
 
"example": "catamaran",
 
"example": "catamaran",
"type": "string"
+
"type": "string",
 +
"label": "Type"
 
},
 
},
 
"height": {
 
"height": {
"description": "Height of the mast"
+
"description": "Height of the mast",
 +
"label": "Height"
 
},
 
},
 
"length": {
 
"length": {
"description": "Length of the boats. Length overall (LOA), length at waterline (LWL) or both."
+
"description": "Length of the boats. Length overall (LOA), length at waterline (LWL) or both.",
 +
"label": "Length"
 
},
 
},
 
"beam": {
 
"beam": {
"description": "Beam of the boat"
+
"description": "Beam of the boat",
 +
"label": "Beam"
 
},
 
},
 
"draft": {
 
"draft": {
"description": "Draft of the boat"
+
"description": "Draft of the boat",
 +
"label": "Draft"
 
},
 
},
 
"sail": {
 
"sail": {
"description": "Total area of all sails"
+
"description": "Total area of all sails",
 +
"label": "Sail area"
 
},
 
},
 
"crew": {
 
"crew": {
"description": "Crew number"
+
"label": "Crew number"
 
},
 
},
 
"notes": {
 
"notes": {
 
"description": "Any other notes about the boat",
 
"description": "Any other notes about the boat",
"type": "string"
+
"type": "string",
 +
"label": "Notes"
 
}
 
}
 
},
 
},

Revision as of 23:07, 5 December 2016

Usage

{{{title}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright=1|{{{alt}}}]]
{{{caption}}}
Other names{{{othernames}}}
Yacht club{{{club}}}
Nation{{{nat}}}
Class{{{class}}}
Sail no{{{sailno}}}{{{boats}}}
Designer(s){{{designer}}}
Builder{{{builder}}}
Launched{{{launched}}}
Owner(s){{{owner}}}
Fate{{{fate}}}
Racing career
Skippers{{{skip}}}
Crew members{{{notablecrew}}}
Notable victories{{{wins}}}
America's Cup{{{ac_year}}}
AC Challenger
Selection Series
{{{lc_year}}}
AC Defender
Selection Series
{{{cc_year}}}
Olympics{{{og_year}}}
Route du Rhum{{{rr_year}}}
Specifications
Type{{{type}}}
Displacement{{{displacement}}}
Length{{{length}}}
Beam{{{beam}}}
Draft{{{draft}}}
Mast height{{{height}}}
Sail area{{{sail}}}
Crew{{{crew}}}
Notes
{{{notes}}}

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:


This template summarizes information about an individual racing yacht. For racing syndicates use {{tlx|Infobox Sailing team}}.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

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.

Stringoptional
Imageimage

An image to represent the yacht or logo of the team.

Fileoptional
Image sizeimage_size

no description

Unknownoptional
Alternate textalt

no description

Unknownoptional
Captioncaption

A caption for the image. Terms in the caption can be wikilinked, if desired.

Stringoptional
Other namesothernames

Other names in the career of the yacht

Stringoptional
Yacht clubclub

no description

Stringoptional
Nationalitynat

The nationality of registration

Unknownoptional
Competition classclass

no description

Unknownoptional
Sail numbersailno

no description

Example
US–74
Stringoptional
Boatsboats

no description

Unknownoptional
Designerdesigner

The yacht's designer

Unknownoptional
Builderbuilder

The yacht's boatbuilder

Stringoptional
Date launchedlaunched

no description

Example
1993
Dateoptional
Ownerowner

Team Principal or Owner

Stringoptional
Fatefate

The fate of the boat

Stringoptional
Skipper/Helmsmanskip

no description

Stringoptional
Winswins

Major trophies such as LV Cups or America Cup wins

Stringoptional
Notable crewnotablecrew

Other notable crew members, like Tacticians or others with Wiki pages

Unknownoptional
America's Cup yearsac_year

The editions of America's Cup the yacht participated in

Unknownoptional
America's Cup Challenger Selections yearslc_year

The editions of America's Cup Challenger Selections Series (Louis Vuitton Cup, Herbert Pell Cup et cetera) the yacht participated in

Unknownoptional
America's Cup Defender Selections yearscc_year

The editions of America's Cup Defender Selections Series the yacht participated in

Unknownoptional
Olympics yearsog_year

The editions of Summer Olympics the yacht participated in

Unknownoptional
Route du Rhum yearsrr_year

The editions of Route du Rhum the yacht participated in

Unknownoptional
Displacementdisplacement

Displacement of the boat.

Unknownoptional
Typetype

hull/rig type: sloop, cutter, schooner, catamaran, trimaran, etc.

Example
catamaran
Stringoptional
Heightheight

Height of the mast

Unknownoptional
Lengthlength

Length of the boats. Length overall (LOA), length at waterline (LWL) or both.

Unknownoptional
Beambeam

Beam of the boat

Unknownoptional
Draftdraft

Draft of the boat

Unknownoptional
Sail areasail

Total area of all sails

Unknownoptional
Crew numbercrew

no description

Unknownoptional
Notesnotes

Any other notes about the boat

Stringoptional