Template talk:En

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

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)[reply]
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)[reply]

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

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)[reply]

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)[reply]
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)[reply]
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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

For example:

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

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)[reply]
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)[reply]

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)[reply]

  • I don't know why, but this edit fixed it. Lupo 11:11, 26 August 2008 (UTC)[reply]
    • 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)[reply]

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)[reply]

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)[reply]

I see all of them. Can anybody reproduce this issue? --Jarekt (talk) 00:42, 21 December 2014 (UTC)[reply]

Remove category[edit]

{{Editrequest}} Can we remove it from Category:Commons-en? It does not belong there. Alan Liefting (talk) 07:15, 20 December 2014 (UTC)[reply]

Can't be done from here. Template:Internationalization template doc adds each of the language-code templates to the corresponding Commons-* category ({{En}} to Category:Commons-en, {{De}} to Category:Commons-de, etc.). Template talk:Internationalization template doc would be the place to raise this issue. Powers (talk) 20:02, 23 December 2014 (UTC)[reply]

Edit request: Heavily used template[edit]

{{Edit request}} Please add <noinclude>{{heavily used template}}</noinclude> to the top of this high use template (example). Riley Huntley (talk) 08:48, 30 April 2016 (UTC)[reply]

✓ Done--Jarekt (talk) 13:15, 2 May 2016 (UTC)[reply]

Edit request to format the documentation[edit]

See also: Template talk:Internationalization template doc#Wrapping in Template:Documentation {{Edit request}} Please add {{Documentation}} inside the last <noinclude> tag:

<noinclude>{{heavily used template}}</noinclude>{{description|1=en|2={{{1|<noinclude>abc</noinclude>}}}|inline={{{inline|}}}}}<noinclude>
{{Documentation|content=
{{internationalization template doc|de|es|eo|fr|nl}}
}}
</noinclude>

—⁠andrybak (talk) 16:37, 7 June 2019 (UTC)[reply]

✓ Done Wrapped with both 1= and content= parameters set so the buttons at the top also work properly --Majora (talk) 22:15, 6 July 2019 (UTC)[reply]

Such templates should link to which Wikidata items? (XX icon) or (Lang-XX), or create items independently?[edit]

Maybe the section title is a little Chinglish but I'm still interesting in it, on Wikidata there are several templates' items related to this topic, as an example, German may have Template:De icon (Q6231596) and Template:Lang-de (Q5901420), which set of those items match Commons' language code templates better? --Liuxinyu970226 (talk) 03:29, 14 May 2020 (UTC)[reply]

@Rocket000, Lupo, AVRS, Jarekt, and Majora: ^^ --Liuxinyu970226 (talk) 03:32, 14 May 2020 (UTC)[reply]
There is very little difference between those templates on en-wiki and our {{De}} is also a bit different than either of them. Right now {{De}} is connected to Template:Lang-de (Q5901420) and that seem like a better choice than the other one. --Jarekt (talk) 04:28, 14 May 2020 (UTC)[reply]

Change in layout[edit]

Is it my impression or the font has recently increased and turned to bold? I would swear that it was the same than other languages, but I don't know. Or maybe a chage in preferences:appearance I didn't choose and didn't know how to reverse? ※Sobreira ◣◥ 〒 @「parlez01:08, 17 May 2023 (UTC)[reply]