Predefinição:Notícia

Origem: Wikipédia, a enciclopédia livre.
Ir para: navegação, pesquisa
Information icon.svg {{{1}}}
Ícone de documentação Documentação da predefinição[ver] [editar] [histórico] [purgar]

Esta é a caixa de mensagem {{notícia}}.

Uso[editar | editar código-fonte]

When used in articles, this message box should only be used for important comments about the article that cannot be shown using a more specific template. Less important comments should as usual be put as text on the article's talk page instead.

This message box can also be used on other pages, such as on the top of talk or project pages. There it can be used in a more relaxed way.

This box automatically changes style depending on what kind of page it is shown on. That is, it uses the standardised message box styles for the different types of pages.

Artigos[editar | editar código-fonte]

This is how this box looks on article (main space) pages. Here is a code example:

{{notícia|Include text here.}}

Which renders like this:

Information icon.svg Include text here.


An optional header text can be added. Like this:

{{notícia|header=Header text|Include text here.}}

Which renders like this:

Information icon.svg
Header text
Include text here.


The message box can also take an image parameter, but that is discouraged when the box is used in articles. See example further down for how to use that parameter.

Páginas de discussão[editar | editar código-fonte]

This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on. Here's the basic box again:

{{notícia|Include text here.}}

Which renders like this:

Information icon.svg Include text here.

The header parameter works on talk pages too. But there is one parameter that only works on talk pages, the small parameter. Like this:

{{notícia|small=yes|header=Header text|Include text here.}}
Information icon.svg
Header text
Include text here.

As you can see, "small=yes" causes a smaller right floating box with a smaller image and smaller text size.
Let's try the image parameter too. Like this:

{{notícia|small=yes|image=Stop hand nuvola.svg
  |header=Header text|Include text here.}}
Notice
Header text
Include text here.


Image and category pages[editar | editar código-fonte]

This is how this box looks on image pages:

Information icon.svg Include text here.

This is how this box looks on category pages:

Information icon.svg Include text here.

Other pages[editar | editar código-fonte]

This is how this box looks on most other pages, such as pages that start with "User:", "Wikipedia:", "Help:" and so on.

{{notícia|Include text here.}}

Which renders like this:

Information icon.svg Include text here.

The box can also take an image parameter. Like this:

{{notícia|image=Stop hand nuvola.svg|Include text here.}}

Which renders like this:

Notice Include text here.

The header and image parameters can of course be used at the same time.

Ligações externas[editar | editar código-fonte]

Na maioria dos casos, os links externos que podem ser usados na predefinição sem quaisquer complicações. No entanto, os links que contêm um sinal de igual ( = ) não são lidos corretamente, porque tudo à esquerda do sinal de igual, é interpretado como um nome de parâmetro. Esta é a proposta de trabalho em torno de:

{{notícia|1=Seguindo este parâmetro, um sinal de igualdade em um link externo será lido corretamente.}}

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

Existem outras predefinições de mensagem, que servem para fins semelhantes:

  • {{ambox}} – Article message boxes of any type. There is comprehensive information in its documentation about the different options for article message boxes.