Difference between revisions of "Template:Infobox GAA championship/doc"

From blackwiki
Jump to navigation Jump to search
imported>Teester
m (added details for use of 'previous' and 'next')
imported>Vanisaac
m (→‎Tracking category: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(18 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
 
=== Usage ===
 
=== Usage ===
<pre>{{Infobox GAA championship
+
<pre style="overflow:auto">{{Infobox GAA championship
|image     =
+
|image           =
|name       =  
+
|name           =
|county     =  
+
|county         =
|year      =  
+
|province        =
|manager   =  
+
|year           =
|poty       =
+
|trophy          =
|captain    =
+
|level          =
|winners    =  
+
|sponsor        =
|ordinal   =  
+
|date            =
|super      =  
+
|num_teams       =
|relegated  =  
+
|defending_champions =
|promoted  =  
+
|winners        =
|previous   =  
+
|ordinal        =
|next       =  
+
|manager         =
 +
|captain        =
 +
|qualify_for    =
 +
|runnersup       =
 +
|runnerupmanager =
 +
|runnerupcaptain =
 +
|promoted        =
 +
|relegated      =
 +
|matches        =
 +
|total_scored   =
 +
|poty            =
 +
|topscorer      =
 +
|website        =
 +
|previous       =
 +
|next           =
 
}}</pre>
 
}}</pre>
  
 
===Example===
 
===Example===
 
{{Infobox GAA championship
 
{{Infobox GAA championship
|image     =
+
|image           =
|name       = Dublin Senior Football Championship 2006
+
|name           = 2017 Dublin Senior Football Championship
|county     = Dublin
+
|county         = [[Dublin GAA|Dublin]]
|year      = 2006
+
|province        =
|manager   = Malachy O’Rourke
+
|year           = 2017
|poty       =
+
|trophy          = Clerys Cup
|captain    =
+
|level          = Senior
|winners    = [[UCD GAA|UCD]]
+
|sponsor        =
|ordinal   = 6
+
|date            = 20 April - 15 November
|super      = th
+
|num_teams       = 32
|relegated  = St Brigids B
+
|defending_champions = [[St Vincents GAA|St. Vincent's]]
|promoted  = St Peregrines
+
|winners        = [[St Vincents GAA|St. Vincent's]]
|previous   = 2005
+
|ordinal        = 29
|next       = 2007
+
|manager         = [[Brian Mullins]]
 +
|captain        = [[Diarmuid Connolly]]
 +
|qualify_for    = [[Leinster Senior Club Football Championship|Leinster Club SFC]]
 +
|runnersup       = [[Ballymun Kickhams GAA|Ballymun Kickhams]]
 +
|runnerupmanager = [[Paul Curran (Gaelic footballer)|Paul Curran]]
 +
|runnerupcaptain =
 +
|promoted        =  
 +
|relegated      = [[UCD GAA]]
 +
|matches        = 46
 +
|total_scored   =
 +
|poty            =  
 +
|topscorer      =  
 +
|website        = [https://www.dublingaa.ie/competitions Dublin GAA.ie]
 +
|previous       = [[2016 Dublin Senior Football Championship|2016]]
 +
|next           = [[2018 Dublin Senior Football Championship|2018]]
 
}}
 
}}
<pre>{{Infobox GAA championship
+
<pre style="overflow:auto">{{Infobox GAA championship
|image     =
+
|image           =
|name       = Dublin Senior Football Championship 2006
+
|name           = 2017 Dublin Senior Football Championship
|county     = Dublin
+
|county         = [[Dublin GAA|Dublin]]
|year      = 2006
+
|province        =
|manager   = Malachy O’Rourke
+
|year           = 2017
|poty       =
+
|trophy          = Clerys Cup
|captain    =
+
|level          = Senior
|winners    = [[UCD GAA|UCD]]
+
|sponsor        =
|ordinal   = 6
+
|date            = 20 April - 15 November
|super      = th
+
|num_teams       = 32
|relegated  = St Brigids B
+
|defending_champions = [[St Vincents GAA|St. Vincent's]]
|promoted  = St Peregrines
+
|winners        = [[St Vincents GAA|St. Vincent's]]
|previous   = 2005
+
|ordinal        = 29
|next       = 2007
+
|manager         = [[Brian Mullins]]
 +
|captain        = [[Diarmuid Connolly]]
 +
|qualify_for    = [[Leinster Senior Club Football Championship|Leinster Club SFC]]
 +
|runnersup       = [[Ballymun Kickhams GAA|Ballymun Kickhams]]
 +
|runnerupmanager = [[Paul Curran (Gaelic footballer)|Paul Curran]]
 +
|runnerupcaptain =
 +
|promoted        =  
 +
|relegated      = [[UCD GAA]]
 +
|matches        = 46
 +
|total_scored   =  
 +
|poty            =  
 +
|topscorer      =  
 +
|website        = [https://www.dublingaa.ie/competitions Dublin GAA.ie]
 +
|previous       = [[2016 Dublin Senior Football Championship|2016]]
 +
|next           = [[2018 Dublin Senior Football Championship|2018]]
 
}}</pre>
 
}}</pre>
  
===Parameters===
+
==Parameters==
 
;image: Image related to competition
 
;image: Image related to competition
 
;name: Name of competition
 
;name: Name of competition
 
;county: County competition takes place in
 
;county: County competition takes place in
 +
;province: Province competition takes place in
 
;year: Year of competition
 
;year: Year of competition
;manager: Winning Manager
+
;trophy: Name of the trophy being played for
;poty: Player of the year
+
;sponsor: Competition sponsor
;captain: Winning captain
+
;level: Grade of competition (Senior, Intermediate, Junior)
 +
;date: Dates of the competition
 +
;num_teams: Number of teams in the competition
 +
;defending_champions: Defending champions of competition
 
;winners: Current champions
 
;winners: Current champions
 
;ordinal: No of times the current winners have won
 
;ordinal: No of times the current winners have won
;super: superscript for '''ordinal''' (<sup>st, nd, rd, th</sup>)
+
;manager: Winning manager
 +
;captain: Winning captain
 +
;qualify_for: If winners progress to another competition
 +
;runnersup: Current runners-up
 +
;runnerupmanager: Manager of runners-up
 +
;runnerupcaptain: Captain of runners-up
 +
;promoted: Team promoted
 
;relegated: Team relegated
 
;relegated: Team relegated
;promoted: Team promoted
+
;matches: Number of matches played
 +
;poty: Player of the year
 +
;topscorer: Competition top scorer
 +
;website: Website
 
;next: Next year of competition
 
;next: Next year of competition
 
;previous: Previous year of competition
 
;previous: Previous year of competition
  
<includeonly>
+
== Tracking category ==
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
* {{clc|Pages using infobox GAA championship with unknown parameters}}
  
</includeonly>
+
<includeonly>{{Sandbox other||
 +
<!-- CATEGORIES HERE, THANKS -->
 +
[[Category:Gaelic games infobox templates]]
 +
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 19:35, 25 April 2020

Usage

{{Infobox GAA championship
|image           =
|name            =
|county          =
|province        =
|year            =
|trophy          =
|level           =
|sponsor         =
|date            =
|num_teams       =
|defending_champions = 
|winners         =
|ordinal         =
|manager         =
|captain         =
|qualify_for     =
|runnersup       =
|runnerupmanager =
|runnerupcaptain =
|promoted        =
|relegated       =
|matches         =
|total_scored    =
|poty            =
|topscorer       =
|website         =
|previous        =
|next            =
}}

Example

2017 Dublin Senior Football Championship
Tournament details
CountyDublin
LevelSenior
Year2017
TrophyClerys Cup
Date20 April - 15 November
Teams32
Defending championsSt. Vincent's
Winners
ChampionsSt. Vincent's (Template:Ordinal win)
ManagerBrian Mullins
CaptainDiarmuid Connolly
Qualify forLeinster Club SFC
Runners-up
Runners-upBallymun Kickhams
ManagerPaul Curran
Promotion/Relegation
Relegated team(s)UCD GAA
Other
Matches played46
WebsiteDublin GAA.ie
Template:Succession links
{{Infobox GAA championship
|image           =
|name            = 2017 Dublin Senior Football Championship
|county          = [[Dublin GAA|Dublin]]
|province        =
|year            = 2017
|trophy          = Clerys Cup
|level           = Senior
|sponsor         =
|date            = 20 April - 15 November
|num_teams       = 32
|defending_champions = [[St Vincents GAA|St. Vincent's]]
|winners         = [[St Vincents GAA|St. Vincent's]]
|ordinal         = 29
|manager         = [[Brian Mullins]]
|captain         = [[Diarmuid Connolly]]
|qualify_for     = [[Leinster Senior Club Football Championship|Leinster Club SFC]]
|runnersup       = [[Ballymun Kickhams GAA|Ballymun Kickhams]]
|runnerupmanager = [[Paul Curran (Gaelic footballer)|Paul Curran]]
|runnerupcaptain =
|promoted        = 
|relegated       = [[UCD GAA]]
|matches         = 46
|total_scored    = 
|poty            = 
|topscorer       = 
|website         = [https://www.dublingaa.ie/competitions Dublin GAA.ie]
|previous        = [[2016 Dublin Senior Football Championship|2016]]
|next            = [[2018 Dublin Senior Football Championship|2018]]
}}

Parameters

image
Image related to competition
name
Name of competition
county
County competition takes place in
province
Province competition takes place in
year
Year of competition
trophy
Name of the trophy being played for
sponsor
Competition sponsor
level
Grade of competition (Senior, Intermediate, Junior)
date
Dates of the competition
num_teams
Number of teams in the competition
defending_champions
Defending champions of competition
winners
Current champions
ordinal
No of times the current winners have won
manager
Winning manager
captain
Winning captain
qualify_for
If winners progress to another competition
runnersup
Current runners-up
runnerupmanager
Manager of runners-up
runnerupcaptain
Captain of runners-up
promoted
Team promoted
relegated
Team relegated
matches
Number of matches played
poty
Player of the year
topscorer
Competition top scorer
website
Website
next
Next year of competition
previous
Previous year of competition

Tracking category