Template talk

Difference between revisions of "Userbox-records"

Line 1: Line 1:
 
== Userbox records (v2)==
 
== Userbox records (v2)==
{{ping|WikiLucas00|Pamputt}} hello,<br>I changed the template names to make it compatible with babel module. I think we would gain from tagging every userpages with these {{tl|user records}} templates, its [[Template:Userbox-records/doc|/doc sub-page]] provides the rightful syntax. It now work as follow :
+
{{ping|WikiLucas00|Pamputt}} hello,<br>I changed the template names to make it compatible with babel module. It now work as follow :
 
<pre>
 
<pre>
 
{{#babel:uk-N|ru-N|en-4|be-2|de-1|no-1|records-ukr}}
 
{{#babel:uk-N|ru-N|en-4|be-2|de-1|no-1|records-ukr}}
Line 9: Line 9:
 
{{user records-ukr}}
 
{{user records-ukr}}
 
<br clear="all">
 
<br clear="all">
The template's code will evolve further in the future to provide more insight. Ideally, we should also be able to set an option which hides the visual but keeps categorizing the userpage, but this is for another day. [[User:Yug|Yug]] ([[User talk:Yug|talk]]) 14:21, 8 February 2021 (UTC)
+
The template's code will evolve further in the future to provide more insight and to facilitate connecting contributors. Titodutta rightfully added code to automatically group users into categories per language, ex : [[:Category:Speakers in ben]], [[:Category:Speakers in fra]]. It will be useful when we create portals. Ideally, we should also be able to set an option which hides the visual but keeps categorizing the userpage, but this is for another day.  The [[Template:Userbox-records/doc|/doc sub-page]] provides the rightful syntax and a list of existing templates to use or expand. [[User:Yug|Yug]] ([[User talk:Yug|talk]]) 14:21, 8 February 2021 (UTC)

Revision as of 14:44, 8 February 2021

Userbox records (v2)

@WikiLucas00 & Pamputt hello,
I changed the template names to make it compatible with babel module. It now work as follow :

{{#babel:uk-N|ru-N|en-4|be-2|de-1|no-1|records-ukr}}
{{user records-ukr}}
Babel user information
uk-N Для цього користувача українська мова є рідною.
ru-N Русскийродной язык этого участника.
en-4 This user has near native speaker knowledge of English.
be-2 Ведаю беларускую мову пасярэдне.
de-1 Dieser Benutzer beherrscht Deutsch auf grundlegendem Niveau.
no-1 Denne brukeren har grunnleggende kjennskap til norsk (bokmål).
ukr
Users by language
ukr


The template's code will evolve further in the future to provide more insight and to facilitate connecting contributors. Titodutta rightfully added code to automatically group users into categories per language, ex : Category:Speakers in ben, Category:Speakers in fra. It will be useful when we create portals. Ideally, we should also be able to set an option which hides the visual but keeps categorizing the userpage, but this is for another day. The /doc sub-page provides the rightful syntax and a list of existing templates to use or expand. Yug (talk) 14:21, 8 February 2021 (UTC)