Usuário:Dbastro/Predefinição8
![]() | Esta predefinição usa Lua: |
Uso
Erro Lua em Módulo:Lang/documentor_tool na linha 29: attempt to index local 'content' (a nil value). Predefinição {{dbastro}} indica aos leitores a forma original ou termo ou frase em [[Erro de comando: A função "name_from_code" não existe. idioma]]. O termo ou frase é o único parâmetro mandatório. O texto é formatado de acordo com as recomendações em en:Wikipedia:Manual of Style/Text formatting#Foreign terms (itálicos para línguas de Latin-script, regular para outras).
Esta predefinição deve ser geralmente colocada depois da tradução em Português da frase ou termo em língua estrangeira.
O parâmetro |links=no
previne que o nome da língua tenha uma ligação.
O parâmetro |translit=
enables a transliteration (of the original text with the Latin alphabet) to be given. The templates that have this param are listed here. (This parameter is not supported by lang-x
templates for languages that are already written in Latin script.)
The parameter |lit=
enables a literal translation (in English) to be given. It is being rolled out to these templates and so may be available for {{dbastro}}.
Parâemtros
Exemplos
Os seguintes exemplos mostram traduções de Alemão.
Edite
- Weimar is located in the federal state of Thuringia (
{{lang-de|Thüringen}}
). - The Seafarers of Catan (
{{lang-de|Die Seefahrer von Catan}}
) is an expansion of the board game The Settlers of Catan. - Albert the Bear (
{{lang-de|Albrecht der Bär|links=no}}
) - All Quiet on the Western Front (
{{lang-de|Im Westen nichts Neues|lit=In the West Nothing New}}
) is a novel by Erich Maria Remarque.
Resulting text
- Weimar is located in the federal state of Thuringia (em alemão: Thüringen).
- The Seafarers of Catan (em alemão: Die Seefahrer von Catan) is an expansion of the board game The Settlers of Catan.
- Albert the Bear (em alemão: Albrecht der Bär)
- All Quiet on the Western Front (em alemão: Im Westen nichts Neues) is a novel by Erich Maria Remarque.
Predefinições de suporte
- One of the following: {{Language with name}}, {{Language with name2}}, {{Language with name and transliteration}}, or {{Language family with name}}
- {{Lang}} – used by the templates listed above
- {{ISO 639 name}} and {{Category handler}} – used by {{Lang}} to add a category
TemplateData
Indicates to readers the original form of a term or phrase in a foreign language.
Parâmetro | Descrição | Tipo | Estado | |
---|---|---|---|---|
Text | 1 | The foreign text to display. | String | obrigatório |
Display link | links | Set to no to disable the link to the article's language. | Booliano | opcional |
Literal translation | lit | The literal translation of the foreign text | Desconhecido | opcional |
Transliteration | translit | The transliteration of the foreign text, for languages that do not use the Latin alphabet. This field is ignored for languages that do use the Latin alphabet | String | opcional |
Ver também
- {{Lang}}
- {{Language with name/for}}
- {{Link language}}
- {{ icon}}