Difference between revisions of "Template:Infobox GAA tournament"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
(the automatic category makes for overcategorization since they usually go into "Year in hurling" and "Year in Gaelic football" anyway) |
imported>Primefac m (Protected "Template:Infobox GAA tournament": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...) |
||
| (6 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ Infobox | + | {{Infobox |
| bodyclass = vevent | | bodyclass = vevent | ||
| bodystyle = width:26em | | bodystyle = width:26em | ||
| aboveclass = summary | | aboveclass = summary | ||
| − | | above = {{#if:{{{name|}}}|{{{name|}}}<includeonly>|{{ | + | | above = {{#if:{{{name|}}}|{{{name|}}}<includeonly>|{{PAGENAMEBASE}}</includeonly>}} |
| abovestyle = | | abovestyle = | ||
| subheader = {{#if:{{{currentlyrunning|}}}|'''Current season or competition:'''<br/>[[File:Current event clock.svg|20px|link=|alt=]] ''{{{currentlyrunning|}}}''}} | | subheader = {{#if:{{{currentlyrunning|}}}|'''Current season or competition:'''<br/>[[File:Current event clock.svg|20px|link=|alt=]] ''{{{currentlyrunning|}}}''}} | ||
| − | | image | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{imagesize|}}}|alt={{{alt|}}}}} |
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
| Line 24: | Line 24: | ||
| data7 = {{{no. of teams|{{{teams|}}} }}} | | data7 = {{{no. of teams|{{{teams|}}} }}} | ||
| label8 = {{#if:{{{abolished|}}}|Last|}} Title holders | | label8 = {{#if:{{{abolished|}}}|Last|}} Title holders | ||
| − | | data8 = {{#if:{{{current|}}}|{{{current|}}} | + | | data8 = {{#if:{{{current|}}}|{{{current|}}} {{#if:{{{currentordinal|}}}|({{Ordinal|{{{currentordinal|}}}}} title)}}}} {{#if:{{{title holders|}}}|{{{title holders|}}} ({{Ordinal|{{{currentordinal|}}}}} title)}} |
| label9 = First winner | | label9 = First winner | ||
| data9 = {{{firstwin|}}} | | data9 = {{{firstwin|}}} | ||
| label10 = Most titles | | label10 = Most titles | ||
| − | | data10 = {{#if:{{{most|}}}|{{{most|}}} ({{{mostordinal|}}} titles)}} {{#if:{{{most titles|}}}|{{{most titles|}}} ({{{mostordinal|}}} titles)}} | + | | data10 = {{#if:{{{most|}}}|{{{most|}}} {{#if:{{{mostordinal|}}}|({{{mostordinal|}}} titles)}}}} {{#if:{{{most titles|}}}|{{{most titles|}}} {{#if:{{{mostordinal|}}}|({{{mostordinal|}}} titles)}}}} |
| label11 = Sponsors | | label11 = Sponsors | ||
| data11 = {{{sponsors|}}} | | data11 = {{{sponsors|}}} | ||
Latest revision as of 00:30, 19 January 2018
[[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 (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
| 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. |