Template talk:Welcome-foreign
Add topicSection header treatment
[edit]The template currently generates two section headings, one above the English text, and a second one above the foreign text. The former is contained in the template code, and the foreign header is in the individual language-specific subpage. These languages subpages normally contain a level three heading in the foreign language, aside from a couple of subpages that have no heading.
Currently, use of the template adds two section headers to the page, one in English (typically, "Welcome!") at the top, and one in the user language (e.g., French: "Bienvenue!") above the foreign text, both of them at level 3 (subsection headers). Having just one section header would be more consistent with most of the other welcome templates. A combination of the two expressions might be nice, such as: Welcome! — Bienvenue! for French, Welcome! — ¡Bienvenido! for Spanish, and so on, but would be more involved to implement.
The section headings should be standardized to level two, at least for the top heading. The Spanish welcome template, {{subst:welcome-foreign|es}}, for example, currently generates the Spanish heading === Bienvenido! === with the Spanish text, because that's what is found in the Spanish subpage as of this moment. This handling also makes it easy to have exceptions to the rule, in case some language should have different section header treatment from the others.
An alternative would be to keep two separate headings, with "Welcome!" at the top as an H2 header over the English text, followed by the foreign heading as an H3 header over the foreign text. That would be my preference, both for user esthetics, as well as the fact that it is easier to implement. Mathglot (talk) 20:19, 7 June 2021 (UTC)
Multi colon escape
[edit]This template works fine and doesn't generate lint errors when transcluded. However, the template itself has a multi-colon escape, and I wonder if there is a way to fix it within the template, without messing up how it works. Specifically:
did you know there is a [[:{{{lang|{{{1|fr}}}}}}:|Wikipedia in {{ {{{|safesubst:}}}#language:{{{lang|{{{1|fr}}}}}}|en}}]]?
expands to
did you know there is a [[::|Wikipedia in English]]?
Automatically change depending on gender
[edit]Some languages have words that change depending on the gender of the noun in question, and I was wondering if we could change the {{Welcome-foreign}} templates (the ones that would require it, anyway) to automatically change contents depending on if the user has set their preferred gender in their preferences. Here's what I think we should do, using Portuguese as an example:
| − | Olá, {{BASEPAGENAME}}, [[Wikipedia: | + | Olá, {{BASEPAGENAME}}, [[Wikipedia:Welcoming committee/Welcome to Wikipedia|bem-vind{{gender:{{BASEPAGENAME}}|o|a|o(a)}} à Wikipédia]]! Apesar de esforços para melhorar a Wikipédia serem sempre bem recebidos, infelizmente suas contribuições não foram escritas em um nível de inglês bom o suficiente para ser útil. Você parece ser mais familiarizad{{gender:{{BASEPAGENAME}}|o|a|o(a)}} com o Português; sabia que existe uma [[:pt:|Wikipédia em português]]? Talvez você prefira contribuir lá em vez de aqui. De qualquer forma, bem-vind{{gender:{{BASEPAGENAME}}|o|a|o(a)}} ao projeto e obrigado(a) por seus esforços! Se precisar de ajuda, por favor, sinta-se livre para me comunicar em minha página de discussão.</nowiki> |
Output when used on a user who has their preferred gender set to "female" -- notice the feminine forms applied automatically: Olá, (user), bem-vinda à Wikipédia! Apesar de esforços para melhorar a Wikipédia serem sempre bem recebidos, infelizmente suas contribuições não foram escritas em um nível de inglês bom o suficiente para ser útil. Você parece ser mais familiarizada com o Português; sabia que existe uma Wikipédia em português? Talvez você prefira contribuir lá em vez de aqui. De qualquer forma, bem-vinda ao projeto e obrigado(a) por seus esforços! Se precisar de ajuda, por favor, sinta-se livre para me comunicar em minha página de discussão.
Thoughts? Gommeh 🎮 20:53, 5 July 2025 (UTC)
Standardize/unify headings
[edit]The headings produced by the template are not quite standardized. For example, Chinese produces one level-two header (I don't know if Chinese is the only example):
Extended content |
|---|
Welcome![edit]Hello, Welcome-foreign, and welcome to Wikipedia! While efforts to improve Wikipedia are always welcome, unfortunately your contributions are not written in an English that is good enough to be useful. You appear to be more familiar with Chinese; did you know there is a Wikipedia in Chinese? You may prefer to contribute there instead. In any case, welcome to the project, and thank you for your efforts! If you need help, please feel free to notify me on my talk page. ~ rusty meow ~ 19:04, 12 May 2026 (UTC)
您好,Welcome-foreign。歡迎來訪英文版的維基百科!雖然我們隨時歡迎您在英文版維基百科編輯,但是您執筆所使用的英文可能並未達到英文版維基百科所需求的水準。若是您不介意的話,您可以在中文維基百科進行編輯。最後,感謝您參加維基百科。 您好,Welcome-foreign。 欢迎来访英文版的维基百科!虽然我们随时欢迎您在英文版维基百科编辑,但是您执笔所使用的英文可能并未达到英文版维基百科所需求的水准。若是您不介意的话,您可以在中文维基百科进行编辑。最后,感谢您参加维基百科。 ~ rusty meow ~ 19:04, 12 May 2026 (UTC) |
In contrast, Spanish produces a level two header with two level-three headers beneath it:
Extended content |
|---|
Welcome![edit]Hello, Welcome-foreign, and welcome to Wikipedia! While efforts to improve Wikipedia are always welcome, unfortunately your contributions are not written in an English that is good enough to be useful. You appear to be more familiar with Spanish; did you know there is a Wikipedia in Spanish? You may prefer to contribute there instead. In any case, welcome to the project, and thank you for your efforts! If you need help, please feel free to notify me on my talk page. ~ rusty meow ~ 19:04, 12 May 2026 (UTC)
¡Bienvenido(a)![edit]¡Hola Welcome-foreign, bienvenido(a) a Wikipedia! Si bien todos los esfuerzos para mejorar la Wikipedia son bien recibidos, desdichadamente su nivel de inglés no parece idóneo para hacer contribuciones de utilidad, o las contribuciones no están escritas en inglés. ¿Sabía que existe una Wikipedia en español? Quizás usted prefiera contribuir ahí. De cualquiera forma, reciba la más cordial bienvenido(a) a Wikipedia y nuestro agradecimiento por esforzarse. Si necesita ayuda, puede notificármelo en mi página de discusión. ~ rusty meow ~ 19:04, 12 May 2026 (UTC) |
I think these such all be unified so that there is a level-two header and two (or more, if in the case of Simplified/Traditional Chinese) level-three headers below them; if there's no objection, I'll implement this when I have the time to. Thanks! ~ rusty meow ~ 19:04, 12 May 2026 (UTC)