Template:Infobox rugby league biography/doc

From The Global Wiki
< Template:Infobox rugby league biography
Revision as of 01:21, 18 January 2023 by Ofngv (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

For all infoboxes

Script error: No such module "Parameter names example".

{{Infobox rugby league biography
| name                = 
| image               = 
| image_size          = 
| alt                 = 
| caption             = 
| fullname            = 
| birth_date          = <!-- {{birth date and age|YYYY|MM|DD|df=y}} -->
| birth_place         = 
| death_date          = <!-- {{death date and age|death YYYY|death MM|death DD|birth YYYY|birth MM|birth DD|df=y}} -->
| death_place         = 
| height              = <!-- {{convert|X|cm|ftin|abbr=on}} or {{convert|X|ft|X|in|cm|abbr=on}} -->
| weight              = <!-- {{convert|X|kg|stlb|abbr=on}} or {{convert|X|st|X|lb|kg|abbr=on}} -->
| retired             = <!-- yes or no -->
<!-- PUT THE OPTIONAL SECTIONS BELOW HERE -->
| updated             = 
| source              = 
}}

For rugby league

RL club players

Script error: No such module "Parameter names example".

| position            = 
| club1               = 
| year1start          = 
| year1end            = 
| appearances1        = 
| tries1              = 
| goals1              = 
| fieldgoals1         = 
| points1             = 
<!--Numbering continues sequentially-->
| club20              = 
| year20start         = 
| year20end           = 
| appearances20       = 
| tries20             = 
| goals20             = 
| fieldgoals20        = 
| points20            = 

RL representative players

Note: Don't use "present" for the year end, as a representative team by its nature is not continuous. Script error: No such module "Parameter names example".

| teamA               = 
| yearAstart          = 
| yearAend            = 
| appearancesA        = 
| triesA              = 
| goalsA              = 
| fieldgoalsA         = 
| pointsA             = 
<!--Continues sequentially-->
| teamG               = 
| yearGstart          = 
| yearGend            = 
| appearancesG        = 
| triesG              = 
| goalsG              = 
| fieldgoalsG         = 
| pointsG             = 

RL club coaches

Script error: No such module "Parameter names example".

| coachteam1          = 
| coachyear1start     = 
| coachyear1end       = 
| coachgames1         = 
| coachwins1          = 
| coachdraws1         = 
| coachlosses1        = 
<!--Continues sequentially-->
| coachteam15          = 
| coachyear15start     = 
| coachyear15end       = 
| coachgames15         = 
| coachwins15          = 
| coachdraws15         = 
| coachlosses15        = 

RL representative coaches

Script error: No such module "Parameter names example".

| coachteamA          = 
| coachyearAstart     = 
| coachyearAend       = 
| coachgamesA         = 
| coachwinsA          = 
| coachdrawsA         = 
| coachlossesA        = 
<!--Continues sequentially, but there is NO "coachteamI" set to avoid confusion-->
| coachteamK          = 
| coachyearKstart     = 
| coachyearKend       = 
| coachgamesK         = 
| coachwinsK          = 
| coachdrawsK         = 
| coachlossesK        = 
</nowiki>

For rugby union

RU club players

NB: If "first=RU" is added, rugby union's data will appear above rugby league's Script error: No such module "Parameter names example".

| first               = RU or RL
| ru_position         = 
| ru_club1            = 
| ru_year1start       = 
| ru_year1end         = 
| ru_appearances1     = 
| ru_tries1           = 
| ru_goals1           = 
| ru_fieldgoals1      = 
| ru_points1          = 
<!--Numbering continues sequentially-->
| ru_club20           = 
| ru_year20start      = 
| ru_year20end        = 
| ru_appearances20    = 
| ru_tries20          = 
| ru_goals20          = 
| ru_fieldgoals20     = 
| ru_points20         = 

RU representative players

Script error: No such module "Parameter names example".

| ru_teamA            = 
| ru_yearAstart       = 
| ru_yearAend         = 
| ru_appearancesA     = 
| ru_triesA           = 
| ru_goalsA           = 
| ru_fieldgoalsA      = 
| ru_pointsA          = 
<!--Numbering continues sequentially-->
| ru_teamG            = 
| ru_yearGstart       = 
| ru_yearGend         = 
| ru_appearancesG     = 
| ru_triesG           = 
| ru_goalsG           = 
| ru_fieldgoalsG      = 
| ru_pointsG          = 

RU club coaches

Script error: No such module "Parameter names example".

| ru_coachteam1       = 
| ru_coachyear1start  = 
| ru_coachyear1end    = 
| ru_coachgames1      = 
| ru_coachwins1       = 
| ru_coachdraws1      = 
| ru_coachlosses1     = 
<!--Continues sequentially-->
| ru_coachteam10       = 
| ru_coachyear10start  = 
| ru_coachyear10end    = 
| ru_coachgames10      = 
| ru_coachwins10       = 
| ru_coachdraws10      = 
| ru_coachlosses10     = 

RU representative coaches

Script error: No such module "Parameter names example".

| ru_coachteamA       = 
| ru_coachyearAstart  = 
| ru_coachyearAend    = 
| ru_coachgamesA      = 
| ru_coachwinsA       = 
| ru_coachdrawsA      = 
| ru_coachlossesA     = 
<!--Continues sequentially-->
| ru_coachteamE       = 
| ru_coachyearEstart  = 
| ru_coachyearEend    = 
| ru_coachgamesE      = 
| ru_coachwinsE       = 
| ru_coachdrawsE      = 
| ru_coachlossesE     = 

Referees

Add in the following parameters to any of the tables: Script error: No such module "Parameter names example".

| refereecomp1        = 
| refereeyear1start   = 
| refereeyear1end     = 
| refereeappearances1 = 
<!--Continues sequentially-->
| refereecomp5        = 
| refereeyear5start   = 
| refereeyear5end     = 
| refereeappearances5 = 

All parameters

Script error: No such module "Parameter names example".

{{Infobox rugby league biography
| name = 
| image = 
| image_size = 
| alt = 
| caption = 

| fullname = 
| birth_date = 
| birth_place = 
| death_date = 
| death_place = 

| height = <!-- OR height(cm) OR height(ft) and height(inch) -->
| weight = <!-- OR weight(kg) OR weight(st) and/or weight(lb) -->

| retired = <!-- undefined (default) or: yes (other values ignored) -->
| first =   <!-- undefined (default) or: RU (other values ignored) -->
| region =  <!-- undefined (default) or: British (other values ignored) -->

| position = 
| currentclub = <!-- not currently displayed by template -->
| clubnumber =  <!-- not currently displayed by template -->

| club1 = | year1start = | year1end = | appearances1 = | tries1 = | goals1 = | fieldgoals1 = | points1 = 
...
| club20 = | year20start = | year20end = | appearances20 = | tries20 = | goals20 = | fieldgoals20 = | points20 = 

| teamA = | yearAstart = | yearAend = | appearancesA = | triesA = | goalsA = | fieldgoalsA = | pointsA = 
...
| teamG = | yearGstart = | yearGend = | appearancesG = | triesG = | goalsG = | fieldgoalsG = | pointsG = 

| ru_position = 
| ru_currentclub = <!-- not currently displayed by template -->
| ru_clubnumber =  <!-- not currently displayed by template -->

| ru_club1 = | ru_year1start = | ru_year1end = | ru_appearances1 = | ru_tries1 = | ru_goals1 = | ru_fieldgoals1 = | ru_points1 = 
...
| ru_club20 = | ru_year20start = | ru_year20end = | ru_appearances20 = | ru_tries20 = | ru_goals20 = | ru_fieldgoals20 = | ru_points20 = 

| ru_teamA = | ru_yearAstart = | ru_yearAend = | ru_appearancesA = | ru_triesA = | ru_goalsA = | ru_fieldgoalsA = | ru_pointsA = 
...
| ru_teamG = | ru_yearGstart = | ru_yearGend = | ru_appearancesG = | ru_triesG = | ru_goalsG = | ru_fieldgoalsG = | ru_pointsG = 

| afl_position = 
| afl_currentclub = <!-- not currently displayed by template -->
| afl_clubnumber =  <!-- not currently displayed by template -->

| afl_club1 = | afl_year1start = | afl_year1end = | afl_appearances1 = | afl_goals1 = 
...
| afl_club10 = | afl_year10start = | afl_year10end = | afl_appearances10 = | afl_goals10 = 

| afl_teamA = | afl_yearAstart = | afl_yearAend = | afl_appearancesA = | afl_goalsA = 
...
| afl_teamE = | afl_yearEstart = | afl_yearEend = | afl_appearancesE = | afl_goalsE = 

| coachteam1 = | coachyear1start = | coachyear1end = | coachgames1 = | coachwins1 = | coachdraws1 = | coachlosses1 = 
...
| coachteam15 = | coachyear15start = | coachyear15end = | coachgames15 = | coachwins15 = | coachdraws15 = | coachlosses15 = 

| coachteamA = | coachyearAstart = | coachyearAend = | coachgamesA = | coachwinsA = | coachdrawsA = | coachlossesA = 
...
| coachteamK = | coachyearKstart = | coachyearKend = | coachgamesK = | coachwinsK = | coachdrawsK = | coachlossesK = 

| ru_coachteam1 = | ru_coachyear1start = | ru_coachyear1end = | ru_coachgames1 = | ru_coachwins1 = | ru_coachdraws1 = | ru_coachlosses1 = 
...
| ru_coachteam10 = | ru_coachyear10start = | ru_coachyear10end = | ru_coachgames10 = | ru_coachwins10 = | ru_coachdraws10 = | ru_coachlosses10 = 

| ru_coachteamA = | ru_coachyearAstart = | ru_coachyearAend = | ru_coachgamesA = | ru_coachwinsA = | ru_coachdrawsA = | ru_coachlossesA = 
...
| ru_coachteamE = | ru_coachyearEstart = | ru_coachyearEend = | ru_coachgamesE = | ru_coachwinsE = | ru_coachdrawsE = | ru_coachlossesE = 

| refereecomp1 = | refereeyear1start = | refereeyear1end = | refereeappearances1 = 
...
| refereecomp5 = | refereeyear5start = | refereeyear5end = | refereeappearances5 = 

| updated = 
| source = 
}}

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox rugby league biography

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of player

Stringoptional
Imageimage

Image file name

Fileoptional
Image_sizeimage_size

Size of image in pixels

Numberoptional
Altalt

Alt text for image

Stringoptional
Captioncaption

Caption for image

Stringoptional
Fullnamefullname

Full name of player, if different than name above

Stringoptional
Birth_datebirth_date

Birth date of player, use {{birth date and age|YYYY|MM|DD|df=y}} or similar

Stringoptional
Birth_placebirth_place

Birth place of player

Stringoptional
Death_datedeath_date

Death date of player, use {{death date and age|death YYYY|death MM|death DD|birth YYYY|birth MM|birth DD|df=y}} or similar

Stringoptional
Death_placedeath_place

Death place of player

Stringoptional
Heightheight

{{convert|X|cm|ftin|abbr=on}} or {{convert|X|ft|X|in|cm|abbr=on}}

Stringoptional
Weightweight

{{convert|X|kg|stlb|abbr=on}} or {{convert|X|st|X|lb|kg|abbr=on}}

Stringoptional
Retiredretired

yes or no

Stringoptional
Updatedupdated

Date statistics were updated (Does not display if retired=yes)

Stringoptional
Sourcesource

Stringoptional

Tracking categories

Supporting templates

See also