Template talk:En

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Info non-talk.svg Template:En has been protected indefinitely because it is a highly-used or visible template. Use {{Edit request}} on this page to request an edit.

Broken en template[edit]

On the article [1] you can see, that the en template is broken. The produced html code is this:
<div class="description en">
<p><span class="language"><b>en:</b></span> <span class="text">{{{1}}}</span></p>
</div>

other languages produce this code:
<b>ca:</b> Catalan:

I can't figure out how to fix this, so it would be nice is someone take care of it.

Looks like we are supposed to use {{En|Name}} now. It breaks a lot of freaking pages. Also, a newline is added after the name. --Pmsyyz 09:10, 23 October 2005 (UTC)
Thanks, what ever you did, it fixed the Problem. -- NooN 14:36, 24 October 2005 (UTC)

Extra break[edit]

The { {EN} } seems to have a superfluous break which the other languages do not have - see Filipendula ulmaria. Can someone pls fix this? TeunSpaans 19:55, 21 December 2005 (UTC)

See proper usage at Filipendula ulmaria now. --Pmsyyz 07:24, 22 December 2005 (UTC)

Single line version[edit]

Hi. I'd like to make multilingual title sections in galleries, but when use this template it puts some br tag or equivalent. Example:

==={{en|Section Title}} {{es|Título de sección}}===

English: Section Title

Español: Título de sección[edit]

Could be possible to have one solution for this? Bear in mind that even bold text can be inapropiate in this case. Regards, --Colegota 13:12, 18 May 2006 (UTC)

This is because it uses <div>. Maybe you want to create Template:en-inline, Template:de-inline, Template:fr-inline and others using the <span> tag. TZM de:T/T C 13:23, 2 July 2006 (UTC)
Hi, I think that we would need to have a keyword option such as 'aside' or 'inline' to use the template inline: {{en|some English text|inline=yes}} would do the job by disabling the 'div' tags in the template and replacing them by a 'span' tag.
-- AlNo (talk) 08:58, 26 January 2007 (UTC)
I've added the 'inline' optional parameter in the templates 'en' and 'es'. This works when they are used in a single paragraph :
English: description text
Español: texto de descripción
. Best regards,
-- AlNo (talk) 15:14, 26 January 2007 (UTC)

Another break: numbered lists[edit]

This template (or perhaps the Description template) breaks numbered lists. I first noticed this on Image:Biological cell.svg, where the list of organelles skips the number 2. It's easily reproducible:

{{en|Here's a list:
#one
#two
#three}}

Produces:

English: Here's a list:
  1. one
  2. two
  3. three

The same problem occurs in all language tags; they always skip number the 2. MithrandirMage 16:13, 9 April 2007 (UTC)

Yellow[edit]

Why is it yellow? It doesn't seem fair to make "English" yellow and not other languages... --TwoWings (jraf) * Wanna talk? ;-) 02:18, 7 October 2007 (UTC)

new version removes characters in front of it[edit]

See e.g. Bezirk Mitte: the * is not shown. Please take care that all language templates work the same way. --BLueFiSH.as 08:06, 7 October 2007 (UTC)

Hyperlinks[edit]

If hyperlinks are placed inside this template, for some reason they break it and all text is invisible. Kelly 17:08, 21 May 2008 (UTC)

For example:

--Jarekt 13:03, 22 May 2008 (UTC)

That's true for any template. It's the equal sign. The template thinks your assigning a value to some parameter. Use {{en|1=...}}. Rocket000(talk) 23:42, 23 August 2008 (UTC)
Adding "1=" worked for me, so I tried updating the documention with this edit to help other editors. I then used "&action=purge" to purge the cache so that my change appears in the template page. -84user (talk) 17:00, 23 November 2008 (UTC)

Extra break[edit]

None of the other languages do it.

 {{en|
 some text.
 }}
 {{es|
 some text.
 }}
 {{pt|
 some text.
 }}
 {{zh|
 some text.
 }}
 {{ar|
 some text.
 }}
 

gives:

English: some text.
Español: some text.
Português: some text.
中文: some text.
العربية: some text.

Anyone know why? Rocket000(talk) 23:39, 23 August 2008 (UTC)

  • I don't know why, but this edit fixed it. Lupo 11:11, 26 August 2008 (UTC)
    • Thanks. Yeah, I notice this one didn't have the params explicitly named like most of the others, but I couldn't see how that would change anything, and I didn't want to edit a high use template for nothing. Rocket000(talk)

Internationalizing this template[edit]

I think this template should also be internationalized. Adding {{Language}} at the beginning and end would make English: look like Inglês: to a Portuguese user and Angle: to an Esperanto user. This should also be done with the other language templates. What do you think? ~pikolas [[mia diskuto]] 15:16, 16 June 2010 (UTC)

Problem with URLs[edit]

I have noticed that if any URLs are placed inside the template, no text is displayed at all. Can this problem be fixed? — Cheers, JackLee talk 11:06, 5 May 2011 (UTC)

Issues with other languages[edit]

I think there is an issue with this template causing issues with other languages.

I have been attempting to place the following in the description for File:Sarah Bernhardt by C.R. Savage.jpg

|description={{en|1=Photo of Sarah Bernhardt, take by Charles Roscoe Savage a French stage and early film actress.}}
{{fr|1=Portrait de l`actrice Sarah Bernhardt (1844-1923) par Charles Roscoe Savage (1832-1909)}}
{{es|1=Retrato de la actriz Sarah Bernhardt (1844-1923) por Charles Roscoe Savage (1832-1909)}}
{{it|1=Ritratto di attrice Sarah Bernhardt (1844-1923) per mano di Charles Roscoe Savage (1832-1909)}}
{{zh|1=人像摄影 从 Sarah Bernhardt (1844-1923) 通过 Charles Roscoe Savage (1832-1909), 剪下的部分}}

However, none of the other languages appear in the description, ever, unless I remove the {{en|}} template, then eerything works. I not sure what the issue is.--ARTEST4ECHO talk 18:13, 30 October 2013 (UTC)