Difference between revisions of "Template:Infobox sailing competition"
Jump to navigation
Jump to search
Template documentation
(more duplicates) |
(fix list gaps, due to technical issues in Module:Infobox, you cannot have large numbering gaps) |
||
| Line 10: | Line 10: | ||
| headerstyle = border-top:#aaa 1px solid; | | headerstyle = border-top:#aaa 1px solid; | ||
| − | | | + | | header1= {{#if:{{{name|}}}{{{formername|}}}{{{edition|}}}|Event Title}} |
| − | | | + | | label2 = Name |
| − | | | + | | data2 = {{{name|}}} |
| − | | | + | | label3 = Former Name |
| − | | | + | | data3 = {{{formername|}}} |
| − | | | + | | label4 = Edition |
| − | | | + | | data4 = {{{edition|}}} |
| − | | | + | | label10 = {{#if:{{{sponsors|}}}|Sponsors|Sponsor}} |
| − | | | + | | data10 = {{if empty|{{{sponsors|}}}|{{{sponsor|}}}}} |
| − | | | + | | label11 = {{#if:{{{partners|}}}|Partners|Partner}} |
| − | | | + | | data11 = {{if empty|{{{partners|}}}|{{{partner|}}}}} |
| − | | | + | | label12 = Host |
| − | | | + | | data12 = {{{host|}}} |
| − | | | + | | header20= {{#if:{{{venue|}}}{{{club|}}}{{{start|}}}|Event Details}} |
| − | | | + | | label21 = Venue |
| − | | | + | | data21 = {{{venue|}}} |
| − | | | + | | label22 = Host Club |
| − | | | + | | data22 = {{{club|}}} |
| − | | | + | | label23 = Start Location |
| − | | | + | | data23 = {{{start|}}} |
| − | | | + | | label24 = Finish Location |
| − | | | + | | data24 = {{{finish|}}} |
| − | | | + | | label30 = Course |
| − | | | + | | data30 = {{{course|}}} |
| − | | | + | | label32 = Dates |
| − | | | + | | data32 = {{{dates|}}} |
| − | | | + | | label33 = Start Date |
| − | | | + | | data33 = {{{startdate|}}} |
| − | | | + | | label34 = Finish Date |
| − | | | + | | data34 = {{{startdate|}}} |
| − | | | + | | label40 = Classes |
| − | | | + | | data40 = {{{classes|}}} |
| − | | | + | | label41 = Yachts |
| − | | | + | | data41 = {{{yachts|}}} |
| − | | | + | | label50 = {{#if:{{{key_people|}}}|Key people}} |
| − | | | + | | data50 = {{#if:{{{key_people|}}}|<div style="text-align:left; width:100%; margin:0">{{{key_people|}}}</div>}} |
| − | | | + | | label51 = Titles |
| − | | | + | | data51 = {{{titles|}}} |
| − | | | + | | label52 = Opened by |
| − | | | + | | data52 = {{{opened_by|}}} |
| − | | | + | | label53 = Opening ceremony |
| − | | | + | | data53 = {{{opening|}}} |
| − | | | + | | header55 = {{#if:{{{competitors|}}}{{{sailors|}}}{{{nations|}}}{{{qualify|}}}|Competitors}} |
| − | | | + | | label56 = Competitors |
| − | | | + | | data56 = {{{competitors|{{{sailors|}}}}}} |
| − | | | + | | label57 = Competing nations |
| − | | | + | | data57 = {{{nations|}}} |
| − | | | + | | label58 = Qualification(s) |
| − | | | + | | data58 = {{{qualify|}}} |
| − | | | + | | header60 = {{#if:{{{gold|}}}{{{silver|}}}{{{bronze|}}}{{{winner|}}}{{{linehonours|}}}{{{handicapwinner|}}}{{{leader|}}}{{{award1|}}}|Results}} |
| − | | | + | | label61 = Winner |
| − | | | + | | data61 = {{{winner|}}} |
| − | | | + | | label62 = {{nowrap|{{gold1}} Gold}} |
| − | | | + | | data62 = {{{gold|}}} |
| − | | | + | | label63 = {{nowrap|{{silver2}} Silver}} |
| − | | | + | | data63 = {{{silver|}}} |
| − | | | + | | label64 = {{nowrap|{{bronze3}} Bronze}} |
| − | | | + | | data64 = {{{bronze|}}} |
| − | | | + | | label70 = Line honours |
| − | | | + | | data70 = {{{linehonours|}}} |
| − | | | + | | label71 = Handicap winner |
| − | | | + | | data71 = {{{handicapwinner|}}} |
| − | | | + | | label80 = {{if empty|{{{award1_title|}}}|Winner}} |
| − | | | + | | data80 = {{{award1|}}} |
| − | | | + | | label81 = {{if empty|{{{award2_title|}}}|Winner}} |
| − | | | + | | data81 = {{{award2|}}} |
| − | | | + | | header89 = {{#if:{{{class0|}}}{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}} |
| − | | | + | | label90 = {{if empty|{{{class1_type|}}}|Class 0}} |
| − | | | + | | data90 = {{{class0|}}} |
| − | | | + | | label91 = {{if empty|{{{class1_type|}}}|Class 1}} |
| − | | | + | | data91 = {{{class1|}}} |
| − | | | + | | label92 = {{if empty|{{{class2_type|}}}|Class 2}} |
| − | | | + | | data92 = {{{class2|}}} |
| − | | | + | | label93 = {{if empty|{{{class3_type|}}}|Class 3}} |
| − | | | + | | data93 = {{{class3|}}} |
| − | | | + | | label94 = {{if empty|{{{class4_type|}}}|Class 4}} |
| − | | | + | | data94 = {{{class4|}}} |
| − | |||
| − | |||
| − | |||
| + | | label100 = {{if empty|{{{leader|}}}|Current leader}} | ||
| + | | data100 = {{{leader|}}} | ||
| below = {{#if:{{{prev|}}}|{{align|left|← {{{prev}}}}}}}{{#if:{{{next|}}}|{{align|right|{{{next}}} →}}}} | | below = {{#if:{{{prev|}}}|{{align|left|← {{{prev}}}}}}}{{#if:{{{next|}}}|{{align|right|{{{next}}} →}}}} | ||
Latest revision as of 22:32, 13 January 2021
| Sponsor | Script error: No such module "If empty". |
|---|---|
| Partner | Script error: No such module "If empty". |
[[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. |