Difference between revisions of "Template:Infobox sailing competition"
Jump to navigation
Jump to search
Template documentation
imported>Ianblair23 (links) |
imported>Frietjes m |
||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| − | | title = {{ | + | | 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 = {{ | + | | label23 = {{if empty|{{{award1_title|}}}|Winner}} |
| data23 = {{{award1|}}} | | data23 = {{{award1|}}} | ||
| header24= {{#if:{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}} | | header24= {{#if:{{{class1|}}}{{{class2|}}}{{{class3|}}}|Classes}} | ||
| − | | label25 = {{ | + | | label25 = {{if empty|{{{class1_type|}}}|Class 1}} |
| data25 = {{{class1|}}} | | data25 = {{{class1|}}} | ||
| − | | label26 = {{ | + | | label26 = {{if empty|{{{class2_type|}}}|Class 2}} |
| data26 = {{{class2|}}} | | data26 = {{{class2|}}} | ||
| − | | label27 = {{ | + | | label27 = {{if empty|{{{class3_type|}}}|Class 3}} |
| data27 = {{{class3|}}} | | data27 = {{{class3|}}} | ||
| − | | label28 = {{ | + | | label28 = {{if empty|{{{class4_type|}}}|Class 4}} |
| data28 = {{{class4|}}} | | data28 = {{{class4|}}} | ||
Revision as of 12:14, 11 October 2019
[[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. |