Template talk:Babel

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

Documentation subtemplate[edit]

I created a documentation sub-template Babel/doc. {{Editprotected}} In the <noinclude> ... </noinclude> section, please replace the text AFTER the Template:{{Babel}} a.k.a. br clear template with {{Documentation}}. LeheckaG (talk) 13:59, 30 August 2008 (UTC)[reply]

✓ Done  — Mike.lifeguard | @en.wb 13:49, 31 August 2008 (UTC)[reply]
Thank you - much appreciated. LeheckaG (talk) 16:19, 1 September 2008 (UTC)[reply]

Search user languages[edit]

{{Editprotected}} "Search user languages" refers to Category:User which is redirected to Category:Users. But I think Category:Users by language would be better. --BáthoryPéter (talk) 12:00, 26 December 2009 (UTC)[reply]

✓ Done Kwj2772 (msg) 13:10, 26 December 2009 (UTC)[reply]

Parameters[edit]

{{Editprotected}} Could someone please replace solid 1px; with solid {{{solid|1}}}px;, width:248px; with width: {{{width|248}}}px;, margin-left:1em; with margin-left:{{{left|1}}}em, margin-bottom:0.5em; with margin-bottom:{{{bottom|0.5}}}em; and clear: {{{align|right}}} with clear: {{{clear|{{{align|right}}}}}} and add {{{extra-css|}}} into the style area?--F. F. Fjodor (talk) 23:01, 2 March 2011 (UTC)[reply]

✓ Done But I didn't changed {{{align|right}}} to {{{clear|{{{align|right}}}}}} because two parameters can conflict. Best regards. – Kwj2772 (msg) 07:01, 6 March 2011 (UTC)[reply]

Colours[edit]

Is there any special purpose for colours here on Commons differing of those used on Wikipedia? --18:18, 8 June 2011 (UTC), Utar (talk)

Both templates do the same. I don't see any reason to have duplicate templates. Blond (talk) 22:02, 28 September 2012 (UTC)[reply]

I deleted Template:User Babel. It was not used by anybody. --Jarekt (talk) 01:38, 1 October 2012 (UTC)[reply]

Edit request to fix broken Babel extension usage link (and improve readability)[edit]

{{Editprotected}}

Line 2, inside Template:Deprecated.

Original markup to replace
{{[[mw:Extension:Babel#Usage Extension:Babel|#babel]]}}
Proposed markup
{{tlc|[[mw:Extension:Babel#Usage|#babel]]}}
Alternative proposed markup (not preferred)
{{[[mw:Extension:Babel#Usage|#babel]]}}

2001:2003:54FA:D2:0:0:0:1 04:02, 18 August 2017 (UTC)[reply]

{{Tlc}} cannot be used here, so only the alternative proposition is valid. I’ve therefore struck out the first suggestion. — Speravir – 23:33, 22 September 2017 (UTC)[reply]
For better readibilitiy I would instead suggest
<code>&#123;&#123;[[:mw:Extension:Babel#Usage|#babel]]&#125;&#125;</code>
(Copy this line as it appears, do not copy from the wiki source here!) which results in the wanted
{{#babel}}
— Speravir – 00:14, 23 September 2017 (UTC)[reply]
✓ Done ---Hedwig in Washington (mail?) 02:15, 30 September 2017 (UTC)[reply]

not case sensive[edit]

Babel user information
de
bitmap‑2
Users by language
Babel user information
de-N Dieser Benutzer spricht Deutsch als Muttersprache.
bg-2 Този потребител владее български език на средно ниво.
Users by language

The new template is NOT case sensitive

{{Babel|de|BG-2}}
{{#Babel:de|BG-2}}

The first one adds correctly Template:User_BG-2, but the "new" one doesn't! (it adds Template:User_bg-2)

therefore: {{deprecated|note=Please use {{#babel}} instead.<br/>eg {{#babel:nl|en-4|de-2|fr-1}}}} is inappropiate.

JoKalliauer (talk) 11:41, 22 April 2018 (UTC)[reply]
This template is deprecated indeed, which doesn’t mean that it can’t be superior in some edge cases. It works just like the old one always except if the template name is a valid language code, either upper- or lower-case. (Technically you could change {{User bg-1}} to any content, and the new version would still show the Bulgarian language knowledge, while the old would show whatever you wrote in the template. It’s case sensitive if the template name is not a valid language code.) —Tacsipacsi (talk) 14:46, 22 April 2018 (UTC)[reply]
Babel user information
de-N Dieser Benutzer spricht Deutsch als Muttersprache.
bitmap‑2
Users by language
Thanks I will use {{User RG-2}} which redirects to {{User BG-2}}. JoKalliauer (talk) 15:11, 22 April 2018 (UTC)[reply]
Checkmark This section is resolved and can be archived. If you disagree, replace this template with your comment. JoKalliauer (talk) 15:11, 22 April 2018 (UTC)