Template:Userlist
![]() | Uses Lua: |
Usage
{{Userlist |1= }}
Any namespace declaration is ignored and won't disturb; only items from the USER namespace can be used.
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | User identification (with or without namespace). | empty | suggested | |
2, 3, ... n | more user names | empty | optional | |
| That's enough! More parameters can format the display output: | optional | ||
name or n | (Global display name for user id) normally not useful if more than 1 file individual display name(s) | empty | optional | |
mod or m | Global code for namespace modification, like Ut, Uw, Uwt; Uc, Ud, Un individual namespace modifications, e.g. mx=wt for {{Uwt}} | empty | optional | |
wiki or w | Global ISO 639-1 code for a Wikipedia sisterprojekt individual code parameter(s), e.g. wx=fr for {{ U | ... | | fr }} | empty | optional | |
opt or o | Global option to prefix with the namespace with "+" or "-" individual options | empty | optional | |
link or l | Global parameter for link suppression (link=n )individual code parameter | empty | optional | |
hilite or h | (Global hilite tag) normally not useful if more than 1 file CSS highlight tag letters as e.g. b, i, u, tt , big ... | empty | optional | |
case or c | Global code for lowercase and internationalizing (only when option "+" or "-") possible values: l i n | empty | optional | |
i18n or t | Global ISO 639-1 code for translating "user" (when option=+/- and case=i/n) | empty | optional | |
dir | the direction for the list output is horizontal; dir=V for a vertical list | H | optional | |
P | other input, with P=P in pairs: 1/3/5/… =User, 2/4/6/… = Name/empty | S | optional |
Additional information
The template is intended to be used in the following namespaces: the User namespace
The template is intended to be used by the following user groups: all users
Relies on:
Main template code {{U/main}}
See also
Note
- For every global value, valid for all items, an idividual value has priority; if it is specified,
- it is valid for that item. An empty individual value suspends the global value for that item.
- Example: with
w=it
all users are linked to the it:Wp; but withw3=
not the third item.
- When the list changes, that some entries are removed, keeping the empty positions let keep the numbering: e.g.
- ...|user1|user2|user3|... can be changed to ...|user1| |user3|... without need for renumbering.
- The "p" options cannot be combined: when a global assignement
p=w
to the talk pages is specified,
- an individual assignement
px=t
to ~commenswiki will link to the user page and not to the talk page; - when wanted, the individual parameter
px=wt
is needed.
Pseudo user names
Like a user name can be specified, preferably at the last positions
- + or
-
(a plus sign, or a minus sign) to require globally the display with namespace(s)
- {{Ul|Example|+}} renders as: User:Example
- × (the multiplication sign) to avoid the conjunctional "and" before the last file name:
Other examples
Standard list
Example, FAKEuser, Me~commonswiki, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1~commonswiki, Username, Username~commonswiki and Vectorizer
- the same with 3times invisible ~commonswiki:
Example, FAKEuser, Me, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1, Username, Username and Vectorizer
- the last one without the final conjunction:
Example, FAKEuser, Me, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1, Username, Username, Vectorizer
- some are without talk pages:
Example, FAKEuser, Me, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1, Username, Username and Vectorizer
- without the redlinks:
Example, FAKEuser, Me, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1, Username, Username and Vectorizer
- with stroking instead:
Example, FAKEuser, Me, Testuser (kjetil r), Testuser-MM, Testuser1, Testuser1, Username, Username and Vectorizer
Vertical list
✦ Example
✦ FAKEuser
✦ Me~commonswiki
✦ Testuser (kjetil r)
✦ Testuser-MM
✦ Testuser1
✦ Testuser1~commonswiki
✦ Username
✦ Username~commonswiki
✦ Vectorizer
✦ first tester
Different options
User and user talk links
Code | Result | [1] | Shortcut |
---|---|---|---|
{{U|Username}} |
Username links to user page | ✔ | |
{{Uc|Username}} |
Username conditional link to contributions page | ✔ | |
{{Ud|Username}} |
Username links to German user page | = | |
{{Ue|Username}} | Username links to English user page (not yet a template) | = | |
{{Un|Username}} |
Username does not link to user page; no echo function | – | |
{{Ut|Username}} |
Username links to user talk page | ✔ | |
{{Uw|Username}} |
Username trails the given name with "~commonswiki" | – | |
{{Uwt|Username}} |
Username links to the talk page of "~commonswiki" user | – | |
{{Userlist|Username}} |
Username Lua based list of one or more users | ✔ | {{ Ul }} |
Combinations: | |||
{{UL2.0|Username}} |
Username (talk) — Customizable template | ✔ | |
{{Ult|Username}} |
Username (talk) | ✔ | |
{{User|Username}} |
Username (talk · contribs) | ✔ | |
{{Uv|Username|:en:}} |
:en:Username (talk | contribs) | ~ | |
{{User2|Username}} |
Username (talk · contributions · Statistics) | ✔ | |
{{User3|Username}} |
Username (talk · contributions · Move log · block log · uploads · Abuse filter log) | ✔ | {{Vandal}} |
{{User6|Username}} |
Username (talk · contributions · Move log · Statistics · logs · block log) | ✔ | |
{{User7|Username}} |
Username (talk · contributions · user rights management) | ✔ | |
{{User8|Username}} |
Username (talk • contribs • block log • filter log) | – | |
{{User13|Username}} |
Username (talk · contribs · logs · block log) | – | |
{{User14|Username}} |
Username (talk · contributions · deleted user contributions · recent activity · logs · block log · global contribs · CentralAuth) | – | |
{{User21|Username}} |
Username (talk · contribs · count · global contribs) | ✔ | |
{{Userlinks|Username}} |
Username (talk · contribs · deleted contribs · logs · edit filter log · block user · block log) | ✔ | |
{{Admin|Username}} |
Username (talk • contribs • blocks • protections • deletions • moves • rights • rights changes) | – | {{ A }} |
{{UserSUL|Username}} |
Username (talk • contribs • rename user) | – | |
{{BotUser|Username}} |
Username (contribs) | – | |
{{Newbot|Username}} |
tasks • contribs • count • logs • page moves • block user • block log • flag log • global contribs • flag bot | – | |
{{Checkuser|Username}} |
Username (talk • contribs • Luxo's • SUL • deleted contribs • logs • block user • block log ) | – |
- ↑ Interwiki template: Interwiki access (with 3=language code)
Be aware that other templates may use the parameter "editor" or "by" for the same purpose.