| 👁 Lua logo | 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 | |
0 | 0 That's enough! More parameters can format the display output: | 0 | optional | |
nameFF or n | (Global display for user id) normally not useful if more than 1 file individual display name(s) | empty | optional | |
modFFF or ml | Global code for namespace ification, like Ut, Uw, Uwt; Uc, Ud, Un individual namespace modifications, e.g. mx=wt for {{Uwt}} | empty | optional | |
wikiFF or wl | Global ISO 639-1 code for a pedia sisterprojekt individual code parameter(s), e.g. wx=fr for {{ U | ... | fr }} | empty | optional | |
optFFF or o | Global to prefix with the namespace with "+" or "-" individual options | empty | optional | |
linkFF or ll | Global parameter for suppression (link=n)individual code parameter | empty | optional | |
hilite! or hh | (Global tag) normally not useful if more than 1 file CSS highlight tag letters as e.g. b, i, , tt, ... | empty | optional | |
caseFF or cl | Global code for lower and internationalizing (only when option "+" or "-") possible values: l i n | empty | optional | |
i18nFF or tl | Global ISO 639-1 code for lating "user" (when option=+/- and case=i/n) | empty | optional | |
dir | the ection for the list output is horizontal; dir=V for a vertical list | 00H | optional | |
P | other input, with P=P in airs: 1/3/5/… =User, 2/4/6/… = Name/empty | 00S | 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}}
Examples
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=itall 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=wto the talk pages is specified,
- an individual assignement
px=tto ~commenswiki will link to the user page and not to the talk page; - when wanted, the individual parameter
px=wtis 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 |
|---|---|---|---|
|
{{|Example}} |
Example links to user page | ✔ | |
|
{{|Example}} |
Example conditional link to contributions page | ✔ | |
|
{{|Example}} |
Example links to German user page | = | |
| {{Ue|Example}} | Example links to English user page (not yet a template) | = | |
|
{{|Example}} |
Example does not link to user page; no echo function | – | |
|
{{|Example}} |
Example links to user talk page | ✔ | |
|
{{|Example}} |
Example trails the given name with "~commonswiki" | – | |
|
{{|Example}} |
Example links to the talk page of "~commonswiki" user | – | |
|
{{|Example}} |
Example Lua based list of one or more users | ✔ | {{ Ul }} |
| WWW Combinations: | |||
|
{{|Example}} |
Example (talk) — Customizable template | ✔ | |
|
{{|Example}} |
Example (talk) | ✔ | |
|
{{|Example}} |
Example (talk · contribs) | ✔ | |
|
{{|Example|:en:}} |
:en:Example (talk | contribs) | ~ | |
|
{{|Example}} |
Example (talk · contributions · Statistics) | ✔ | |
|
{{|Example}} |
Example (talk · contributions · Move log · block log · uploads · Abuse filter log) block user | ✔ | {{Vandal}} |
|
{{|Example}} |
Example ( local | logs | global ) | – | |
|
{{|Example}} |
Example (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information) (assign permissions) | – | |
|
{{|Example}} |
Example (talk · contributions · Move log · Statistics · logs · block log) | ✔ | |
|
{{|Example}} |
Example (talk · contributions · user rights management) | ✔ | |
|
{{|Example}} |
Example (talk • contribs • block log • filter log) | – | |
|
{{|Example}} |
Example (talk · contribs · logs · block log) | – | |
|
{{|Example}} |
Example (talk · contributions (views) · deleted user contributions · deleted uploads · recent activity (talk · project · deletion requests) · logs · block log · global contribs · CentralAuth) | – | |
|
{{|Example}} |
Example (talk · contribs · count · global contribs) | ✔ | |
|
{{|Example}} |
Example (talk · contribs · deleted contribs · logs · edit filter log · block user · block log) | ✔ | |
|
{{|Example}} |
Example (talk • contribs • blocks • protections • deletions • moves • rights • rights changes) | – | {{ A }} |
|
{{|Example}} |
Example (talk • contribs • rename user) | – | |
|
{{|Example}} |
Example (contribs) | – | |
|
{{|Example}} |
tasks • contribs • count • logs • page moves • block user • block log • flag log • global contribs • flag bot | – | |
|
{{|Example}} |
Example (talk • contribs • Luxo • SUL • deleted contribs • logs • block user • block log • checkuser) | – | |
- ↑ Interwiki template: Interwiki access (with 3=language code)
Be aware that other templates may use the parameter "editor" or "by" for the same purpose.
