Template:Infobox sailing competition

From Wiki.CoreyBlair.US
Jump to navigation Jump to search
{{#if:|Key people}}
{{#if:|
}}
{{#if:|Results}}
{{#if:|Classes}}

{{#if:|{{#switch: left

|left =
← {{{prev}}}
|right =
← {{{prev}}}
|center =
← {{{prev}}}
{{#if:← {{{prev}}} ||}}

|#default = Error in Template:Align: the alignment setting "left" is invalid. }}}}{{#if:|{{#switch: right

|left =
{{{next}}} →
|right =
{{{next}}} →
|center =
{{{next}}} →
{{#if:{{{next}}} → ||}}

|#default = Error in Template:Align: the alignment setting "right" is invalid.

}}}}
50px Template documentation

Usage

{{{name}}}
[[File:{{{image}}}|frameless|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
Edition {{{edition}}}
Venue {{{venue}}}
Dates {{{dates}}}
Host {{{host}}}
Opening ceremony {{{opening}}}
Opened by {{{opened_by}}}
Titles {{{titles}}}
Competitors {{{competitors}}}
Yachts {{{yachts}}}
Competing nations {{{nations}}}
Qualification(s) {{{qualify}}}
{{#if:{{{key_people}}}|Key people}}
{{#if:{{{key_people}}}|
{{{key_people}}}
}}
{{#if:{{{gold}}}{{{silver}}}{{{bronze}}}{{{award1}}}|Results}}
File:Gold medal icon.svg Gold {{{gold}}}
File:Silver medal icon.svg Silver {{{silver}}}
File:Bronze medal icon.svg Bronze {{{bronze}}}
{{{award1_title}}} {{{award1}}}
{{#if:{{{class1}}}{{{class2}}}{{{class3}}}|Classes}}
{{{class1_type}}} {{{class1}}}
{{{class2_type}}} {{{class2}}}
{{{class3_type}}} {{{class3}}}
{{{class4_type}}} {{{class4}}}

{{#if:{{{prev}}}|{{#switch: left

|left =
← {{{prev}}}
|right =
← {{{prev}}}
|center =
← {{{prev}}}
{{#if:← {{{prev}}} ||}}

|#default = Error in Template:Align: the alignment setting "left" is invalid. }}}}{{#if:{{{next}}}|{{#switch: right

|left =
{{{next}}} →
|right =
{{{next}}} →
|center =
{{{next}}} →
{{#if:{{{next}}} → ||}}

|#default = Error in Template:Align: the alignment setting "right" is invalid.

}}}}
{{Infobox sailing competition
| year =
| type =
| image =
| alt =
| caption =
| edition =
| venue = 
| host =
| dates =
| opening = 
| opened_by =
| key_people =
| titles =
| competitors =
| yachts =
| nations =
| qualify =
| gold =
| silver =
| bronze =
| award1_title =
| award1 =
| class1_type =
| class1 =
| class2_type =
| class2 =
| class3_type =
| class3 =
| prev =
| next =
}}