Predefinição:Biografia selecionada

Origem: Wikipédia, a enciclopédia livre.
Ir para: navegação, pesquisa
{{{text}}}
Mais biografias selecionadas... [[{{{link}}}|Leia mais...]]
Ambox warning yellow.svg
Esta predefinição emprega sintaxe possivelmente complexa.

Ela faz uso de características complicadas e esotéricas de sintaxe de predefinições. Por favor, não tente alterar algo a menos que esteja certo de que compreende a montagem e esteja preparado para reparar danos colaterais se os resultados forem inesperados.

Antes de realizar qualquer modificação significativa, sempre considere primeiro testá-la na predefinição de testes ou em Predefinição:Biografia selecionada/Testes (ou ainda em sua página de testes).
Ícone de documentação Documentação da predefinição[ver] [editar] [histórico] [purgar]

Descrição[editar | editar código-fonte]

This template is used to configure the articles found in the Selected person or Selected biography 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. Portal:Foo/Selected person/1. For the quickest and easiest way to create the Portal:Foo/Selected bar sub-page and related article links, use one of the {{Subpáginas numeradas}} templates.

Layout da predefinição[editar | editar código-fonte]

{{Biografia selecionada 
| 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:

For the born field:

For the died field:

Uso[editar | editar código-fonte]

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 Read more... that points to the full article.
  • archive - Using this field with a value of no will remove the More selected biographies... 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.

Examples[editar | editar código-fonte]

Long form[editar | editar código-fonte]

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.

{{Biografia selecionada 
| image   = Mark Twain, Brady-Handy photo portrait, Feb 7, 1871, cropped.jpg
| size    = 
| caption = Mark Twain, detail of photo by [[Mathew Brady]], February 7, 1871
| name    = Samuel Langhorne Clemens
| born    = {{birth date|1835|11|30}}
| died    = {{death date and age|1910|4|21|1835|11|30}}
| text    = Samuel Langhorne Clemens, better known by the [[pen name]] '''Mark Twain''', ...
| link    = Mark Twain
}}

Will yield this:

Mark Twain, detail of photo by Mathew Brady, February 7, 1871
Samuel Langhorne Clemens
b. Novembro 30, 1835(1835-11-30) – d. Abril 21, 1910(1910-04-21) (aged 74)

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."

Mais biografias selecionadas... Leia mais...

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.

Short form[editar | editar código-fonte]

{{Biografia selecionada 
| 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 7, 1871
| text    = '''Samuel Langhorne Clemens''', better known by the [[pen name]] '''Mark Twain''', ...
| link    = Mark Twain
}}

Will yield this:

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."

Mais biografias selecionadas... Leia mais...

Ver também[editar | editar código-fonte]

Principal portal criação de predefinições -
  • {{Box portal skeleton}} - usadas para criar página principal de portal
  • {{Random portal component}} - utilizada na página principal de portal para exibir artigos aleatoriamente a partir do subpáginas do portal
  • {{Random portal component with nominate}} - utilizados no portal página principal para mostrar aleatoriamente artigos subpáginas do portal, acrescentando a possibilidade de nomear outros artigos Destacado foo.
  • {{Random subpage}} - utilizados na página principal do portal para exibir aleatoriamente subpáginas de artigos do portal. Esta predefinição é melhor usada para criar aleatoriamente povoadas Você sabia... seções da página principal do portal que se destina a incluir múltiplos fatos Você sabia ....
  • {{Subpáginas numeradas}} - used to create article links on portal sub-pages with 50 links.
  • {{Random box-header subpage}}
Predefinições de formatação da página principal do portal-
Predefinições que configuram Links -
Estas predefinições são utilizadas para formatar os artigos sobre as sub-páginas -

Purgar cache do servidor