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

From blackwiki
Jump to navigation Jump to search
imported>Jay D. Easy
imported>Jay D. Easy
Line 4: Line 4:
 
| subheader = {{#if: {{{current_edition|}}} | '''Current edition:'''<br />[[File:{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf  | gymnastics = Gymnastics | handball = Handball | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic | olympic games | olympics = Olympics | rugby league | rugby union | rugby sevens | rugby = Rugby football | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | team tennis | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event.svg|31px|link=|alt=]] ''{{#iferror:{{#expr:{{{current_edition}}}}}|[[{{{current_edition}}}]]|{{{current_edition}}}}}'' | {{#if: {{{last_edition|}}} | '''Most recent edition or competition:'''<br />''{{#iferror:{{#expr:{{{last_edition}}}}}|[[{{{last_edition}}}]]|{{{last_edition}}}}}'' | {{#if: {{{upcoming_edition|}}} | '''Upcoming edition or competition:'''<br />[[File:{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | handball = Handball | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic| olympic games | olympics = Olympics | rugby league | rugby union | rugby sevens | rugby = Rugby football | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | team tennis = Tennisball | Sports}} current event.svg|31px|link=|alt=]] ''{{#iferror:{{#expr:{{{upcoming_edition}}}}}|[[{{{upcoming_edition}}}]]|{{{upcoming_edition}}}}}''}} }} }}{{#if: {{{current_edition2|}}} | <br/>''{{#iferror:{{#expr:{{{current_edition2}}}}}|[[{{{current_edition2}}}]]|{{{current_edition2}}}}}''}}
 
| subheader = {{#if: {{{current_edition|}}} | '''Current edition:'''<br />[[File:{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf  | gymnastics = Gymnastics | handball = Handball | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic | olympic games | olympics = Olympics | rugby league | rugby union | rugby sevens | rugby = Rugby football | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | team tennis | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | Sports}} current event.svg|31px|link=|alt=]] ''{{#iferror:{{#expr:{{{current_edition}}}}}|[[{{{current_edition}}}]]|{{{current_edition}}}}}'' | {{#if: {{{last_edition|}}} | '''Most recent edition or competition:'''<br />''{{#iferror:{{#expr:{{{last_edition}}}}}|[[{{{last_edition}}}]]|{{{last_edition}}}}}'' | {{#if: {{{upcoming_edition|}}} | '''Upcoming edition or competition:'''<br />[[File:{{#switch: {{lc: {{{sport}}}}} | amfootball | american football | americanfootball = AmericanFootball | australian rules football | aussie rules | australian football = AFL | basketball = Basketball | baseball = Baseball | cricket = Cricket | cycling = Cycling | field hockey = Field hockey | Skating | figure Skating = Figure Skating | golf = Golf | gymnastics = Gymnastics | handball = Handball | ice hockey | hockey = Hockey | motorsport | motorsports = Motorsport | netball = Netball | olympic| olympic games | olympics = Olympics | rugby league | rugby union | rugby sevens | rugby = Rugby football | boxing = Boxing | curling = Curling | swimming = Swimming | athletics = Athletics | lacrosse = Lacrosse | tennis = Tennisball | beach volleyball | volleyball = Volleyball | squash = Squash | association football | soccer = Soccerball | table tennis | ping pong | ping-pong = TableTennis | poker | texas hold 'em | omaha hold 'em = Poker | team tennis = Tennisball | Sports}} current event.svg|31px|link=|alt=]] ''{{#iferror:{{#expr:{{{upcoming_edition}}}}}|[[{{{upcoming_edition}}}]]|{{{upcoming_edition}}}}}''}} }} }}{{#if: {{{current_edition2|}}} | <br/>''{{#iferror:{{#expr:{{{current_edition2}}}}}|[[{{{current_edition2}}}]]|{{{current_edition2}}}}}''}}
  
| image = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder=yes|sizedefault=frameless
+
| image   = {{#invoke:InfoboxImage|InfoboxImage|suppressplaceholder=yes|sizedefault=frameless
          |image  = {{{image|{{{logo|}}}}}}
+
| image  = {{{image|{{{logo|}}}}}}
          |size    = {{{image size|{{{image_size|{{{imagesize|}}}}}}}}}
+
| size    = {{{image size|{{{image_size|{{{imagesize|}}}}}}}}}
          |upright = {{{image_upright|1}}}
+
| upright = {{{image_upright|1}}}
          |alt    = {{{alt|}}}}}
+
| alt    = {{{alt|}}}}}
 +
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
  
 
| headerstyle = border-top:#aaa 1px solid;
 
| headerstyle = border-top:#aaa 1px solid;

Revision as of 21:59, 1 February 2019

SponsorScript error: No such module "If empty".
PartnerScript error: No such module "If empty".
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     = 
}}