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

From blackwiki
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>{{PAGENAME}}</includeonly>}}}}}}
+
| title      = {{{tournament_name|{{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}
| image       = {{{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>
 
 
{{template sandbox notice}}
 
</noinclude>
 

Revision as of 06:16, 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