Difference between revisions of "Template:Infobox GAA championship"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Seaninryan
(Added sections, runner up details)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodyclass= vevent
 
 
|title={{{name|}}}
 
|title={{{name|}}}
 
|image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=80px}}
 
|image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size=80px}}
 +
|bodyclass=vevent
 
|headerstyle  = background:#BFD7FF;
 
|headerstyle  = background:#BFD7FF;
 
|labelstyle=white-space: nowrap
 
|labelstyle=white-space: nowrap
 
|datastyle=white-space: nowrap
 
|datastyle=white-space: nowrap
|class1=fn org
+
|header1=Winners
|label1={{{county|}}} champions
+
|label2={{{county|}}} champions
|data1={{#if: {{{winners|}}} | {{{winners}}} {{#if: {{{ordinal|}}}| ({{ordinal|{{{ordinal}}}}} win) }}}}
+
|data2={{#if: {{{winners|}}} | {{{winners}}} {{#if: {{{ordinal|}}}| ({{ordinal|{{{ordinal}}}}} win) }}}}
|label2=Winning captain
+
|label3=Captain
|data2={{{captain|}}}
+
|data3={{{captain|}}}
|label3=Winning manager
+
|label4=Manager
|data3={{{manager|}}}
+
|data4={{{manager|}}}
|label4=Player of the Year
+
|header5={{#if: {{{runnersup|}}} | Runners-up}}
|data4={{{poty|}}}
+
|label6=Runners-up
|label5=Relegated team(s)
+
|data6={{{runnersup|}}}
|data5={{{relegated|}}}
+
|label7=Captain
|label6=Promoted team(s)
+
|data7={{{runnerupcaptain|}}}
|data6={{{promoted|}}}
+
|label8=Manager
 +
|data8={{{runnerupmanager|}}}
 +
|header9={{#if: {{{relegated|}}} {{{promoted|}}} | Promotion/Relegation}}
 +
|label10=Relegated team(s)
 +
|data10={{{relegated|}}}
 +
|label11=Promoted team(s)
 +
|data11={{{promoted|}}}
 +
|header12={{#if: {{{poty|}}} | Other}}
 +
|label13=Player of the Year
 +
|data13={{{poty|}}}
 
|below={{#if:{{{previous|}}}| {{align|left|← {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} → }}}}
 
|below={{#if:{{{previous|}}}| {{align|left|← {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} → }}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 09:33, 12 March 2015

Winners

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

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

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
Winners
Dublin championsSt. Vincent's (Template:Ordinal win)
CaptainDiarmuid Connolly
ManagerBrian Mullins
Runners-up
Runners-upBallymun Kickhams
ManagerPaul Curran
Promotion/Relegation
Relegated team(s)UCD GAA
2016
2018
[[Category:Infobox templates|Template:Remove first word]]
{{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