Esta é uma subpágina de documentação para Predefinição:Uppercase (Clique na ligação se você quer vê-la diretamente). Ela contém informações sobre o uso, categorias e outros conteúdos que não são parte da predefinição propriamente dita. |
Essa predefinição utiliza um elemento Veja H:DIVSPAN para maiores detalhes. |
Usage
editarThis template styles text in uppercase.
- Use
{{uppercase|text}}
for a single word or phrase.- The shortcut redirects {{UC}} and {{uc}} may be used.
- Use
{{Uppercase block|block}}
where an entire paragraph, section or block of text is to be made upper case.- The shortcut redirect {{ucb}} may be used.
Note on proper usage
editarDo not use "{{uppercase|example}}" where the uppercase content "EXAMPLE" is required. Use it only where the required content is "example" but the required style in which it is to be rendered is uppercase. In particular, words that should be normally capitalised (e.g. proper nouns like names) should still be capitalised even if they are inside this template.
Because "{{uppercase|example}}" affects only the style and not the underlying content, it will be rendered as "EXAMPLE" by renderers that support styles, but it may be treated as "example" in other situations, such as case-sensitive text searches, copy-pasting of raw text, reading by screen-readers, etc.
An example of correct usage is in books where the first word of a chapter is capitalised for purely stylistic reasons; for example, en:Page:Watch and Ward (Boston, Houghton, Osgood and Company, 1878).djvu/8.
Code | Displays | Copy-pastes as |
---|---|---|
{{uc|Albert Einstein}} |
Albert Einstein | Albert Einstein |
{{uc|albert einstein}} |
albert einstein | albert einstein |
Example
editar{{Uppercase|uppercase}}d
uppercase d
{{UC|uppercase}}d
uppercase d
{{uc|uppercase}}d
uppercase d
See also
editar- {{lc}} for lowercasing
- {{capitalize}} for Capitalizing
- {{text-transform none}}
Sem descrição.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
1 | 1 | Text to be rendered as upper case. | Conteúdo | obrigatório |