Bản mẫu:Tiểu sử/doc

Bách khoa toàn thư mở Wikipedia

Infobox Person may be used to summarize information about a person.

Also consider using one of the more specific templates such as {{Infobox actor}}, {{Infobox Officeholder}}, {{Infobox Military Person}}, etc. A list of some of these is available at Wikipedia:WikiProject Biography/Infoboxes; others not listed there can be found in Thể loại:People infobox templates.

Usage[sửa mã nguồn]

The infobox may be added by pasting the template as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.

Blank template with basic parameters

{{Infobox Person
| name        = 
| image       = 
| caption     = 
| birth_date  = 
| birth_place = 
| death_date  = 
| death_place = 
| other_names = 
| known_for   = 
| occupation  = 
| nationality = 
}}


Blank template with all parameters

{{Infobox Person
| name        = 
| image       = 
| image_size  = 
| caption     = 
| birth_name  = 
| birth_date  = 
| birth_place = 
| death_date  = 
| death_place = 
| death_cause = 
| resting_place = 
| resting_place_coordinates = 
| residence   = 
| nationality = 
| other_names = 
| known_for   = 
| education   = 
| employer    = 
| occupation  = 
| home_town    = 
| title       = 
| salary      = 
| networth    = 
| height      = 
| weight      = 
| term        = 
| predecessor = 
| successor   = 
| party       = 
| boards      = 
| religion    = 
| spouse      = 
| partner     = 
| children    = 
| parents     = 
| relatives   = 
| signature   = 
| website     = 
| footnotes   = 
}}

Parameters[sửa mã nguồn]

Do not use all these parameters for any one person. The list is long to cover a wide range of people. Only use those parameters that describe why the person is notable. Any parameters left blank or omitted will not be displayed. If a data field has more than one parameter name which can be used, the preferred name is listed first in bold print.

Parameter Explanation
name Name of person (defaults to article name if left blank).
image Image name: abc.jpg, xpz.png, 123.gif, etc.
image_size
(imagesize)
Size to display image: 200px (set width), or 200x300px (max width & max height). This defaults to 225px if empty or omitted.
caption Caption for image, if needed. Try to include date of photo and the photographer.
birth_name Name at birth, if different from name.
birth_date Date of birth: {{birth date and age|1930|1|15}} (if living) or {{birth date|1930|1|15}} (if dead). See Template:Birth date for details.
birth_place Place of birth: city, administrative region, sovereign state.
death_date Date of death: {{death date and age|1995|10|9|1930|1|15}} (if birth date is known) or {{death date|1995|10|9}} (if birth date unknown). See Template:Death date for details.
death_place Place of death: city, administrative region, sovereign state.
death_cause Cause of death.
resting_place Place of burial, ash-scattering, etc.
resting_place_coordinates Coordinates for place of burial, ash-scattering etc. Use {{coord}} template.
residence Location where the person resides, if notable.
nationality Nationality.
other_names Other notable names for the person, if different from name and birth_name.
known_for
(known)
A brief description of why the person is notable.
education Education.
employer Employer.
occupation Occupation.
home_town The place where the person was raised and matured.
title Multiple uses:
salary Annual salary or compensation.
networth Current estimated net worth.
height If person was notable for their height.
weight If used, this should also include the date.
term Years the person held the title listed above.
predecessor Person who previously held the title listed above.
successor Person who subsequently held the title listed above.
party Field labeled Political party.
boards Field labeled Boards on. (No infoboxes using this parameter as of June 14, 2007.)
religion Field labeled Religion.
spouse Name of spouse(s), followed by years of marriage. Use the format Name (1950-present) for current spouse and Name (1970-1999) for former spouse(s). Separate entries with a line break (<br/>).
partner Use same format as spouse.
children Number of children (i.e. 3), or list of names if notable. Separate entries with a line break (<br/>).
parents Names of parents, if notable. Separate entries with a line break (<br/>).
relatives
(relations)
Names of siblings or other relatives, if notable. Include the relationship in parentheses after the name (sister, uncle, etc). Separate entries with a line break (<br/>).
signature An image of the person's signature. Image is displayed at a width of 128px, same format as {{Infobox Writer}}, {{Infobox Officeholder}} and {{Infobox Philosopher}}.
website Official website only. Unofficial websites should be placed under ==External links== in the body of the article.
footnotes Notes about any of the infobox data.

Microformats[sửa mã nguồn]

Các dấu HTML cung cấp bởi bản mẫu này bao gồm một microformat chuẩn hCard, mà làm cho các chi tiết của một người được phân tách bằng máy tính, hoặc tự động tạo danh mục bài viết trên Wikipedia hoặc thông qua một công cụ trình duyệt điều hành bởi một người đọc, để (ví dụ) thêm chủ đề vào sổ địa chỉ hay cơ sở dữ liệu. Để biết thêm thông tin về việc sử dụng các microformat trên Wikipedia, xin xem thêm dự án về microformat.

Bản mẫu con[sửa mã nguồn]

Thông tin ngày sinh ("bday") sẽ chỉ được thêm vào microformat nếu {{birth date}}, hoặc {{birth date and age}} được sử dụng trong infobox. (Không sử dụng nếu ngày sinh nằm trước năm 1583). Hãy thận trọng về việc sử dụng những mục này nếu người đó còn sống, xem thêm Wikipedia:Tiểu sử người đang sống.

Để thêm một đường dẫn URL, sử dụng {{URL}}.

Xin đừng xóa các trường hợp bản mẫu con này.

Các lớp[sửa mã nguồn]

hCard sử dụng các lớp (class) của HTML bao gồm:

  • 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

Xin đừng đổi tên hoặc xoá các lớp này hay gộp các thành phần ẩn mà sử dụng các lớp đó.

Example[sửa mã nguồn]

William Henry Gates III
Bill Gates at IT Forum in Denmark (2004)
Sinh28 tháng 10, 1955 (68 tuổi)
Seattle, Washington
Nghề nghiệpChairman, Microsoft
Co-Chair, Bill & Melinda Gates Foundation
Tiền lươngUS$966,667[1]
Tài sảnUS$56.0 billion (2007)[2]
Phối ngẫuMelinda Gates (1994-present)
Con cái3
Trang webMicrosoft (Press Pass)
Gates Foundation
Chữ ký
{{Infobox Person
| name        = William Henry Gates III
| image       = Bill Gates 2004 cr.jpg
| image_size  =
| caption     = Bill Gates at IT Forum in Denmark (2004)
| birth_date  = {{birth date and age|1955|10|28}}
| birth_place = [[Seattle, Washington]]
| occupation  = [[Chairperson|Chairman]], [[Microsoft]]<br/>
                Co-Chair, [[Bill & Melinda Gates Foundation]]
| salary      = [[United States dollar|US$]]966,667<!--this is the correct style for money--><ref>Year 2006 compensation: salary $616,667, bonus $350,000. From Microsoft's [http://www.microsoft.com/msft/reports/proxy2006.mspx Proxy Statement]</ref>
| networth    = US$56.0 billion (2007)<ref name="forbes"/>
| spouse      = [[Melinda Gates]] (1994-present)
| children    = 3
| signature   = Bill Gates signature.svg
| website     = [http://www.microsoft.com/ Microsoft] [http://www.microsoft.com/presspass/exec/billg/default.mspx (Press Pass)]<br />
                [http://www.gatesfoundation.org Gates Foundation]
}}


  1. ^ Year 2006 compensation: salary $616,667, bonus $350,000. From Microsoft's Proxy Statement
  2. ^ Lỗi chú thích: Thẻ <ref> sai; không có nội dung trong thẻ ref có tên forbes