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

From blackwiki
Jump to navigation Jump to search
imported>Nigej
(copy master)
imported>Nigej
(add map stuff)
Line 53: Line 53:
  
 
| 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}}}}}}]]''}}
 +
 +
| header23    = {{#if:{{{map_caption|{{{Location Map|}}}}}}|Location Map}}
 +
 +
| data24      = {{#if:{{{map|}}}
 +
  |{{Location map|{{{map}}}
 +
    | label = {{{map_label|}}}
 +
    | relief = {{{map_relief|}}}
 +
    | coordinates = {{{coordinates|}}}
 +
    | position = {{{map_label_position|}}}
 +
    | width = {{{map_size|}}}
 +
    | caption = {{{map_caption|}}}
 +
    | border = infobox
 +
    | float = center
 +
    | mark = Map symbol golf course 02.png
 +
    | marksize = 25
 +
    }} }}
  
 
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub=page, not here --></noinclude>
 
}}<noinclude>{{documentation}}<!-- place category and language links on the /doc sub=page, not here --></noinclude>

Revision as of 06:43, 18 July 2019

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

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

name
Example image not to be used in article namespace.jpg
caption
Tournament information
Locationlocation
Establishedestablishment
Course(s)course
Parpar
Lengthyardage
Organized byorg
Tour(s)tour
Formatformat
Prize fundpurse
Month playedmonth_played
Final yearfinal_year
Defunctdefunct
Tournament record score
Aggregateaggregate
To parto-par
Scorescore
Current champion
current_champion
Final champion
final_champion
current
{{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