Esta plantilla proporciona una traducción al inglés de un término o frase que no está en inglés y, opcionalmente, ofrece un enlace al artículo en el idioma extranjero.
{{Language with name/for|<language tag>|<non-English text>|<term or phase>}}
– nota en blanco segundo parámetro posicional
Hay tres parámetros posicionales:
<non-English text>
{{{2}}}
<{{var|non-English text}}>
– aplicará el marcado html adecuado para este texto utilizando la etiqueta de idioma especificada en{{lang}}
{{{1}}}
<non-English text>
y varios parámetros con nombre:
|term1=
– alias de {{{3}}}
( )<term or phase>
|term2=
.. – traducciones adicionales similares a 'o'; cada una entre comillas simples; los términos entre comillas separados por '<espacio>/<espacio>'|termn=
|italic-term=
– yes
o no
; el valor predeterminado es no
; útil para traducciones de varios términos cuando todos deben estar en cursiva|lang-name=
– para aquellos casos en los que ISO 639 no tiene una etiqueta de idioma; {{{1}}}
( ) se ignora; envuelve ( ) con la etiqueta html using (uncoded language). Ver nota.<language tag>
{{lang}}
{{{2}}}
<non-English text>
mis
|break=
– yes
o no
; el valor predeterminado es no
; se inserta <br />
entre el texto que no está en inglés y el nombre del idioma|paren=
– acepta uno de dos valores:none
; omite los paréntesis alrededor de '< nombre del idioma > para < término o fase >'left
; la plantilla proporciona solo el paréntesis izquierdo; se omite el derechoEsta plantilla también acepta todos los parámetros admitidos por {{lang}}
excepto |code=
y |text=
.
Nota : Cuando exista una etiqueta de idioma ISO 639 para el idioma del texto que no sea inglés, utilice esa etiqueta; no utilice |lang-name=
. Cuando ISO 639 no tenga un idioma que se aplique al texto que no sea inglés, utilice |lang-name=
para el nombre del idioma que no sea inglés. Esta plantilla aplica el marcado HTML adecuado al texto que no sea inglés solo cuando se le proporciona una etiqueta de idioma adecuada. Cuando esta plantilla proporciona el nombre del idioma, establece el atributo |lang-name=
HTML en (idioma no codificado).lang=
mis
Haz esto:
{{langnf|es|Casa|house}}
<span title="Spanish-language text"><i lang="es">Casa</i></span> ([[Spanish language|Spanish]] for 'house')
No hagas esto:
{{langnf||Casa|house|lang-name=Spanish}}
<span title="uncoded-language text"><i lang="mis">Casa</i></span> ([[Spanish language|Spanish]] for 'house')
Uso básico:
{{langnf|es|Casa|house}}
Usando |lang-name=Massachusett
:
{{langnf||kuncannowet|breast|lang-name=Massachusett}}
– nota vacía{{{1}}}
Usando |break=yes
:
{{langnf|es|Casa|house|break=yes}}
Usando |paren=none
:
{{langnf|es|Casa|house|paren=none}}
Usando |paren=left
:
{{langnf|fr|'''L'Aurore'''|The Dawn|paren=left}}; {{IPA|fr|loʁɔʁ|IPA}})
Usando |term1=house
, |term2=hut
, |term3=mansion
:
{{langnf|es|Casa|term1=house|term2=hut|term3=mansion}}
Usando |term1=house
, |term2=hut
, |term3=mansion
, y |italic-term=yes
:
{{langnf|es|Casa|term1=house|term2=hut|term3=mansion|italic-term=yes}}
Esta plantilla detecta errores. Los artículos que tienen {{language with name/for}}
errores se agregan a la Categoría:Idioma con el nombre/para errores (0). Cuando se detectan errores, esta plantilla emite mensajes de error:
{{{1}}}
) o |lang-name=
. Para resolver este error, proporcione una etiqueta de idioma adecuada en {{{1}}}
o un nombre de idioma adecuado en |lang-name=
. Consulte la documentación de la plantilla para conocer los requisitos específicos de estos parámetros.{{{1}}}
) y |lang-name=
puede ser conflictiva, solo se permite uno de ellos; utilice el más adecuado. Consulte la documentación de la plantilla para conocer los requisitos específicos de estos parámetros.{{{3}}}
del |term1=
texto que no está en inglés. Para resolver este error, proporcione una traducción adecuada.