Difference between revisions of "Template:Infobox sailing competition"
Jump to navigation
Jump to search
Template documentation
imported>Frietjes m |
imported>Yachty4000 |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| title = {{if empty|{{{name|}}}|{{{year|}}} {{{type|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | | title = {{if empty|{{{name|}}}|{{{year|}}} {{{type|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | ||
| − | | image | + | |
| − | | | + | |image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logoimage|}}}|size={{{logosize|{{{Size|}}}}}}|sizedefault=275x275px|alt={{{logoalt|}}}}} |
| + | |caption1 = {{{caption|}}} | ||
| + | |||
| + | |image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{Size|}}}}}}|sizedefault=275x275px|alt={{{imagealt|}}}}} | ||
| + | |caption2 = {{{caption|}}} | ||
| headerstyle = border-top:#aaa 1px solid; | | headerstyle = border-top:#aaa 1px solid; | ||
| − | | | + | | header100= {{#if:{{{name|}}}{{{formername|}}}{{{edition|}}}|Event Title}} |
| − | | | + | |
| − | | | + | | label101 = Name |
| − | | | + | | data101 = {{{name|}}} |
| − | | | + | | label102 = Former Name |
| − | | | + | | data102 = {{{formername|}}} |
| − | | | + | | label103 = Edition |
| − | | | + | | data104 = {{{edition|}}} |
| − | | | + | |
| − | | | + | | label111 = {{#if:{{{sponsors|}}}|Sponsors|Sponsor}} |
| − | | | + | | data111 = {{if empty|{{{sponsors|}}}|{{{sponsor|}}}}} |
| − | | | + | | label112 = {{#if:{{{partners|}}}|Partners|Partner}} |
| − | | | + | | data112 = {{if empty|{{{partners|}}}|{{{partner|}}}}} |
| − | | | + | | label114 = Host |
| − | | | + | | data114 = {{{host|}}} |
| − | | | + | |
| − | | | + | | header200= {{#if:{{{name|}}}{{{formername|}}}{{{edition|}}}|Event Details}} |
| − | | | + | |
| − | | | + | | label201 = Venue |
| − | | | + | | data201 = {{{venue|}}} |
| − | | | + | | label202 = Host Club |
| − | | | + | | data202 = {{{club|}}} |
| − | | | + | | label203 = Start Location |
| − | | | + | | data203 = {{{start|}}} |
| − | {{{key_people|}}}</div>}} | + | | label204 = Finish Location |
| − | | | + | | data204 = {{{finish|}}} |
| − | | | + | |
| − | | | + | | label210 = Course |
| − | | | + | | data210 = {{{dates|}}} |
| − | | | + | |
| − | | | + | | label220 = Dates |
| − | | | + | | data220 = {{{dates|}}} |
| − | | | + | | label221 = Start Date |
| − | | | + | | data221 = {{{startdate|}}} |
| − | | | + | | label222 = Finish Date |
| − | | | + | | data222 = {{{startdate|}}} |
| − | | | + | |
| − | | | + | | label230 = Classes |
| − | | | + | | data230 = {{{classes|}}} |
| − | | | + | | label231 = Yachts |
| − | | | + | | data232 = {{{yachts|}}} |
| − | | | + | |
| − | | | + | | label233 = {{#if:{{{key_people|}}}|Key people}} |
| − | | | + | | data234 = {{#if:{{{key_people|}}}|<div style="text-align:left; width:100%; margin:0">{{{key_people|}}}</div>}} |
| − | | | + | | label235 = Titles |
| − | | | + | | data236 = {{{titles|}}} |
| − | | | + | | label236 = Opened by |
| − | | | + | | data237 = {{{opened_by|}}} |
| − | | | + | | label237 = Opening ceremony |
| − | | | + | | data237 = {{{opening|}}} |
| − | | | + | |
| + | |||
| + | | header300 = {{#if:{{{competitor|}}}{{{nations|}}}{{{qualify|}}}|Competitors}} | ||
| + | |||
| + | | label301 = Competitors | ||
| + | | data301 = {{{competitors|{{{sailors|}}}}}} | ||
| + | | label302 = Competing nations | ||
| + | | data1302 = {{{nations|}}} | ||
| + | | label303 = Qualification(s) | ||
| + | | data1304 = {{{qualify|}}} | ||
| + | |||
| + | | header400 = {{#if:{{{gold|}}}{{{silver|}}}{{{bronze|}}}{{{winner|}}}{{{linehonours|}}}{{{handicapwinner|}}}{{{leader|}}}{{{award1|}}}|Results}} | ||
| + | | label401 = Winner | ||
| + | | data401 = {{{winner|}}} | ||
| + | | label402 = {{nowrap|{{gold1}} Gold}} | ||
| + | | data402 = {{{gold|}}} | ||
| + | | label403 = {{nowrap|{{silver2}} Silver}} | ||
| + | | data403 = {{{silver|}}} | ||
| + | | label404 = {{nowrap|{{bronze3}} Bronze}} | ||
| + | | data404 = {{{bronze|}}} | ||
| + | |||
| + | | label410 = Line honours | ||
| + | | data410 = {{{linehonours|}}} | ||
| + | | label411 = Handicap winner | ||
| + | | data411 = {{{handicapwinner|}}} | ||
| + | |||
| + | | label420 = {{if empty|{{{award1_title|}}}|Winner}} | ||
| + | | data420 = {{{award1|}}} | ||
| + | | label421 = {{if empty|{{{award2_title|}}}|Winner}} | ||
| + | | data421 = {{{award2|}}} | ||
| + | |||
| + | | header430 = {{#if:{{{class0|}}}{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}} | ||
| + | |||
| + | | label431 = {{if empty|{{{class1_type|}}}|Class 0}} | ||
| + | | data431 = {{{class0|}}} | ||
| + | | label432 = {{if empty|{{{class1_type|}}}|Class 1}} | ||
| + | | data432 = {{{class1|}}} | ||
| + | | label433 = {{if empty|{{{class2_type|}}}|Class 2}} | ||
| + | | data433 = {{{class2|}}} | ||
| + | | label434 = {{if empty|{{{class3_type|}}}|Class 3}} | ||
| + | | data434 = {{{class3|}}} | ||
| + | | label435 = {{if empty|{{{class4_type|}}}|Class 4}} | ||
| + | | data435 = {{{class4|}}} | ||
| + | |||
| + | | label440 = {{if empty|{{{leader|}}}|Current leader}} | ||
| + | | data440 = {{{leader|}}} | ||
| + | |||
| below = {{#if:{{{prev|}}}|{{align|left|← {{{prev}}}}}}}{{#if:{{{next|}}}|{{align|right|{{{next}}} →}}}} | | below = {{#if:{{{prev|}}}|{{align|left|← {{{prev}}}}}}}{{#if:{{{next|}}}|{{align|right|{{{next}}} →}}}} | ||
Revision as of 22:17, 13 January 2021
[[Category:Infobox templates|Template:Remove first word]]
Usage
Template:Parameter names example
{{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 =
| winner =
| linehonours =
| handicapwinner =
| leader =
| award1_title =
| award1 =
| class1_type =
| class1 =
| class2_type =
| class2 =
| class3_type =
| class3 =
| prev =
| next =
}}
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |