Difference between revisions of "Template:Infobox sailing competition"

From blackwiki
Jump to navigation Jump to search
imported>Ianblair23
(links)
imported>Frietjes
m
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
| title  = {{ifempty|{{{name|}}}|{{{year|}}} {{{type|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
+
| title  = {{if empty|{{{name|}}}|{{{year|}}} {{{type|}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}}
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
Line 46: Line 46:
 
| label22 = Current leader
 
| label22 = Current leader
 
| data22  = {{{leader|}}}
 
| data22  = {{{leader|}}}
| label23 = {{ifempty|{{{award1_title|}}}|Winner}}
+
| label23 = {{if empty|{{{award1_title|}}}|Winner}}
 
| data23  = {{{award1|}}}
 
| data23  = {{{award1|}}}
 
| header24= {{#if:{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}}
 
| header24= {{#if:{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}}
| label25 = {{ifempty|{{{class1_type|}}}|Class 1}}
+
| label25 = {{if empty|{{{class1_type|}}}|Class 1}}
 
| data25  = {{{class1|}}}
 
| data25  = {{{class1|}}}
| label26 = {{ifempty|{{{class2_type|}}}|Class 2}}
+
| label26 = {{if empty|{{{class2_type|}}}|Class 2}}
 
| data26  = {{{class2|}}}
 
| data26  = {{{class2|}}}
| label27 = {{ifempty|{{{class3_type|}}}|Class 3}}
+
| label27 = {{if empty|{{{class3_type|}}}|Class 3}}
 
| data27  = {{{class3|}}}
 
| data27  = {{{class3|}}}
| label28 = {{ifempty|{{{class4_type|}}}|Class 4}}
+
| label28 = {{if empty|{{{class4_type|}}}|Class 4}}
 
| data28  = {{{class4|}}}
 
| data28  = {{{class4|}}}
  

Revision as of 12:14, 11 October 2019

Script error: No such module "If empty".

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

Template documentation

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 =
}}