Difference between revisions of "Template:Infobox GAA championship"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Frietjes |
imported>Seaninryan (Added sections, runner up details) |
||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
− | |||
|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 | ||
− | | | + | |header1=Winners |
− | | | + | |label2={{{county|}}} champions |
− | | | + | |data2={{#if: {{{winners|}}} | {{{winners}}} {{#if: {{{ordinal|}}}| ({{ordinal|{{{ordinal}}}}} win) }}}} |
− | | | + | |label3=Captain |
− | | | + | |data3={{{captain|}}} |
− | | | + | |label4=Manager |
− | | | + | |data4={{{manager|}}} |
− | | | + | |header5={{#if: {{{runnersup|}}} | Runners-up}} |
− | | | + | |label6=Runners-up |
− | | | + | |data6={{{runnersup|}}} |
− | | | + | |label7=Captain |
− | | | + | |data7={{{runnerupcaptain|}}} |
− | | | + | |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]]
![]() | 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
Winners | |
---|---|
Dublin champions | St. Vincent's (Template:Ordinal win) |
Captain | Diarmuid Connolly |
Manager | Brian Mullins |
Runners-up | |
Runners-up | Ballymun Kickhams |
Manager | Paul Curran |
Promotion/Relegation | |
Relegated team(s) | UCD GAA |
← 2016 2018 → |
{{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. |