Predefinição:Portal original/doc

Origem: Wikimotorpedia, a enciclopédia livre.
Saltar para a navegação Saltar para a pesquisa
Edit-copy green.svg Esta é uma subpágina de documentação para a Predefinição:Portal original.
Ela contém informações sobre o seu uso, categorias, bem como todo o conteúdo que não faz parte da predefinição original.

Esta predefinição é usada para produzir um link em umaa caixa para um portal.

Optional parameters

{{Portal original|name|image|size|boxsize|break=yes|left=yes|margin=|alt=Alt text|link=Link}} The units assumed for size (the width of the image) and boxsize (the width of the box containing the image and portal link) are pixels (px). By default, the box is surrounded by a margin of width 0.5em, but this can be customized using margin=top right bottom left (e.g. margin=0.25em 0 0.25em 0.25em) or removed using margin=0 (zero).

By default the image is assumed to be purely decorative, and no link is generated for it; in this case the image should not have a license that requires attribution, for technical reasons involving copyright law and the current implementation of Wikipedia. However, if alt=Alt text is specified (see WP:ALT), a link to the image's page is generated; this link can be overridden with link=Page to link to. As per WP:ALT, if a link is specified, alt text for that link's function should also be specified.

Location

Within articles, this template is meant to be placed at the bottom of the article in the "See also" section.

Exemplos

Código
Resultado
{{Portal original|Portal|PorcheCentralNordCathedraleChartre041130.JPG|size=50|left=yes}}
{{Portal original|Ciências da Terra}}
{{Portal original|Ciências da Terra|Terra.png}}
{{Portal original|Ciências da Terra|Terra.png|size=50}}
{{Portal original|Desenvolvimento sustentável|Sustainable development.svg|boxsize=50}}
{{Portal original|Desenvolvimento sustentável|Sustainable development.svg|break=yes}}
{{Portal original|Desenvolvimento sustentável|Sustainable development.svg|break=yes|left=yes}}

Ver também