Difference between revisions of "Template:Infobox individual golf tournament/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Nigej
m (rm spaces)
imported>Nigej
(use latest version (sandbox was outofdate))
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
| bodyclass  = vcard
+
| bodyclass  = vevent
  
 
| title      = {{{name|{{{tournament_name|<includeonly>{{PAGENAME}}</includeonly>}}}}}}
 
| title      = {{{name|{{{tournament_name|<includeonly>{{PAGENAME}}</includeonly>}}}}}}
 +
| titleclass  = summary
 +
 
| image      = {{{image|}}}
 
| image      = {{{image|}}}
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
Line 11: Line 13:
 
| label2      = Dates
 
| label2      = Dates
 
| data2      = {{{dates|}}}
 
| data2      = {{{dates|}}}
 +
 
| label3      = Location
 
| label3      = Location
 
| data3      = {{{location|}}}
 
| data3      = {{{location|}}}
 +
| class3      = location
 +
 
| label4      = Course(s)
 
| label4      = Course(s)
 
| data4      = {{{course|}}}
 
| data4      = {{{course|}}}
Line 45: Line 50:
  
 
| below  = {{#if:{{{previous|}}}|{{align|left|&laquo;{{{previous|}}} }}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}}&raquo; }}}}
 
| below  = {{#if:{{{previous|}}}|{{align|left|&laquo;{{{previous|}}} }}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}}&raquo; }}}}
}}<noinclude>
 
  
{{template sandbox notice}}
+
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
</noinclude>
 

Revision as of 21:24, 2 April 2014

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

Usage

Template:Parameter names example

{{Infobox individual golf tournament
| name          = 
| image         = 
| caption       = 
| dates         = <!-- {{Start date|YYYY|MM|DD}}–<br />{{End date|YYYY|MM|DD}} -->
| location      = 
| coordinates   = 
| course        = 
| lang          = <!-- Defaults to US English. Value must be "uk" for British English -->
| org           = 
| tour          = 
| format        = 
| par           = 
| yardage       = 
| field         = 
| cut           = 
| purse         = 
| winners_share = 
| champion      = 
| score         = 
| map           = 
| map_label     = 
| map_caption   = 
| map_relief =
| map_label_position =
| map_size =
| previous      = 
| next          = 
}}

Examples

2018 WGC-Mexico Championship
Tournament information
DatesMarch 1–4, 2018
LocationNaucalpan, Mexico
Lua error: callParserFunction: function "#coordinates" was not found.
Course(s)Club de Golf Chapultepec
Tour(s)PGA Tour
European Tour
Statistics
Par71
Length7,345 yards (6,716 m)
Field64 players
CutNone
Prize fund$10,000,000
8,190,676
Winner's share$1,700,000
€1,392,415
Champion
United States Phil Mickelson
268 (−16), playoff
Location Map
Lua error in Module:Location_map at line 399: Malformed coordinates value.
Template:Succession links
{{Infobox individual golf tournament
| name          = 2018 WGC-Mexico Championship
| coordinates   = {{coord|19.431|N|99.244|W|region:MX-MEX_type:event}}
| dates         = March 1–4, 2018
| location      = [[Naucalpan]], [[Mexico]]
| course        = Club de Golf Chapultepec
| tour          = [[PGA Tour]]<br>[[European Tour]]
| par           = 71
| yardage       = {{convert|7345|yd|0}}
| field         = 64 players
| cut           = None
| purse         = [[United States dollar|$]]10,000,000<br>[[Euro|€]]8,190,676
| winners_share = $1,700,000<br>€1,392,415
| champion      = {{flagicon|USA}} [[Phil Mickelson]]
| score         = 268 (−16), playoff
| map           = Mexico#Mexico State of Mexico
| map_relief    = yes
| map_label     = Naucalpan
| map_caption   = Location in [[Mexico]]##Location in [[State of Mexico]]
| previous      = [[2017 WGC-Mexico Championship|2017]]
| next          = [[2019 WGC-Mexico Championship|2019]]
}}

Microformat

Template:UF-hcal

Tracking category

See also