Difference between revisions of "Template:Infobox GAA manager/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Teester
m (Another test)
imported>WOSlinker
(sync)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| title      = {{{name|}}}
 
| title      = {{{name|}}}
| image      = {{#if:{{{image|}}}|[[Image:{{{image}}}|200px|center|alt={{{alt|}}}]] }}
+
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|200px|center|alt={{{alt|}}}]] }}
  
 
| bodyclass  = vcard
 
| bodyclass  = vcard
Line 10: Line 10:
 
| belowstyle  = font-size: xx-small
 
| belowstyle  = font-size: xx-small
  
| header1    = {{#if:{{{irish|}}}{{{sport|}}}{{{icposition|}}}{{{clposition|}}}{{{byear|}}}{{{bmonth|}}}{{{bday|}}}{{{dyear|}}}{{{dmonth|}}}{{{dday|}}}{{{placeofbirth|}}}{{{countryofbirth|}}}{{{feet|}}}{{{inches|}}}{{{nickname|}}}{{{occupation|}}}|Personal information}}
+
| header1    = {{#if:{{{irish|}}}{{{sport|}}}{{{icposition|}}}{{{clposition|}}}{{{birth_date|}}}{{{birth_place|}}}{{{death_date|}}}{{{death_place|}}}{{{feet|}}}{{{inches|}}}{{{nickname|}}}{{{occupation|}}}|Personal information}}
  
 
| label2      = [[Irish Language|Irish Name]]
 
| label2      = [[Irish Language|Irish Name]]
Line 16: Line 16:
 
| label3      = Sport
 
| label3      = Sport
 
| data3      = {{{sport|}}}
 
| data3      = {{{sport|}}}
| label6     = Date of birth
+
| label4     = Born
| class6      = bday
+
| data4       = {{br separated entries|{{{birth_date|}}}|{{{birth_place|}}} }}  
| data6      = {{#if:{{{byear|}}}{{{bmonth|}}}{{{bday|}}}|{{BirthDeathAge|B|{{{byear}}}|{{{bmonth}}}|{{{bday}}}|{{{dyear}}}|{{{dmonth}}}|{{{dday}}}|yes}} }}
+
| label5     = Died
| label7      = Date of death
+
| data5       = {{br separated entries|{{{death_date|}}}|{{{death_place|}}} }}  
| data7       = {{#if:{{{dyear|}}}{{{dmonth|}}}{{{dday|}}}|{{BirthDeathAge||{{{byear}}}|{{{bmonth}}}|{{{bday}}}|{{{dyear}}}|{{{dmonth}}}|{{{dday}}}|yes}} }}
 
| label8     = Place of birth
 
| data8       = {{#if:{{{placeofbirth|}}}|{{{placeofbirth|}}} }}{{#if:{{{countryofbirth|}}} |, {{{countryofbirth|}}} }}
 
 
| label9      = Height
 
| label9      = Height
 
| data9      = {{#if:{{{feet|}}}{{{inches|}}}|{{height|feet={{{feet}}}|inches={{{inches}}} }} }}
 
| data9      = {{#if:{{{feet|}}}{{{inches|}}}|{{height|feet={{{feet}}}|inches={{{inches}}} }} }}
Line 87: Line 84:
 
{{!}}} }}
 
{{!}}} }}
  
}}<noinclude>
+
}}<noinclude>{{documentation}}</noinclude>
 
 
{{template sandbox notice}}
 
</noinclude>
 

Revision as of 19:49, 13 July 2011

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
{{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