Template talk:User ar

From WikiEducator
Jump to: navigation, search

Contents

Thread titleRepliesLast modified
Some comments213:50, 14 December 2009

Some comments

evaluating {{{1|{{PAGENAME}}}}} syntax
Dear friends;
a) Lets assume that a user with the « user_name » « First name Last_name » wants to be listed by the last name. Then he can use the syntax {{template_name|Last_name}} and will be listed in the relevant category according to the sort order of the « last_name » .
b) If one would use the shorter syntax {{template_name}} then one would be listed in the relevant category according to the sort order of the first character of the « user_name » .
c) Please remember that the common usage of [[category:category_name]] will list the user (in an English wiki) at the letter « U » according to the sort order of the string « User:user_name » .
The {{{1|{{PAGENAME}}}}} syntax provides some flexibility for a) and b). However if the community wants to avoid c) then one should agree about what to do. I suggest that some of the earliest contibutors to « WikiEducator » should be permitted to change the relevant user pages. Best regards « לערי ריינהארט » at commons facebook wikieducator.org 13:17, 13 December 2009 (UTC)


Sample templates can be found at:

  1. commons:category:User templates
  2. commons:meta:category:User templates commons:meta:template:Babel
  3. omegawiki template:Babel-1 etc.

User language templates should be bilingual.


portability of code
Behind this concept is the generation (writing) of wiki code which can be copied and pasted between wikis and will preserve the same functionality. It needs to handle also BiDirectional text issues and relate to the directionality of the wiki. Unfortunately most of my work two, tree years ago was on wikis wich are discontinued today or is deleted. There are still some examples left. Listing them would take some hours. Documenting them for newcomers would take some weeks. Best regards « לערי ריינהארט » at commons facebook wikieducator.org 15:29, 13 December 2009 (UTC)

לערי ריינהארט (talk)15:05, 13 December 2009

Thanks for your comments on the subject of sort order of user names. It's not clear to me how the {{{1|{{PAGENAME}}}}} syntax works, but I do see what results. Thanks for showing us how to use it.

It seems to me that most would agree that user categories, such as the language ones to which this talk page is associated, should be sorted by user name. There are some categories (such as the subcategories of specialties) that are a mixture of content and users. I think in these, there is some benefit to having all of the users grouped together under "U". Will think about this some more.

I will create a link to this discussion from the categories task relating to developing procedures for implementing categories. As you suggest, we will need to have some agreement within the community on how to handle this situation.

Also, I appreciate your work on the issues of bidirectionality.

Warm regards, Alison

ASnieckus (talk)01:22, 14 December 2009

Thanks for the answer!
a1) beside {{template_name|Last_name}} one should use
a2) {{template_name|Last_name First name}} which would make much more sense.


I created some test pages at user:First name Last name, user:First name Last name/sandbox and template:User eo.
template:User ar, template:User eo and template:User he are using now two additional parameters:
<div style="float: {{{float|left}}}; border:solid lightgrey 1px; margin: 1px;" dir="{{{dir|ltr}}}">.
Both « float » and « dir » have the old default values. The English text is ending with an « .&lrm; » and will be displayed properly regardless of directionality.
template:User eo is using « {{BASEPAGENAME}} » not « {{PAGENAME}} » but this realy does not make much sense because subpages would not be sorted proprly.
There are some tests at the page user:First name Last name/sandbox#tests_about_templates which every body can use as a sandbox. user:First name Last name should be a sandbox name as well.
Best regards « לערי ריינהארט » at commons facebook wikieducator.org 13:50, 14 December 2009 (UTC)

לערי ריינהארט (talk)13:50, 14 December 2009