Difference between revisions of "Template:Infobox recurring sailing competition"

From blackwiki
Jump to navigation Jump to search
imported>Smartskaft
imported>Jay D. Easy
(cleanup and fixes)
Line 10: Line 10:
  
 
| label1 = Formerly
 
| label1 = Formerly
| data1 = {{{Formerly|{{{formerly|}}}}}}
+
| data1 = {{{Formerly|{{{formerly|}}}}}}
| label2 = Replaced by
+
| label2 = First held
| data2 = {{{Replaced|{{{replaced|}}}}}}
+
| data2 = {{{founded|}}}{{{first|}}}
| label3 = First held
+
| label3 = Last held
| data3 = {{{founded|}}}{{{first|}}}
+
| data3 = {{{last|}}}{{{folded|}}}
| label4 = Last held
+
| label4 = Replaced by
| data4= {{{last|}}}{{{folded|}}}
+
| data4 = {{{Replaced|{{{replaced|}}}}}}
| label5  = Organizer
+
| label5 = {{#if:{{{organiser|}}}|Organiser|Organizer}}
| data5   = {{{organizer|}}}
+
| data5 = {{if empty|{{{organiser|}}}|{{{organizer|}}}}}
| label6 = Class(es)
+
| label6 = Type
| data6   = {{{classes|}}}
+
| data6 = {{{type|}}}
| label7 = Start
+
| label7 = {{#if:{{{classes|}}}|Classes|Class}}
| data7   = {{{start|}}}
+
| data7 = {{if empty|{{{classes|}}}|{{{class|}}}}}
| label8 = Finish
+
| label8 = Start
| data8   = {{{finish|}}}
+
| data8 = {{{start|}}}
| label9 = Venue
+
| label9 = Finish
| data9   = {{{venue|}}}
+
| data9 = {{{finish|}}}
| label0  = Type
+
| label10 = Venue
| data10 = {{{type|}}}
+
| data10 = {{{venue|}}}
| label11 = Length
+
| label11 = Length
| data11   = {{{length|}}}
+
| data11 = {{{length|}}}
| label12 = No. of competitors
+
| label12 = Competitors
| data12 = {{{competitors|}}}
+
| data12 = {{{competitors|}}}
| label13 = {{#if: {{{folded|}}} | Last | Most recent }} champion(s)
+
| label13 = {{#if:{{{champions|}}}|Champions|Champion}}
| data13 = {{{champion|{{{champions|}}}}}}
+
| data13 = {{if empty|{{{champions|}}}|{{{champion|}}}}}
| label14 = Most titles
+
| label14 = Most titles
| data14 = {{{most_champs|{{{most successful club|}}}}}}
+
| data14 = {{{most_champs|{{{most successful club|}}}}}}
 
| label15 = Qualification
 
| label15 = Qualification
| data15= {{{qualification|}}}
+
| data15 = {{{qualification|}}}
| label16= TV partner(s)
+
| label16 = TV partner(s)
| data16 = {{{TV|{{{tv|}}}}}}
+
| data16 = {{{TV|{{{tv|}}}}}}
| label17 = Official website
+
| label17 = Website
| data17 = {{{website|}}}
+
| data17 = {{{website|}}}
 
| belowstyle = text-align:left;
 
| belowstyle = text-align:left;
 
| below =  
 
| below =  

Revision as of 21:11, 1 February 2019

OrganizerScript error: No such module "If empty".
ClassScript error: No such module "If empty".
ChampionScript error: No such module "If empty".

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

{{Infobox recurring sailing competition}} can be used to provide at-a-glance information at the start of an article about a recurring sailing competition.

Blank template

  1. redirect Template:Parameter names example
{{Infobox recurring sailing competition
 |name          = 
 |image         = 
 |image_upright = 
 |alt           = 
 |caption       = 
 |formerly      = 
 |sponsors      = <!-- or |sponsor -->
 |partners      = <!-- or |partner -->
 |first         = <!-- use {{start date|YYYY|MM|DD|df=y}} -->
 |last          = 
 |replaced      = 
 |organizer     = <!-- or |organiser -->
 |type          = 
 |classes       = <!-- or |class -->
 |yachts        = 
 |start         = 
 |finish        = 
 |venue         = 
 |length        = 
 |competitors   = 
 |legs          = 
 |champions     = <!-- or |champion -->
 |most_champs   = 
 |qualification = 
 |website       = <!-- {{URL|example.com}} -->
 |footnotes     = 
}}