Template:Infobox video game player/doc

From The Global Wiki
Jump to navigation Jump to search

Usage

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

{{Infobox video game player
| ID = 
| name = 
| name_trans = 
| image = 
| alt = 
| caption = 
| upright =
| nickname = 
| birth_name =
| birth_date = 
| birth_place
| death_date =
| death_place =
| nationality = <!-- use only when necessary per [[WP:INFONAT]] -->
| team = 
| game(s) = 
| role = 
| league(s) = 
| inactive = 
| career_games =
| career_role =
| career_start = 
| career_end = 
| coach_start =
| coach_end = 
| years1 = 
| team1 = 
| years2 = 
| team2 = 
| years3 = 
| team3 = 
| years4 = 
| team4 = 
| years5 = 
| team5 = 
| years6 = 
| team6 = 
| cyears1 =
| cteam1 =
| cyears2 =
| cteam2 =
| highlights =
| module1 =
| module2 =
}}

Parameters

Parameter Default Description
ID The in-game name the person uses in gaming.
name The name of the person in their own language, if not English.
name_trans If name is not English, use the English name here.
image Image name: abc.jpg, xpz.png, 123.gif, etc., without the File: or Image: prefix.
caption Caption for image, if needed. Try to include the date of photo, some context, and the photographer if known (check the File: or Commons page for the image).
upright Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).
alt Descriptive alt text for the image, for visually impaired readers. One word (such as photograph) is rarely sufficient. Do not copy-paste the value of |caption= (below) into this parameter. Example of the difference: "Willie Nelson at a concert in Dallas, 1989" is good as |caption= value; "Nelson in western-wear with an acoustic guitar, on stage in a daytime show with band in background" is an |alt= description. If nothing meaningful can be said that isn't already in the caption, use the stock text |alt=refer to caption.
nickname Other notable names for the person, if different from |ID=, |name=, and |birth_name=.
birth_name Name at birth; only use if different from |name=.
birth_date Date of birth: Use {{birth date and age}} (if living) or {{birth date}} (if dead). See template's page for details on usage. If only a year of birth is known, or age as of a certain date, consider using {{birth year and age}} or {{birth based on age as of date}}. For living people supply only the year unless the exact date is already widely published. Treat such cases as if only the year is known, so use {{birth year and age}} or a similar option. The templates mentioned in this paragraph emit metadata indicating the date is in the Gregorian calendar; if the date is in the Julian calendar, do not use these templates, just write the date.
birth_place Place of birth: city, administrative region, country.
  • Use the name of the birthplace at the time of birth, e.g.: Saigon (prior to 1976) or Ho Chi Minh City (post-1976).
  • Do not use a flag template, coat of arms, or other icon.
  • Omit unnecessary or redundant details. For example, it is not necessary to state: New York City, New York, United States when New York City, U.S. conveys essentially the same information more concisely.
  • Countries should generally not be linked.
  • For modern subjects, the country should generally be a sovereign state; for United Kingdom locations, the constituent countries of the UK are sometimes used instead, when more appropriate in the context.
  • For historical subjects, use the place name most appropriate for the context and our readership. What the place may correspond to on a modern map is a matter for an article's main text.
  • For subsequent places (of death, etc.) it is not necessary to repeat jurisdictional details or links for the same place name.
death_date Date of death: Use {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown). See template's page for details on usage. If exact dates are unknown, consider using {{death year and age}}. The templates mentioned in this paragraph emit metadata indicating the date is in the Gregorian calendar; if the date is in the Julian calendar, do not use these templates, just write the date.
death_place Place of death: city, administrative region, country.  (See |birth_place=, above, for instructions on how to use this parameter, including: no flag templates, inappropriate linking, redundancy, anachronisms, "country" definitions, etc.)
nationality Use only when necessary per WP:INFONAT.
team Current team of the player.
game
games
The game or games the person currently plays with the team they are currently on.
role The role or roles the person currently has on the team they play with.
league
leagues
The league or leagues the person's current team plays in.
inactive no Set to yes if the person is currently inactive. This parameter should not be used to signify retirement (retirement should be indicated by |career_end= below).
career_games The games the player is known for playing throughout their career, if different from |game= or |games= above.
career_role The role the player is known for playing throughout their career, if different from |role= or |roles= above.
career_start The year the person began their playing career.
career_end The year the person ended their playing career.
coach_start The year the person began their coach career.
coach_end The year the person ended their coach career.
yearsN The years the person played with |teamN= (N=1,2,3...). Years should be separated with an en dash (e.g. years1=2012–2015). This parameter should not include months or days.
yearsN The years the person played for |teamN= (N=1,2,3...).
teamN The teams the person played for during |yearsN= (N=1,2,3...).
cyearsN The years the person coached for |cteamN= (N=1,2,3...).
cteamN The teams the person coached for during |cyearsN= (N=1,2,3...).
highlights Significant career highlights and/or awards the person achieved during their career; use a bulleted list.
module1
module2
Used for embedding other infoboxes into this one.

Example

Foofoo
File:Test 2.jpg
Wikipedian in 2019
Current team
TeamG2 Esports
RoleSupport
GameLeague of Legends
LeagueLEC
Personal information
NameFoo Wikipedian
BornSeptember 2, 1999 (1999-09-02) (age 25)
Gothenburg, Sweden
Career information
GamesDota 2
League of Legends
Playing career2016–Script error: No such module "If empty".
RoleScript error: No such module "If empty".
NumberScript error: No such module "If empty".
Script error: No such module "sports career".
Career highlights and awards
Script error: No such module "If empty".
{{Infobox video game player
| ID = Foofoo
| name = Foo Wikipedian
| name_trans = 
| image = test 2.jpg
| caption = Wikipedian in 2019
| game = ''[[League of Legends]]''
| team = [[G2 Esports]]
| role = Support
| league = [[League of Legends European Championship|LEC]]
| birth_date = {{Birth-date and age|September 2, 1999}}
| birth_place = [[Gothenburg]], Sweden
| career_games = ''[[Dota 2]]'' <br/> ''League of Legends''
| career_start = 2016
| career_end = 
| years1 = 2016
| team1 = [[Dignitas (esports)|Dignitas]]
| years2 = 2017–2018
| team2 = [[Fnatic]]
| years3 = 2019–present
| team3 = [[G2 Esports]]
| highlights =
* [[Mid-Season Invitational|MSI]] champion ([[2019 Mid-Season Invitational|2019]])
* 6× LEC champion
}}

Template data

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 video game player

This infobox is intended for use in articles about esports players.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
embedembed

no description

Unknownoptional
In-game nameID

The in-game name the person uses in gaming.

Unknownsuggested
Namename

The name of the person in their own language.

Unknownsuggested
English namename_trans

If name is not English, use the English name here.

Unknownoptional
header-colorheader-color

no description

Unknownoptional
Imageimage

Image name: abc.jpg, xpz.png, 123.gif, etc. If an image is desired but not available, one may add "yes" to the "needs-photo" section of the :Template:WPBiography on the talkpage. If no image is available yet, do not use an image placeholder.

Example
abc.jpg, xpz.png, 123.gif
Filesuggested
DEPRECATED: Image sizeimage_size image size imagesize

DEPRECATED/DISCOURAGED. Size to display image: 200px (set width), x300px (set height), or 200x300px (max width & max height). This defaults to frameless (default is 220px, but logged in users can change this by clicking on "my preferences" and adjusting thumbnail size) if empty or omitted. Use of this parameter is discouraged as per WP:IMGSIZE. Use upright instead.

Default
220px
Example
200px
Unknowndeprecated
sizesize

no description

Unknownoptional
altalt

no description

Unknownoptional
Image uprightupright

Scales the image thumbnail from its default size by the given factor. Values less than 1 scale the image down (0.9 = 90%) and values greater than 1 scale the image up (1.15 = 115%).

Default
1
Example
1.15
Numbersuggested
logologo

no description

Unknownoptional
captioncaption

no description

Unknownsuggested
Current teamteam

Current team of the player.

Unknownsuggested
numbernumber

no description

Unknownoptional
rolerole

The role or roles the person currently has on the team they play with.

Unknownoptional
Gamegame

The game the person currently plays with the team they are currently on.

Example
''[[Counter-Strike: Global Offensive]]''
Unknownoptional
gamesgames

The games the person currently plays with the team they are currently on.

Example
{{ubl|''[[Counter-Strike: Global Offensive]]''|''[[Valorant]]''}}
Unknownoptional
leagueleague

The league the person's current team plays in.

Stringoptional
leaguesleagues

The leagues the person's current team plays in.

Stringoptional
inactiveinactive

no description

Unknownoptional
statusstatus

no description

Unknownoptional
Birth datebirth_date

Date of birth: {{Birth date and age|YYYY|MM|DD}} for living people. For people who have died, use {{Birth date|YYYY|MM|DD}}. If only a year of birth is known, or age as of a certain date, consider using Template:birth year and age or Template:birth based on age as of date.

Contentoptional
Birth placebirth_place

Place of birth: city, administrative region, sovereign state. Use the name of the birthplace at the time of birth, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976). Do not use a flag template.

Stringoptional
Death datedeath_date

Date of death: {{Death date and age|YYYY|MM|DD|YYYY|MM|DD}} (if birth date is known) or Template:death date (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using Template:death year and age.

Unknownoptional
Death placedeath_place

Place of death: city, administrative region, sovereign state. Note: Do not use a flag template. Use the name of the deathplace at the time of death, e.g.: Saigon (prior to 1976), Ho Chi Minh City (post 1976)

Stringoptional
Nationalitynationality

Nationality. Should only be used if nationality cannot be inferred from the birthplace per [[WP:INFONAT]]. Do not use a flag template.

Stringoptional
nicknamenickname

no description

Unknownoptional
career_startcareer_start

no description

Unknownoptional
coach_startcoach_start

no description

Unknownoptional
career_gamescareer_games

no description

Unknownoptional
career_rolecareer_role

no description

Unknownoptional
career_endcareer_end

no description

Unknownoptional
career_numbercareer_number

no description

Unknownoptional
coach_endcoach_end

no description

Unknownoptional
team1team1

no description

Unknownoptional
clubs1clubs1

no description

Unknownoptional
clubsclubs

no description

Unknownoptional
years1years1

no description

Unknownoptional
yearsyears

no description

Unknownoptional
cteam1cteam1

no description

Unknownoptional
cyears1cyears1

no description

Unknownoptional
awardsawards

no description

Unknownoptional
highlightshighlights

no description

Unknownoptional
modulemodule

no description

Unknownoptional
module1module1

no description

Unknownoptional
module2module2

no description

Unknownoptional
childchild

no description

Unknownoptional
nocat_wdimagenocat_wdimage

no description

Unknownoptional
Birth namebirth_name

no description

Example
Name at birth; only use if different from |name=.
Unknownoptional


Tracking category

See also