Difference between revisions of "Template:Infobox disc golf tournament"

From blackwiki
Jump to navigation Jump to search
imported>Iketsi
 
imported>Iketsi
(+|director)
 
Line 25: Line 25:
 
| label9      = Format
 
| label9      = Format
 
| data9      = {{{format|}}}
 
| data9      = {{{format|}}}
| label10      = Prize fund
+
| label10     = [[Tournament director|Director]]
| data10      = {{{purse|}}}
+
| data10     = {{{director|}}}
| label11     = Month played
+
| label11    = Prize fund
| data11     = {{{month_played|}}}
+
| data11      = {{{purse|}}}
| label12     = Final year
+
| label12     = Month played
| data12     = {{{final_year|{{{final year|}}}}}}
+
| data12     = {{{month_played|}}}
| label13     = Defunct
+
| label13     = Final year
| data13     = {{{defunct|}}}
+
| data13     = {{{final_year|{{{final year|}}}}}}
 +
| label14     = Defunct
 +
| data14     = {{{defunct|}}}
  
| header14   = {{#if:{{{aggregate|}}}{{{to-par|}}}{{{score|}}}|Tournament record score}}
+
| header15   = {{#if:{{{aggregate|}}}{{{to-par|}}}{{{score|}}}|Tournament record score}}
| class14     = navbox-title
+
| class15     = navbox-title
  
| label15     = Aggregate
+
| label16     = Aggregate
| data15     = {{{aggregate|}}}
+
| data16     = {{{aggregate|}}}
| label16     = To par
+
| label17     = To par
| data16     = {{{to-par|}}}
+
| data17     = {{{to-par|}}}
| label17     = Score
+
| label18     = Score
| data17     = {{{score|}}}
+
| data18     = {{{score|}}}
  
| header18   = {{#if:{{{current_champion|{{{Current Champion|}}}}}}|Current champion}}
+
| header19   = {{#if:{{{current_champion|{{{Current Champion|}}}}}}|Current champion}}
| class18     = navbox-title
+
| class19     = navbox-title
| data19     = {{{current_champion|{{{Current Champion|}}}}}}
+
| data20     = {{{current_champion|{{{Current Champion|}}}}}}
  
| header20   = {{#if:{{{final_champion|{{{Final Champion|}}}}}}|Final champion}}
+
| header21   = {{#if:{{{final_champion|{{{Final Champion|}}}}}}|Final champion}}
| class20     = navbox-title
+
| class21     = navbox-title
| data21     = {{{final_champion|{{{Final Champion|}}}}}}
+
| data22     = {{{final_champion|{{{Final Champion|}}}}}}
  
| data22   = {{#if:{{{current|{{{current_tournament|{{{Current tournament|}}}}}}}}}|[[File:Gnome_globe_current_event.svg|33px|alt=|link=]] ''[[{{{current|{{{current_tournament|Current tournament}}}}}}]]''}}
+
| data23   = {{#if:{{{current|{{{current_tournament|{{{Current tournament|}}}}}}}}}|[[File:Gnome_globe_current_event.svg|33px|alt=|link=]] ''[[{{{current|{{{current_tournament|Current tournament}}}}}}]]''}}
  
| header23   = {{#if:{{{map_caption|{{{Location Map|}}}}}}|Location Map}}
+
| header24   = {{#if:{{{map_caption|{{{Location Map|}}}}}}|Location Map}}
| class23     = navbox-title
+
| class24     = navbox-title
  
| data24     = {{#if:{{{map|}}}
+
| data25     = {{#if:{{{map|}}}
 
   |{{Location map|{{{map}}}
 
   |{{Location map|{{{map}}}
 
     | label = {{{map_label|}}}
 
     | label = {{{map_label|}}}

Latest revision as of 07:24, 7 December 2020

[[Category:Infobox templates|Template:Remove first word]]

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

Usage

{{Infobox disc 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           = 
| director         = <!-- tournament director -->
| 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
Directordirector
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
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox disc 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
| director         = director
| 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