Difference between revisions of "Template:Infobox GAA manager"

From blackwiki
Jump to navigation Jump to search
(copyedit)
imported>Frietjes
(fix for case where there is more than one image)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| title      = {{{name|}}}
 
| title      = {{{name|}}}
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|{{px|{{{image_size|}}}|frameless}}|alt={{{alt|}}}]] }}
+
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{#invoke:Wikidata|claim|P18}}}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
  
 
| bodyclass  = vcard
 
| bodyclass  = vcard
Line 29: Line 29:
  
 
| header12    = {{#if:{{{club|}}}|Club management}}
 
| header12    = {{#if:{{{club|}}}|Club management}}
| data13      = {{#if:{{{club|}}}|<span/>
+
| data13      = {{#if:{{{club|}}}|<nowiki/>
{{{!}}width=100%
+
{{(!}} style="width:100%"
 
{{!}}-
 
{{!}}-
!width=50%{{!}}Years
+
!scope=col style="width:50%"{{!}}Years
!width=50%{{!}}Club
+
!scope=col style="width:50%"{{!}}Club
 
{{!}}-
 
{{!}}-
 
{{!}}{{{clyears|}}}
 
{{!}}{{{clyears|}}}
 
{{!}}{{{club|}}}
 
{{!}}{{{club|}}}
{{!}}-
+
{{!)}} }}
{{!}}} }}
 
  
 
| header15    = {{#if:{{{winningclub|}}}|Club titles }}
 
| header15    = {{#if:{{{winningclub|}}}|Club titles }}
| data16      = {{#if:{{{winningclub|}}}|<span/>
+
| data16      = {{#if:{{{winningclub|}}}|<nowiki/>
{{{!}}width=100%
+
{{(!}} style="width:100%"
 
{{!}}-
 
{{!}}-
!width=25%{{!}}Club
+
!scope=col style="width:25%"{{!}}Club
!width=25%{{!}}County
+
!scope=col style="width:25%"{{!}}County
!width=25%{{!}}Province
+
!scope=col style="width:25%"{{!}}Province
!width=25%{{!}}All-Ireland
+
!scope=col style="width:25%{{!}}All-Ireland
 
{{!}}-
 
{{!}}-
 
{{!}}{{{winningclub}}}
 
{{!}}{{{winningclub}}}
Line 53: Line 52:
 
{{!}}{{{clprovince}}}
 
{{!}}{{{clprovince}}}
 
{{!}}{{{clallireland}}}
 
{{!}}{{{clallireland}}}
{{!}}-
+
{{!)}} }}
{{!}}} }}
 
  
 
| header23    = {{#if:{{{county|}}}|Inter-county management}}
 
| header23    = {{#if:{{{county|}}}|Inter-county management}}
| data24      = {{#if:{{{county|}}}|<span/>
+
| data24      = {{#if:{{{county|}}}|<nowiki/>
{{{!}}width=100%
+
{{(!}} style="width:100%"
 
{{!}}-
 
{{!}}-
!width=50%{{!}}Years
+
!scope=col style="width:50%"{{!}}Years
!width=50%{{!}}County
+
!scope=col style="width:50%"{{!}}County
 
{{!}}-
 
{{!}}-
 
{{!}}{{{icyears|}}}
 
{{!}}{{{icyears|}}}
 
{{!}} {{{county|}}}
 
{{!}} {{{county|}}}
{{!}}-
+
{{!)}} }}
{{!}}} }}
 
  
 
| header25    = {{#if:{{{winningcounties|}}}|Inter-county titles }}
 
| header25    = {{#if:{{{winningcounties|}}}|Inter-county titles }}
| data26      = {{#if:{{{winningcounties|}}}|<span/>
+
| data26      = {{#if:{{{winningcounties|}}}|<nowiki/>
{{{!}}width=100%
+
{{(!}} style="width:100%"
 
{{!}}-
 
{{!}}-
!width=25%{{!}}County
+
!scope=col style="width:25%"{{!}}County
!width=25%{{!}}League
+
!scope=col style="width:25%"{{!}}League
!width=25%{{!}}Province
+
!scope=col style="width:25%"{{!}}Province
!width=25%{{!}}All-Ireland
+
!scope=col style="width:25%"{{!}}All-Ireland
 
{{!}}-
 
{{!}}-
 
{{!}}{{{winningcounties}}}
 
{{!}}{{{winningcounties}}}
Line 81: Line 78:
 
{{!}}{{{icprovince}}}
 
{{!}}{{{icprovince}}}
 
{{!}}{{{icallireland}}}
 
{{!}}{{{icallireland}}}
{{!}}-
+
{{!)}} }}
{{!}}} }}
 
  
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 22:47, 26 September 2016

Script error: No such module "Wikidata".

[[Category:Infobox templates|Template:Remove first word]]

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

Template:Uses Wikidata

Usage

{{Infobox GAA manager 
| image           =
| name            =
| irish           =
| birth_date      =
| birth_place     =
| death_date      =
| death_place     =
| nickname        =
| feet            =
| inches          =
| occupation      =
| sport           =
| clyears         =
| club            =
| winningclubs    =
| clallireland    =
| clprovince      =
| clcounty        =
| county          =
| icyears         =
| winningcounties =
| icprovince      =
| icallireland    =
| league          =
}}

Example

Cyril Farrell
Personal information
Irish nameCyril Ó Fearghail
SportHurling
Born1950
Galway, Ireland
Inter-county management
Years County
1979 - 1982
1984 - 1991
1996 - 1998
Galway
Galway
Galway
Inter-county titles
County League Province All-Ireland
Galway 2 15 3
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox GAA manager
| image           =
| name            = Cyril Farrell
| irish           = Cyril Ó Fearghail
| birth_date      = 1950
| birth_place     = [[Galway]], [[Republic of Ireland|Ireland]]
| death_date      =
| nickname        =
| feet            =
| inches          =
| occupation      =
| sport           = Hurling
| clyears         = 
| club            =
| winningclubs    =
| clallireland    =
| clprovince      =
| clcounty        =
| county          = Galway<br/>Galway<br/>Galway
| icyears         = 1979 - 1982<br/>1984 - 1991<br/>1996 - 1998
| winningcounties = Galway
| icprovince      = 15
| icallireland    = 3
| league          = 2
}}

Parameters

  • image = An image of the subject
  • name = The full name, in English, of the subject
  • irish = The full name, in Irish, of the subject
  • birth_date = Date of birth
  • birth_place = Place of birth
  • death_date = Date of death
  • nickname = The subject's nickname
  • feet = The subject's height, in feet
  • inches = The subject's height, in inches
  • occupation = The subjects occupation
  • sport = The sport in which the subject is involved
  • clyears = Years the subject was managing a particular club side - In the format Club1years<br/>Club2years
  • club = Club Sides the subject has managed - In the format Club1<br/>Club2
  • winningclubs = Club sides the subject has managed that have won county, provincial or all-ireland titles - In the format Club1<br/>Club2
  • clallireland = No of All Ireland Club titles the club has won under the subject
  • clprovince = No of Provincial titles the club has won under the subject
  • clcounty = No of club county titles the club has won under the subject
  • county = County sides the subject has managed
  • icyears = Years the subject has managed the county sides
  • winningcounties = Counties the subject has managed that have won county, provincial or all-ireland titles
  • icprovince = No of Provincial titles the county has won under the subject
  • icallireland = No of All Ireland titles the county has won under the subject
  • league = No of National League titles the county has won under the subject

See also