Difference between revisions of "Template:Infobox GAA championship"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Frietjes |
imported>SportsAficionado |
||
(One intermediate revision by one other user not shown) | |||
Line 12: | Line 12: | ||
|header1 = {{#if: {{{county|}}}{{{province|}}}{{{year|}}}{{{trophy|}}}{{{sponsor|}}}{{{date|}}}{{{dates|}}}{{{num_teams|{{{num teams|}}}}}}{{{defending_champions|{{{defending champions|}}}}}} | Tournament details }} | |header1 = {{#if: {{{county|}}}{{{province|}}}{{{year|}}}{{{trophy|}}}{{{sponsor|}}}{{{date|}}}{{{dates|}}}{{{num_teams|{{{num teams|}}}}}}{{{defending_champions|{{{defending champions|}}}}}} | Tournament details }} | ||
| label2 = County | | label2 = County | ||
− | | data2 = | + | | data2 = {{{county|}}} |
| label3 = Province | | label3 = Province | ||
| data3 = {{{province|}}} | | data3 = {{{province|}}} | ||
− | | label4 = Year | + | | label4 = Level |
− | | | + | | data4 = {{{level|}}} |
− | | | + | | label5 = Year |
− | | | + | | data5 = {{{year|}}} |
− | | | + | | label6 = Trophy |
− | | | + | | 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 | | below= {{#if:{{{previous|}}}{{{next|}}} |{{succession links | ||
Line 68: | Line 70: | ||
| right = {{{next|}}} | | 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]]
![]() | This template uses Lua: |
Contents
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
Tournament details | |
---|---|
County | Dublin |
Level | Senior |
Year | 2017 |
Trophy | Clerys Cup |
Date | 20 April - 15 November |
Teams | 32 |
Defending champions | St. Vincent's |
Winners | |
Champions | St. Vincent's (Template:Ordinal win) |
Manager | Brian Mullins |
Captain | Diarmuid Connolly |
Qualify for | Leinster Club SFC |
Runners-up | |
Runners-up | Ballymun Kickhams |
Manager | Paul Curran |
Promotion/Relegation | |
Relegated team(s) | UCD GAA |
Other | |
Matches played | 46 |
Website | Dublin 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
The above documentation is transcluded from Template:Infobox GAA championship/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |