Bản mẫu:Infobox comedian/doc

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

Usage[sửa mã nguồn]

This infobox may be added by pasting the template as shown below into an article.

{{Infobox comedian <!-- for individuals - see Template:Infobox comedian for usage -->
| name                 = 
| image                = 
| image_size           = 
| alt                  = 
| caption              = 
| pseudonym            = 
| birth_name           = 
| birth_date           = 
| birth_place          = 
| death_date           = 
| death_place          = 
| medium               = 
| nationality          = 
| active               = 
| genre                = 
| subject              = 
| influences           = 
| influenced           = 
| spouse               = 
| domesticpartner      = 
| notable_work         = 
| signature            = 
| website              = 
| footnotes            = 
| module               = 
}}
{{Infobox comedian <!-- for groups - see Template:Infobox comedian for usage -->
| name                 = 
| image                = 
| image_size           = 
| alt                  = 
| caption              = 
| pseudonym            = 
| medium               = 
| nationality          = 
| active               = 
| genre                = 
| subject              = 
| influences           = 
| influenced           = 
| notable_work         = 
| website              = 
| footnotes            = 
| current_members      = 
| past_members         = 
| module               = 
}}

Parameters[sửa mã nguồn]

All attributes are optional.

Parameter Explanation
name Common name of the comedian (defaults to article name if left blank; provide birth_name (below) if different from name).
image 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.
image_size 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. This parameter should not normally need to be set.
alt Alt text for image, for visually impaired readers. See WP:ALT.
caption Caption for image, if needed. Try to include date of photo and the photographer.
pseudonym Any of the comedian's aliases or pen names.
birth_name Name at birth; only use if different from name.
birth_date Date of birth: {{birth date and age}} (if living) or {{birth date}} (if dead). See Template:Birth date and age/doc 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}}.
birth_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.
death_date Date of death: {{death date and age}} (if birth date is known) or {{death date}} (if birth date unknown). See Template:Death date/doc for details on usage. If exact dates are unknown, consider using {{death year and age}}.
death_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)
medium A list of medium(s) in which the comedian has performed. Examples include: television, stand-up, film, etc.
nationality Nationality. May be used instead of citizenship (below) or vice versa in cases where any confusion could result. Should only be used with citizenship when they somehow differ. Should only be used if nationality cannot be inferred from the birthplace. Do not use a flag template.
active Date range in years during which the comedian was active in their mediums, and/or other activity for which they are notable. Use the format 1950–2000, or 1970–present if the comedian is still active (note the use of an en dash, not hyphen). If no dates of birth and/or death are known for the comedian, only a floruit date range, this parameter can be used for it. If approximate (circa) dates are known for either or both, put them in the birth_date and death_date parameters.
genre The comedian's general comedic genre. For instance, Jon Stewart would be political satire; George Carlin would be black humor.
subject The most frequent topics of the comedian's comedy. For instance, Dave Chapelle would be racism/race relations; Stephen Colbert would be politics/the Christian Right; Cheech Marin would be race and drugs.
influences The names of comedians who influenced his/her work. Note: it is possible for a comedian to both influence and be influenced by another comedian, if they are colleagues or are contemporaneous.
influenced The names of comedians who were influenced by his/her work. Note: it is possible for a comedian to both influence and be influenced by another comedian, if they are colleagues or are contemporaneous.
signature An image of the comedian's signature. Please use image name: abc.jpg, xpz.png, 123.gif, etc.
website The comedian's official website only. Unofficial websites should be placed under ==External links== in the body of the article. Use {{URL}} as in {{URL|Example.com}}. Do not include the www. part unless the server is misconfigured and requires it. Use camel case capitalization to make multiword domain names easier to read.
footnotes Notes about any of the infobox data.
current_members For comedy troupes and double acts, list all current members. If the troupe/duo has broken up, name all people who were members at the time of the breakup.
former_members For comedy troupes and double acts, list all members who have, for whatever reason, left. If the troupe/duo has broken up, name all people who left before the time of the breakup.
module Used for embedding other infoboxes into this one. For example: {{Infobox comedian awards}}.

Microformat[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 đó.

See Also[sửa mã nguồn]