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

From blackwiki
Jump to navigation Jump to search
imported>Nigej
(try | headerstyle = background:lavender)
imported>Nigej
(Undid revision 906788836 by Nigej (talk) revert)
Line 5: Line 5:
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
 
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
 
| caption    = {{{caption|}}}
 
| caption    = {{{caption|}}}
 
| headerstyle = background:lavender
 
  
 
| header1    = {{#if:{{{location|}}}{{{establishment|}}}{{{course|}}}{{{par|}}}{{{yardage|}}}{{{tour|}}}{{{format|}}}{{{purse|}}}{{{month_played|}}}{{{final_year|}}}{{{defunct|}}}|Tournament information}}
 
| header1    = {{#if:{{{location|}}}{{{establishment|}}}{{{course|}}}{{{par|}}}{{{yardage|}}}{{{tour|}}}{{{format|}}}{{{purse|}}}{{{month_played|}}}{{{final_year|}}}{{{defunct|}}}|Tournament information}}
 +
| class1      = navbox-title
  
 
| label2      = Location
 
| label2      = Location
Line 36: Line 35:
  
 
| header14    = {{#if:{{{aggregate|}}}{{{to-par|}}}{{{score|}}}|Tournament record score}}
 
| header14    = {{#if:{{{aggregate|}}}{{{to-par|}}}{{{score|}}}|Tournament record score}}
 +
| class14    = navbox-title
  
 
| label15    = Aggregate
 
| label15    = Aggregate
Line 45: Line 45:
  
 
| header18    = {{#if:{{{current_champion|{{{Current Champion|}}}}}}|Current champion}}
 
| header18    = {{#if:{{{current_champion|{{{Current Champion|}}}}}}|Current champion}}
 +
| class18    = navbox-title
 
| data19      = {{{current_champion|{{{Current Champion|}}}}}}
 
| data19      = {{{current_champion|{{{Current Champion|}}}}}}
  
 
| header20    = {{#if:{{{final_champion|{{{Final Champion|}}}}}}|Final champion}}
 
| header20    = {{#if:{{{final_champion|{{{Final Champion|}}}}}}|Final champion}}
 +
| class20    = navbox-title
 
| data21      = {{{final_champion|{{{Final Champion|}}}}}}
 
| data21      = {{{final_champion|{{{Final Champion|}}}}}}
  
Line 53: Line 55:
  
 
| header23    = {{#if:{{{map_caption|{{{Location Map|}}}}}}|Location Map}}
 
| header23    = {{#if:{{{map_caption|{{{Location Map|}}}}}}|Location Map}}
 +
| class23    = navbox-title
  
 
| data24      = {{#if:{{{map|}}}
 
| data24      = {{#if:{{{map|}}}

Revision as of 07:47, 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