Bản mẫu:Selected biography

Bách khoa toàn thư mở Wikipedia
Bước tới điều hướng Bước tới tìm kiếm
{{{text}}}
Thêm tiểu sử được chọn…
[[{{{link}}}|Đọc thêm…]]


Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

This template is used to configure the articles found in the Nhân vật được chọn or Tiểu sử được chọn section found on most Wikipedia Portal main pages. Use it on the article pages that are linked to the Selected person sub-page, e.g. Chủ đề:Foo/Selected person/1. For the quickest and easiest way to create the Chủ đề:Foo/Selected bar sub-page and related article links, use one of the {{Numbered subpages}} templates.

Bố cục bản mẫu[sửa mã nguồn]

{{Selected biography
| image   = 
| size    = 
| side    =
| caption = 
| name    = 
| born    =  <!--- Required if using "died" --->
| died    = 
| text    =  <!--- Required --->
| link    =  <!--- Required --->
| page    =
| archive =
}}

Additionally, the following templates can be used in the born and died fields:

Đối với trường ngày sinh:

Đối với trường ngày mất:

Cách sử dụng[sửa mã nguồn]

It is unnecessary to include braces, quotation marks or other wiki-markup in the template. The |text= field does allow the use of wiki-markup at the contributor's discretion.

  • image - Places an image relating to the subject of the article on the left side of the section.
  • size - Sets the image size, if left out or left blank it will default to 250px.
  • side - Set the location of the image here, it will default to left if no side is specified. Use right or center as the variable.
  • caption- Creates a caption for the image.
  • name - Adds the name of the person at the top left corner of the article, automatically bolded
  • born - Adds the person's birth date, format is at contributor's discretion. Requires the name field.
  • died - Adds the person's death date, format is at contributor's discretion. Requires the born and name fields.
  • text - A brief summary of the subject.
  • link - Sets the link in the Đọc thêm... that points to the full article. Required.
  • archive - Using this field with a value of no will remove the Thêm tiểu sử được chọn... link in the lower left corner. Use this field if you are using the |footer= parameter in the {{random box-header subpage}} template on the main portal page.

Các ví dụ[sửa mã nguồn]

Trường dài[sửa mã nguồn]

The long form of this template places the subjects name immediately to the left of the portrait and gives you the option of adding birth and death years. If the |born= field is not included, the template will not include the |died= field.

{{Selected biography
| image   = Mark Twain, Brady-Handy photo portrait, Feb 7, 1871, cropped.jpg
| size    = 
| caption = Mark Twain, detail of photo by [[Mathew Brady]], February&nbsp;7,&nbsp;1871
| name    = Samuel Langhorne Clemens
| born    = {{ngày sinh|1835|11|30}}
| died    = {{ngày mất và tuổi|1910|4|21|1835|11|30}}
| text    = Samuel Langhorne Clemens, better known by the [[pen name]] '''Mark Twain''', ...
| link    = Mark Twain
}}

Sẽ mang lại điều này:

Mark Twain, detail of photo by Mathew Brady, February 7, 1871
Samuel Langhorne Clemens
B. (1835-11-30)30 tháng 11, 1835 – d. 21 tháng 4, 1910(1910-04-21) (74 tuổi)

Samuel Langhorne Clemens, better known by the pen name Mark Twain, was an American author and humorist. Twain is most noted for his novels Adventures of Huckleberry Finn, which has since been called the Great American Novel, During his lifetime, Twain became a friend to presidents, artists, industrialists and European royalty.

Twain enjoyed immense public popularity, and his keen wit and incisive satire earned him praise from both critics and peers. American author William Faulkner called Twain "the father of American literature."


Because the |name= field formats the subject's name so that it is in bold text, it is suggested that you do not put the subject's name in bold in the text of the article.

Trường ngắn[sửa mã nguồn]

{{Selected biography
| image   = Mark Twain, Brady-Handy photo portrait, Feb 7, 1871, cropped.jpg
| size    = 
| side    = right
| caption = Mark Twain, detail of photo by [[Mathew Brady]], February&nbsp;7,&nbsp;1871
| text    = '''Samuel Langhorne Clemens''', better known by the [[pen name]] '''Mark Twain''', ...
| link    = Mark Twain
}}

Sẽ mang lại điều này:

Mark Twain, detail of photo by Mathew Brady, February 7, 1871
Samuel Langhorne Clemens, better known by the pen name Mark Twain, was an American author and humorist. Twain is most noted for his novels Adventures of Huckleberry Finn, which has since been called the Great American Novel, During his lifetime, Twain became a friend to presidents, artists, industrialists and European royalty.

Twain enjoyed immense public popularity, and his keen wit and incisive satire earned him praise from both critics and peers. American author William Faulkner called Twain "the father of American literature."


Xem thêm[sửa mã nguồn]

Bản mẫu tạo chủ đề chính

  • {{Basic portal start page}}—Used to create portal main pages.
  • {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
    • {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
  • {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
  • {{Subpage}}—Used to output a box containing a link to subpage.
  • {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
    • {{Numbered subpages|max=25}}—As hereinbefore, but with 25 links.
    • {{Numbered subpages|max=75}}—As hereinbefore, but with 75 links.
    • {{Numbered subpages|max=100}}—As hereinbefore, but with 100 links.
  • {{Random box-header subpage}}—Used to transclude a numbered subpage.

Bản mẫu định dạng trang chủ đề chính

Bản mẫu cấu hình liên kết

Các bản mẫu này được sử dụng để định dạng các bài viết trên các trang con

{{Selected X}}—Generic template for situations not listed hereafter.

Bản mẫu liên quan

Tẩy sạch vùng nhớ đệm máy chủ