Difference between revisions of "Template:Infobox golf tournament/sandbox"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Nigej (copy master) |
||
| Line 2: | Line 2: | ||
| bodyclass = vcard | | bodyclass = vcard | ||
| − | | title = {{{tournament_name|{{{name|<includeonly>{{ | + | | title = {{{tournament_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
| − | | image | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| Line 54: | Line 54: | ||
| data22 = {{#if:{{{current|{{{current_tournament|{{{Current tournament|}}}}}}}}}|[[file:golf current event.svg|33px|alt=|link=]] ''[[{{{current|{{{current_tournament|Current tournament}}}}}}]]''}} | | data22 = {{#if:{{{current|{{{current_tournament|{{{Current tournament|}}}}}}}}}|[[file:golf current event.svg|33px|alt=|link=]] ''[[{{{current|{{{current_tournament|Current tournament}}}}}}]]''}} | ||
| − | }}<noinclude> | + | }}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub=page, not here --></noinclude> |
| − | |||
| − | {{ | ||
| − | </noinclude> | ||
Revision as of 06:16, 18 July 2019
| This is the template sandbox page for Template:Infobox golf tournament (diff). See also the companion subpage for test cases. |
| This template uses Lua: |
Contents
Usage
{{infobox golf tournament
| name =
| image =
| caption =
| location =
| coordinates =
| establishment =
| course =
| par =
| yardage =
| lang = <!-- Defaults to US English. Value must be "uk" for British English -->
| org =
| tour =
| format =
| purse =
| month_played = <!-- use if still played -->
| final_year = <!-- use if no longer played -->
| defunct = <!-- optional -->
| aggregate =
| to-par =
| score = <!-- only use for match play, stableford, etc. -->
| current_champion = <!-- use if still played -->
| final_champion = <!-- use if no longer played -->
| current = <!-- just the title of the article for the current tournament, with no brackets -->
| map =
| map_label =
| map_caption =
| map_relief =
| map_label_position =
| map_size =
}}
Examples
![]() caption | |
| Tournament information | |
|---|---|
| Location | location |
| Established | establishment |
| Course(s) | course |
| Par | par |
| Length | yardage |
| Organized by | org |
| Tour(s) | tour |
| Format | format |
| Prize fund | purse |
| Month played | month_played |
| Final year | final_year |
| Defunct | defunct |
| Tournament record score | |
| Aggregate | aggregate |
| To par | to-par |
| Score | score |
| Current champion | |
| current_champion | |
| Final champion | |
| final_champion | |
{{infobox golf tournament
| name = name
| image = image
| caption = caption
| location = location
| establishment = establishment
| course = course
| par = par
| yardage = yardage
| lang = lang
| org = org
| tour = tour
| format = format
| purse = purse
| month_played = month_played
| final_year = final_year
| defunct = defunct
| aggregate = aggregate
| to-par = to-par
| score = score
| current_champion = current_champion
| final_champion = final_champion
| current = current
}}
Tracking category
See also
| The above documentation is transcluded from Template:Infobox golf tournament/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
