Template:Userlist
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}}
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=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
- ↑ Interwiki template: Interwiki access (with 3=language code)
Be aware that other templates may use the parameter "editor" or "by" for the same purpose.