Difference between revisions of "Template:Infobox GAA championship"

From blackwiki
Jump to navigation Jump to search
(fixed capitalization issue)
imported>SportsAficionado
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|bodyclass= vevent
+
| title={{{name|}}}
|title={{{name|}}}
+
| image={{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright=0.8}}
|image={{#if: {{{image|}}} | [[Image:{{{image|}}}|80px|center]] }}
+
| caption = {{{caption|}}}
|headerstyle  = background:#BFD7FF;
+
| bodyclass=vevent
|labelstyle=white-space: nowrap
+
| headerstyle  = background:#BFD7FF;
|datastyle=white-space: nowrap
+
| labelstyle=white-space: nowrap
|class1=fn org
+
| datastyle=white-space: nowrap
|label1={{{county|}}} champions
+
| subheaderstyle = font-style:italic
|data1={{#if: {{{winners|}}} | {{{winners|}}} ({{{ordinal}}}<sup>{{{super}}}</sup> win) }}
+
| subheader = {{#if:{{{irish|}}}|{{lang|ga|{{{irish}}}}}}}
|label2=Winning captain
+
 
|data2={{{captain|}}}
+
|header1  = {{#if: {{{county|}}}{{{province|}}}{{{year|}}}{{{trophy|}}}{{{sponsor|}}}{{{date|}}}{{{dates|}}}{{{num_teams|{{{num teams|}}}}}}{{{defending_champions|{{{defending champions|}}}}}} | Tournament details }}
|label3=Winning manager
+
| label2  = County
|data3={{{manager|}}}
+
| data2  = {{{county|}}}
|label4=Player of the Year
+
| label3  = Province
|data4={{{poty|}}}
+
| data3  = {{{province|}}}
|label5=Relegated team(s)
+
| label4  = Level
|data5={{{relegated|}}}
+
| data4  = {{{level|}}}
|label6=Promoted team(s)
+
| label5  = Year
|data6={{{promoted|}}}
+
| data5  = {{{year|}}}
|below={{#if:{{{previous|}}}| {{align|left|&larr; {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} &rarr; }}}}
+
| label6  = Trophy
}}<includeonly>[[Category:{{{year}}} in Gaelic games]]</includeonly><noinclude>{{documentation}}[[Category:Gaelic games templates|{{PAGENAME}}]]</noinclude>
+
| data6  = {{{trophy|}}}
 +
| label7  = Sponsor
 +
| data7  = {{{sponsor|}}}
 +
| label8  = {{#if:{{{date|}}}|Date|Dates}}
 +
| data8  = {{#if:{{{date|}}}|{{{date}}}|{{{dates|}}}}}
 +
| label9  = Teams
 +
| data9  = {{{num_teams|{{{num teams|}}}}}}
 +
| label10 = Defending champions
 +
| data10  = {{{defending_champions|{{{defending champions|}}}}}}
 +
 
 +
|header11 = {{#if: {{{winners|}}}{{{captain|}}}{{{manager|}}}{{{qualify for|}}} | Winners }}
 +
| label12 = Champions
 +
| data12 = {{#if: {{{winners|}}} | {{{winners}}} {{#if: {{{ordinal|}}}| ({{if number|{{{ordinal}}}|{{ordinal|{{{ordinal}}}}}|{{{ordinal}}}}} win) }} }}
 +
| label13 = Manager
 +
| data13  = {{{manager|}}}
 +
| label14 = Captain
 +
| data14  = {{{captain|}}}
 +
| label15 = Qualify for
 +
| data15  = {{{qualify_for|{{{qualify for|}}}}}}
 +
 
 +
|header16 = {{#if: {{{runnersup|}}} | Runners-up}}
 +
| label17 = Runners-up
 +
| data17  = {{{runnersup|}}}
 +
| label18 = Manager
 +
| data18  = {{{runnerupmanager|}}}
 +
| label19 = Captain
 +
| data19  = {{{runnerupcaptain|}}}
 +
 
 +
|header20 = {{#if: {{{promoted|{{{Promoted|}}}}}}{{{relegated|{{{Relegated|}}}}}} | Promotion/Relegation }}
 +
| label21 = Promoted team(s)
 +
| data21  = {{{promoted|{{{Promoted|}}}}}}
 +
| label22 = Relegated team(s)
 +
| data22  = {{{relegated|{{{Relegated|}}}}}}
 +
 
 +
|header23 = {{#if: {{{matches|}}}{{{total scored|}}}{{{poty|}}}{{{topscorer|}}}{{{website|}}} | Other }}
 +
| label24 = Matches played
 +
| data24  = {{{Matches|{{{matches|}}}}}}
 +
| label25 = Total scored
 +
| data25  = {{{total scored|{{{total_scored|}}}}}}
 +
| label26 = Player of the Year
 +
| data26  = {{{poty|}}}
 +
| label27 = Top Scorer
 +
| data27  = {{{topscorer|}}}
 +
| label28 = Website
 +
| data28  = {{{website|}}}
 +
 
 +
| below= {{#if:{{{previous|}}}{{{next|}}} |{{succession links
 +
| left = {{{previous|}}}
 +
| right = {{{next|}}}  
 +
}}}}
 +
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox GAA championship with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox GAA championship]] with unknown parameter "_VALUE_"|ignoreblank=y| captain | caption | county | date | dates | defending champions | defending_champions | image | irish | level | manager | matches | Matches | name | next | num teams | num_teams | ordinal | poty | previous | promoted | Promoted | province | qualify for | qualify_for | relegated | Relegated | runnersup | runnerupcaptain | runnerupmanager | sponsor | topscorer | total scored | total_scored | trophy | website | winners | year}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 16:49, 8 July 2019

[[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
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
[[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