Jump to content

Template:Infobox sailing yacht

From wiki.coreyblair.us
{{#ifeq:{|[|}}
{{#if:| Racing career}}
{{#if:| Specifications}}
{{#if:|Notes}}

{{#ifeq:infobox sailing yacht |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Template:Infobox sailing yacht
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

Usage

{{{title}}}
{{#ifeq:&|[|}}[[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}}}
{{#if:{{{skip}}}{{{wins}}}{{{ac_year}}}{{{lc_year}}}{{{cc_year}}}{{{og_year}}}| 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}}}
{{#if:{{{displacement}}}{{{type}}}{{{crew}}}{{{height}}}{{{length}}}{{{beam}}}{{{draft}}}| Specifications}}
Type {{{type}}}
Displacement {{{displacement}}}
Length {{{length}}}
Beam {{{beam}}}
Draft {{{draft}}}
Mast height {{{height}}}
Sail area {{{sail}}}
Crew {{{crew}}}
{{#if:{{{notes}}}|Notes}}
{{{notes}}}

This template summarizes information about an individual racing yacht. For racing syndicates use {{{{#if: |subst:}}Infobox Sailing team{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}.

{{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:

{{#if:| |This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools.}}

See the monthly error report for this template.

TemplateData for Infobox sailing yacht

{{#ifeq:Infobox sailing yacht|sandbox||

}} <templatedata> { "description": "This template summarizes information about an individual racing yacht. For racing syndicates use {{{{#if: |subst:}}Infobox Sailing team{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}.", "params": { "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.", "type": "string", "label": "Title" }, "image": { "description": "An image to represent the yacht or logo of the team.", "type": "wiki-file-name", "label": "Image" }, "image_size": { "label": "Image size" }, "alt": { "label": "Alternate text" }, "caption": { "description": "A caption for the image. Terms in the caption can be wikilinked, if desired.", "type": "string", "label": "Caption" }, "othernames": { "description": "Other names in the career of the yacht", "type": "string", "label": "Other names" }, "club": { "type": "string", "label": "Yacht club" }, "nat": { "description": "The nationality of registration", "label": "Nationality" }, "class": { "label": "Competition class" }, "sailno": { "example": "US–74", "type": "string", "label": "Sail number" }, "boats": { "label": "Boats" }, "designer": { "description": "The yacht's designer", "label": "Designer" }, "builder": { "description": "The yacht's boatbuilder", "type": "string", "label": "Builder" }, "launched": { "example": "1993", "type": "date", "label": "Date launched" }, "owner": { "description": "Team Principal or Owner", "type": "string", "label": "Owner" }, "fate": { "description": "The fate of the boat", "type": "string", "label": "Fate" }, "skip": { "type": "string", "label": "Skipper/Helmsman" }, "wins": { "description": "Major trophies such as LV Cups or America Cup wins", "type": "string", "label": "Wins" }, "ac_year": { "description": "The editions of America's Cup the yacht participated in", "label": "America's Cup years" }, "lc_year": { "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": { "description": "The editions of America's Cup Defender Selections Series the yacht participated in", "label": "America's Cup Defender Selections years" }, "og_year": { "description": "The editions of Summer Olympics the yacht participated in", "label": "Olympics years" }, "notablecrew": { "description": "Other notable crew members, like Tacticians or others with Wiki pages", "label": "Notable crew" }, "rr_year": { "description": "The editions of Route du Rhum the yacht participated in", "label": "Route du Rhum years" }, "displacement": { "description": "Displacement of the boat.", "label": "Displacement" }, "type": { "description": "hull/rig type: sloop, cutter, schooner, catamaran, trimaran, etc.", "example": "catamaran", "type": "string", "label": "Type" }, "height": { "description": "Height of the mast", "label": "Height" }, "length": { "description": "Length of the boats. Length overall (LOA), length at waterline (LWL) or both.", "label": "Length" }, "beam": { "description": "Beam of the boat", "label": "Beam" }, "draft": { "description": "Draft of the boat", "label": "Draft" }, "sail": { "description": "Total area of all sails", "label": "Sail area" }, "crew": { "label": "Crew number" }, "notes": { "description": "Any other notes about the boat", "type": "string", "label": "Notes" } }, "paramOrder": [ "title", "image", "image_size", "alt", "caption", "othernames", "club", "nat", "class", "sailno", "boats", "designer", "builder", "launched", "owner", "fate", "skip", "wins", "notablecrew", "ac_year", "lc_year", "cc_year", "og_year", "rr_year", "displacement", "type", "height", "length", "beam", "draft", "sail", "crew", "notes" ] } </templatedata>