Difference between revisions of "Template:Infobox GAA championship"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Teester (Added documentation) |
imported>Teester m (Changed to use Template:Infobox & added 'previous' and 'next' parameters) |
||
Line 1: | Line 1: | ||
− | + | {{Infobox | |
− | | | + | |bodyclass= vevent |
− | | | + | |title={{{name|}}} |
− | {{#if: {{{image| | + | |image={{#if: {{{image|}}} | [[Image:{{{image|}}}|80px|center]] }} |
− | + | |headerstyle = background:#BFD7FF; | |
− | [[Image:{{{image}}}|80px|center]] | + | |labelstyle=white-space: nowrap |
− | + | |datastyle=white-space: nowrap | |
− | }} | + | |class1=fn org |
− | + | |label1={{{county|}}} Champions | |
− | |- | + | |data1={{#if: {{{winners|}}} | {{{winners|}}} ({{{ordinal}}}<sup>{{{super}}}</sup> win) }} |
− | + | |label2=Winning Captain | |
− | {{ | + | |data2={{{captain|}}} |
− | + | |label3=Winning Manager | |
− | + | |data3={{{manager|}}} | |
− | + | |label4=Player of the Year | |
− | + | |data4={{{poty|}}} | |
− | + | |label5=Relegated team(s) | |
− | + | |data5={{{relegated|}}} | |
− | + | |label6=Promoted team(s) | |
− | + | |data6={{{promoted|}}} | |
− | + | |below={{#if:{{{previous|}}}| {{align|left|← {{{previous|}}} }}}} {{#if: {{{next|}}} | {{align|right|{{{next|}}} → }}}} | |
− | + | }}<includeonly>[[Category:{{{year}}} in Gaelic games]]</includeonly><noinclude>{{documentation}}[[Category:Gaelic games templates|{{PAGENAME}}]]</noinclude> | |
− | {{ | ||
− | { | ||
− | |||
− | |||
− | { | ||
− | {{ | ||
− | |||
− | |||
− | |||
− | {{#if: {{{ | ||
− | {{ | ||
− | |||
− | |||
− | }} | ||
− | {{#if: {{{ | ||
− | {{ | ||
− | {{ | ||
− | |||
− | } | ||
− | |||
− | {{documentation}} | ||
− | [[Category:Gaelic games templates|{{PAGENAME}}]] | ||
− | </noinclude> |
Revision as of 11:03, 12 January 2010
[[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
Dublin Champions | St. Vincent's (29{{{super}}} win) |
---|---|
Winning Captain | Diarmuid Connolly |
Winning Manager | Brian Mullins |
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. |