Predefinição:Hanging indent
This template creates a paragraph with a hanging indent.
Usage[editar código-fonte]
This template has one parameter, which may be unnamed, numbered as {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. , or named as either {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. or {{para}}
foi colocada nas predefinições obsoletas, utilize {{parâmetro}}
ou {{ver desambig2}}
. . It is always safest to use the number or a name, since if it is unnamed, any =
(equals) character in the content will break the template.
Wiki-markup example:
{{Hanging indent |text={{Lorem ipsum}}}}
produces:
Indentation within indentation[editar código-fonte]
The entire paragraph itself can be indented and still preserve this hanging-indent effect relevant to its own indentation:
With {{In5}}
[editar código-fonte]
{{Hanging indent |text={{in5}}{{Lorem ipsum}}}}
produces a slight indentation of wrapped material:
(But note that this will not work:
{{in5}}{{Hanging indent |text={{Lorem ipsum}}}}
because it's trying to apply inline style to a block element.)
With {{Block indent}}
[editar código-fonte]
{{block indent|1={{Hanging indent |text={{Lorem ipsum}}}} }}
produces full indentation of wrapped material:
Note: Do not abuse {{Quote}}
, {{Pull quote}}
, <blockquote>
, or any other block quotation markup for non-quotations; the {{block indent}}
template exists for a reason.
TemplateData[editar código-fonte]
Cabeçalho de TemplateData
As informações a seguir (editar) são definidas com TemplateData. Isso possibilita o seu uso pelo Editor Visual e por outras ferramentas. Predefinição:Hanging indent/dados
This template creates a paragraph with a hanging indent.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Indent | indent | Indentation level as a CSS length.
| String | opcional |
Content | text content 1 | sem descrição | Conteúdo | obrigatório |
See also[editar código-fonte]
{{Indent}}
{{In5}}
{{Block indent}}
A documentação acima é transcluída de Predefinição:Hanging indent/doc. (editar | histórico) Editores podem experimentar nas páginas de teste (criar | espelhar) e de exemplos para testes (criar) desta predefinição. Por favor adicione categorias à subpágina /doc. Subpáginas desta predefinição. |