Difference between revisions of "Template:Infobox GAA tournament"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Teester (Preparing to merge Template:Infobox GAA championship main (adding variables used by that template)) |
imported>Teester (Added in {{{firstwin}}} parameter) |
||
Line 1: | Line 1: | ||
− | |||
{{ Infobox | {{ Infobox | ||
| bodyclass = vevent | | bodyclass = vevent | ||
Line 15: | Line 14: | ||
| data2 = {{{code|}}} | | data2 = {{{code|}}} | ||
| label3 = Founded | | label3 = Founded | ||
− | | data3 = {{{founded|}}}{{{first|}}} | + | | data3 = {{{founded|}}}{{{first|}}}{{#if: {{{firstspan1|}}} | {{{firstspan1|}}} - {{{firstspan2|}}} }} |
| label4 = Abolished | | label4 = Abolished | ||
| data4 = {{{abolished|}}} | | data4 = {{{abolished|}}} | ||
Line 26: | Line 25: | ||
| label8 = {{#if:{{{abolished|}}}|Last|}} Title holders | | label8 = {{#if:{{{abolished|}}}|Last|}} Title holders | ||
| data8 = {{#if:{{{current|}}}|{{{current|}}} ({{{currentordinal|}}}<sup>{{{super|}}}</sup> title)}} {{#if:{{{title holders|}}}|{{{title holders|}}} ({{{currentordinal|}}}<sup>{{{super|}}}</sup> title)}} | | data8 = {{#if:{{{current|}}}|{{{current|}}} ({{{currentordinal|}}}<sup>{{{super|}}}</sup> title)}} {{#if:{{{title holders|}}}|{{{title holders|}}} ({{{currentordinal|}}}<sup>{{{super|}}}</sup> title)}} | ||
− | | label9 = Most titles | + | | label9 = First winner |
− | | | + | | data9 = {{{firstwin|}}} |
− | | | + | | label10 = Most titles |
− | | | + | | data10 = {{#if:{{{most|}}}|{{{most|}}} ({{{mostordinal|}}} titles)}} {{#if:{{{most titles|}}}|{{{most titles|}}} ({{{mostordinal|}}} titles)}} |
− | | | + | | label11 = Sponsors |
− | | | + | | data11 = {{{sponsors|}}} |
− | | | + | | label12 = TV partner(s) |
− | | | + | | data12 = {{{tv|}}} |
− | | | + | | label13 = Motto |
− | | | + | | data13 = {{{motto|}}} |
− | }} | + | | label14 = Official website |
− | <includeonly>{{#if: {{{first|}}} | [[Category:{{{first|}}} in Gaelic games]] }}{{#if: {{{firstspan1|}}} | [[Category:{{{firstspan1|}}} in Gaelic games]] }}{{#if: {{{firstspan2|}}} | [[Category:{{{firstspan2|}}} in Gaelic games]] }}</includeonly><noinclude>{{documentation}}</noinclude> | + | | data14 = {{{website|}}} |
+ | }}<includeonly>{{#if: {{{first|}}} | [[Category:{{{first|}}} in Gaelic games]] }}{{#if: {{{firstspan1|}}} | [[Category:{{{firstspan1|}}} in Gaelic games]] }}{{#if: {{{firstspan2|}}} | [[Category:{{{firstspan2|}}} in Gaelic games]] }}</includeonly><noinclude>{{documentation}}</noinclude> |
Revision as of 00:20, 30 June 2011
[[Category:Infobox templates|Template:Remove first word]]
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 (3 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
The above documentation is transcluded from Template:Infobox GAA tournament/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |