Difference between revisions of "Template:Infobox GAA county"

From blackwiki
Jump to navigation Jump to search
(small c)
imported>Gaois
m
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
| title = {{{county gaa|}}}
+
| title = {{{name|{{{team|{{{county gaa|}}}}}}}}}
| image = {{{crest|}}}
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{crest|{{{image|}}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|alt={{{alt|}}}}}  
  
| headerstyle = background:#BFD7FF;
+
| headerstyle = background:#BFD7FF;
| labelstyle=white-space: nowrap
+
| labelstyle = white-space: nowrap
| datastyle=white-space: nowrap
+
| datastyle   = white-space: nowrap
  
| label1 = [[Irish language|Irish]]:
+
| label1   = [[Irish language|Irish]]:
| data1 = {{{irish|}}}
+
| data1   = {{{irish|}}}
| label2 = [[GAA Provincial council|Province]]:
+
| label2   = [[GAA provincial council|Province]]:
| data2 = {{{province|}}}
+
| data2   = {{{province|}}}
| label3 = [[List of GAA county nicknames|Nickname]](s):
+
| label3   = [[List of Irish county nicknames|Nickname]](s):
| data3 = {{{nickname|}}}
+
| data3   = {{{nickname|}}}
| label4 = [[GAA county colours|County colours]]:
+
| label4   = [[County colours (Gaelic games)|County colours]]:
| data4 = {{{county colours|}}}
+
| data4   = {{{county colours|}}}
| label5 = [[List of GAA stadia|Ground(s)]]:
+
| label5   = [[List of Gaelic Athletic Association stadiums|Ground(s)]]:
| data5 = {{{grounds|}}}
+
| data5   = {{{grounds|}}}
| label6 = Dominant sport:
+
| label6   = Dominant sport:
| data6 = {{#if: {{{dominant sport|}}} | [[{{{dominant sport|}}}]] | [[Dual county]] }}
+
| data6   = {{#if: {{{dominant sport|}}} | [[{{{dominant sport}}}]] }}
| header7 = {{#if: {{{nfl div|}}}{{{nhl div|}}}{{{football champ|}}}{{{hurling champ|}}}{{{ladies football|}}}{{{camogie|}}} | Competitions }}
+
| header7 = {{#if: {{{nfl div|}}}{{{nhl div|}}}{{{football champ|}}}{{{hurling champ|}}}{{{ladies football|}}}{{{camogie|}}}{{{champ|}}}{{{league|}}} | Competitions }}
| label8 = [[National Football League (Ireland)|NFL]]:
+
| label8   = [[National Football League (Ireland)|NFL]]:
| data8 ={{{nfl div|}}}
+
| data8   = {{{nfl div|}}}
| label9 = [[National Hurling League|NHL]]:
+
| label9   = [[National Hurling League|NHL]]:
| data9 ={{{nhl div|}}}
+
| data9   = {{{nhl div|}}}
| label10 = [[All-Ireland Senior Football Championship|Football Championship]]:
+
| label10 = [[All-Ireland Senior Football Championship|Football Championship]]:
| data10 = {{#if: {{{football champ}}} | [[{{{football champ|}}}]] }}
+
| data10   = {{#if: {{{football champ|}}} | [[{{{football champ}}}]]}}
| label11 = [[All-Ireland Senior Hurling Championship|Hurling Championship]]:
+
| label11 = [[All-Ireland Senior Hurling Championship|Hurling Championship]]:
| data11 = {{#if: {{{hurling champ}}} | [[{{{hurling champ|}}}]] }}
+
| data11   = {{#if: {{{hurling champ|}}} | [[{{{hurling champ}}}]]}}
| label12 = [[Ladies' Gaelic football]]:
+
| label12 = [[Ladies' Gaelic football]]:
| data12 = {{#if: {{{ladies football}}} | [[{{{ladies football|}}}]] }}
+
| data12   = {{#if: {{{ladies football|}}} | [[{{{ladies football}}}]]}}
| label13 = [[Camogie]]:
+
| label13 = {{{champ|}}}
| data13 = {{#if: {{{camogie}}} | [[{{{camogie|}}}]] }}
+
| data13  = {{#if:{{{champ|}}}|{{{champ wins|{{{champwins|}}}}}}}}
| header14 = {{#if: {{{pattern_la|}}}{{{pattern_b|}}}{{{pattern_ra|}}}{{{leftarm|}}}{{{rightarm|}}}{{{body|}}}{{{shorts|}}}{{{socks|}}} | Standard kit }}
+
| label14  = {{{league|}}}
| data15 = {{Football kit  
+
| data14  = {{#if:{{{league|}}}|{{{league wins|{{{leaguewins|}}}}}}}}
 +
| label15  = [[Camogie]]:
 +
| data15  = {{#if: {{{camogie|}}} | [[{{{camogie}}}]]}}
 +
| header16 = {{#if: {{{pattern_la|}}}{{{pattern_b|}}}{{{pattern_ra|}}}{{{leftarm|}}}{{{rightarm|}}}{{{body|}}}{{{shorts|}}}{{{socks|}}} | Standard kit }}
 +
| data17 = {{#if: {{{pattern_la|}}}{{{pattern_b|}}}{{{pattern_ra|}}}{{{leftarm|}}}{{{rightarm|}}}{{{body|}}}{{{shorts|}}}{{{socks|}}}
 +
|<table style="background:#FFFFFF; width:100%; text-align:center;">
 +
<tr><td>
 +
{{Football kit  
 
   | pattern_la = {{{pattern_la|}}}  
 
   | pattern_la = {{{pattern_la|}}}  
 
   | pattern_b  = {{{pattern_b|}}}  
 
   | pattern_b  = {{{pattern_b|}}}  
 
   | pattern_ra = {{{pattern_ra|}}}  
 
   | pattern_ra = {{{pattern_ra|}}}  
 +
  | pattern_so = {{{pattern_so|}}}
 +
  | pattern_sh = {{{pattern_sh|}}}
 
   | leftarm    = {{{leftarm|}}}  
 
   | leftarm    = {{{leftarm|}}}  
 
   | body      = {{{body|}}}  
 
   | body      = {{{body|}}}  
Line 42: Line 51:
 
   | shorts    = {{{shorts|}}}  
 
   | shorts    = {{{shorts|}}}  
 
   | socks      = {{{socks|}}}  
 
   | socks      = {{{socks|}}}  
   | title      =  
+
   | title      = Regular kit
   }}
+
   }}</td>
 +
{{#if:{{{pattern_b2|}}} |<td>
 +
{{Football kit|
 +
  | pattern_b  = {{{pattern_b2|}}}
 +
  | pattern_la = {{{pattern_la2|}}}   
 +
  | pattern_ra = {{{pattern_ra2|}}}
 +
  | pattern_so = {{{pattern_so2|}}}
 +
  | pattern_sh = {{{pattern_sh2|}}}
 +
  | leftarm    = {{{leftarm2|}}}
 +
  | body      = {{{body2|}}}
 +
  | rightarm  = {{{rightarm2|}}}
 +
  | shorts    = {{{shorts2|}}}
 +
  | socks      = {{{socks2|}}}
 +
  | title      = Change kit
 +
}}
 +
}}</td>
 +
</tr></table>}}  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 22:19, 3 June 2020

50px Template documentation[view] [edit] [history] [purge]

Usage

Examples

Armagh GAA
Irish:Ard Mhaca
Province:Ulster
Nickname(s):The Orchard County
County colours:Orange and White
Ground(s):Athletic Grounds, Armagh
Dominant sport:Gaelic football
Competitions
NFL:Division 1
NHL:Division 3
Football Championship:Sam Maguire Cup
Hurling Championship:Nicky Rackard Cup
Ladies' Gaelic football:Brendan Martin Cup
Camogie:O'Duffy Cup
Standard kit
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox GAA county
| county gaa      = Armagh GAA
| crest           =
| irish           = Ard Mhaca
| province        = Ulster
| nickname        = The Orchard County
| county colours  = Orange and White
| grounds         = [[Athletic Grounds]], [[Armagh]]
| dominant sport  = Gaelic football
| nfl div         = Division 1
| nhl div         = Division 3
| football champ  = Sam Maguire Cup
| hurling champ   = Nicky Rackard Cup
| ladies football = Brendan Martin Cup
| camogie         = O'Duffy Cup
| pattern_la      =
| pattern_b       = _thinwhitesides
| pattern_ra      =
| leftarm         = FF4500
| body            = FF4500
| rightarm        = FF4500
| shorts          = FFFFFF
| socks           = FF4500
}}
Cork senior football team
Irish:Corcaigh
Province:Munster
Nickname(s):The Rebels
The People's Republic
The Leesiders
the Blood and Bandage
County colours:Red and white
Ground(s):Páirc Uí Chaoimh, Cork
Competitions
All-Ireland7 titles
National Football League7 wins
Standard kit
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox GAA county team
| name           = Cork senior football team
| crest          =
| irish          = Corcaigh
| province       = [[Gaelic football in Munster|Munster]]
| nickname       = The Rebels<br />The People's Republic<br />The Leesiders<br/>the Blood and Bandage
| county colours = Red and white
| grounds        = [[Páirc Uí Chaoimh]], [[Cork (city)|Cork]]
| champ          = [[All-Ireland Senior Football Championship|All-Ireland]]
| champ wins     = 7 titles
| league         = [[National Football League (Ireland)|National Football League]]
| league wins    = 7 wins
| pattern_la     = _red
| pattern_b      = _red
| pattern_ra     = _red_3
| leftarm        =
| body           = FF0000
| rightarm       =
| shorts         = FFFFFF
| socks          = FF0000
}}

Parameters

  • name = Name of county or county team
  • crest = Image of county crest
  • irish = Name of county in Irish
  • province = Province county is located in
  • nickname = County's nickname
  • county colours = Image of county colours
  • grounds = County's main GAA grounds (use <br/> to separate grounds if there's more than one.
  • dominant sport = County's main sport (use Dual county for both)
  • nfl div = County's division in the National Football League
  • nhl div = County's division in the National Hurling League
  • football champ = Senior football championship that the county contests
  • hurling champ = Senior hurling championship that the county contests
  • ladies football = Senior ladies football championship that the county contests
  • camogie = Senior camogie championship that the county contests
  • champ = name of championship (for team articles)
  • champ wins = number of championships (for team articles)
  • league = name of league (for team articles)
  • league wins = number of league wins (for team articles)
  • pattern_la = Pattern of left arm of kit - See Template:Football kit/pattern list for options
  • pattern_b = Pattern of body of kit - See Template:Football kit/pattern list for options
  • pattern_ra = Pattern of right arm of kit - See Template:Football kit/pattern list for options
  • pattern_sh = Pattern of shorts of kit - See Template:Football kit/pattern list for options
  • pattern_so = Pattern of socks of kit - See Template:Football kit/pattern list for options
  • leftarm = Colour of left arm of kit (in RRGGBB format)
  • body = Colour of body of kit (in RRGGBB format)
  • rightarm = Colour of right arm of kit (in RRGGBB format)
  • shorts = Colour of shorts of kit (in RRGGBB format)
  • socks = Colour of socks of kit (in RRGGBB format)