Difference between revisions of "Template:Infobox GAA tournament/doc"
Jump to navigation
Jump to search
imported>Dmoore5556 (update comment for mostordinal field, as the template simply displays "N titles" even if the value is 1) |
imported>Dmoore5556 (remove "tournament" and "sport" (no such fields in template); add firstspan1 & firstspan2 (were undocumented)) |
||
| Line 13: | Line 13: | ||
| code = | | code = | ||
| founded = | | founded = | ||
| + | | firstspan1 = | ||
| + | | firstspan2 = | ||
| abolished = | | abolished = | ||
| region = | | region = | ||
| Line 18: | Line 20: | ||
| teams = | | teams = | ||
| number of teams = | | number of teams = | ||
| − | |||
| − | |||
| firstwin = | | firstwin = | ||
| title holders = | | title holders = | ||
| Line 43: | Line 43: | ||
*'''code''' = Code of sport, i.e. Hurling | *'''code''' = Code of sport, i.e. Hurling | ||
*'''founded''' = Year (or date if available) of founding | *'''founded''' = Year (or date if available) of founding | ||
| + | **'''firstspan1''' and '''firstspan2''' will display as a range | ||
*'''abolished''' = Year (or date if available) of abolishment | *'''abolished''' = Year (or date if available) of abolishment | ||
*'''region''' = GAA region, i.e. Leinster | *'''region''' = GAA region, i.e. Leinster | ||
Revision as of 03:18, 17 November 2019
| This is a documentation subpage for Template:Infobox GAA tournament. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
{{Infobox GAA tournament
| name =
| currentlyrunning =
| image =
| caption =
| irish =
| code =
| founded =
| firstspan1 =
| firstspan2 =
| abolished =
| region =
| trophy =
| teams =
| number of teams =
| firstwin =
| title holders =
| currentordinal =
| most titles =
| mostordinal =
| sponsors =
| tv =
| motto =
| website =
}}
Parameters
All parameters are optional.
- name = Tournament name, if different from the article title
- currentlyrunning = Current season (If there's an article, wikilink it)
- logo or image = Tournament logo specified (If using logo, use a File: tag, if using image, don't)
- caption = Caption for logo/image above
- irish = Name of tournament in Irish
- code = Code of sport, i.e. Hurling
- founded = Year (or date if available) of founding
- firstspan1 and firstspan2 will display as a range
- abolished = Year (or date if available) of abolishment
- region = GAA region, i.e. Leinster
- trophy = Name of trophy
- number of teams = Number (or names of if few) of participating teams
- firstwin = Name of first title holders
- title holders = Name of current title holders
- currentordinal = Number of titles won by title holders. The template will add "st", "nd", "rd" or "th" as appropriate.
- most titles = Name of team with most titles
- mostordinal = Number of titles won by most successful team, displayed as "N titles"
- sponsors = Name of tournament sponsors
- tv = Name of television broadcasters
- motto = Any official motto the tournament may have
- website = URL to the official tournament website
Examples
| Allianz National Hurling League | |
|---|---|
| Current season or competition: | |
| Irish | Sraith Iomána Náisiúnta |
| Code | Hurling |
| Founded | 1925 |
| Region | Ireland (GAA) |
| Trophy | Dr. Croke Cup |
| No. of teams | 35 (2011) |
| Title holders | Dublin (Template:Ordinal title) |
| Most titles | Tipperary (20 titles) |
| Sponsors | Allianz |
| TV partner(s) | TG4 Setanta Sports Premier Sports |
| Official website | www.allianzleagues.ie |
{{Infobox GAA tournament
| name = Allianz National Hurling League
| currentlyrunning = [[National Hurling League 2011]]
| logo =
| irish = Sraith Iomána Náisiúnta
| code = [[Hurling]]
| founded = 1925
| region = [[Ireland]]
| trophy = [[Dr. Croke Cup (trophy)|Dr. Croke Cup]]
| no. of teams = 35 (2011)
| title holders = [[Dublin GAA|Dublin]]
| currentordinal = 3
| most titles = [[Tipperary GAA|Tipperary]]
| mostordinal = 20
| sponsors = [[Allianz]]
| tv = [[TG4]]<br/>[[Setanta Sports]]<br/>[[Premier Sports]]
| website = [http://www.allianzleagues.ie/ www.allianzleagues.ie]
}}
See also