Template:Infobox rugby league biography: Difference between revisions
en>Primefac (swap, per request on talk page) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 01:07, 18 January 2023
File:Ambox important.svg | The design and content of biographical infoboxes must follow Wikipedia's verifiability policy, as well as infobox and biographical style guideline. All content displayed in this template must adhere to the biographies of living persons policy if applicable. Unsourced or poorly sourced contentious material must be removed immediately from the article and its infobox, especially if potentially libellous. |
File:Lua-Logo.svg | This template uses Lua: |
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
TemplateData for Infobox rugby league biography
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of player | String | optional |
Image | image | Image file name | File | optional |
Image_size | image_size | Size of image in pixels | Number | optional |
Alt | alt | Alt text for image | String | optional |
Caption | caption | Caption for image | String | optional |
Fullname | fullname | Full name of player, if different than name above | String | optional |
Birth_date | birth_date | Birth date of player, use {{birth date and age|YYYY|MM|DD|df=y}} or similar | String | optional |
Birth_place | birth_place | Birth place of player | String | optional |
Death_date | death_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 | String | optional |
Death_place | death_place | Death place of player | String | optional |
Height | height | {{convert|X|cm|ftin|abbr=on}} or {{convert|X|ft|X|in|cm|abbr=on}} | String | optional |
Weight | weight | {{convert|X|kg|stlb|abbr=on}} or {{convert|X|st|X|lb|kg|abbr=on}} | String | optional |
Retired | retired | yes or no | String | optional |
Updated | updated | Date statistics were updated (Does not display if retired=yes) | String | optional |
Source | source | String | optional |
Tracking categories
- Category:Rugby league infoboxes with too many parameters (0)
- Category:Infobox rugby league biography with no rugby league parameters (0)
- Category:Pages using infobox rugby league biography with unknown parameters (0)
Supporting templates
- Template:Infobox rugby league biography/AFL (also see List of articles using AFL sub-template)
- Template:Infobox rugby league biography/COACH
- Template:Infobox rugby league biography/PLAYER
- Template:Infobox rugby league biography/REFEREE
See also
- Infobox templates
- Pages with broken file links
- Lua-based templates
- Templates generating hCards
- Templates using TemplateData
- Rugby league infobox templates
- Sportsperson infobox templates
- Biographical templates usable as a module
- Infobox templates with module parameter
- Infobox templates with updated parameter
- Templates that add a tracking category