Template:Userlist

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search


Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Userlist/doc.

This template displays a list of user names.

Usage

{{Userlist |1= }}

Any namespace declaration is ignored and won't disturb; only items from the USER namespace can be used.

Template parameters

ParameterDescriptionDefaultStatus
1User identification (with or without namespace).emptysuggested
2, 3, ... nmore user namesemptyoptional
00 That's enough! More parameters can format the display output:0optional
nameFF or n
0n1 ... nn
(Global display name for user id) normally not useful if more than 1 file
individual display name(s)
emptyoptional
modFFF or ml
0m1 ... mn
Global code for namespace modification, like Ut, Uw, Uwt; Uc, Ud, Un
individual namespace modifications, e.g. mx=wt for {{Uwt}}
emptyoptional
wikiFF or wl
0w1 ... wn
Global ISO 639-1 code for a Wikipedia sisterprojekt
individual code parameter(s), e.g. wx=fr for {{ U...fr }}
emptyoptional
optFFF or o
0o1 ... on
Global option to prefix with the namespace with "+" or "-"
individual options
emptyoptional
linkFF or ll
0l1 ... ln
Global parameter for link suppression (link=n)
individual code parameter
emptyoptional
hilite! or hh
0h1 ... hn
(Global hilite tag) normally not useful if more than 1 file
CSS highlight tag letters as e.g. b, i, u, s, tt, big ...
emptyoptional
caseFF or cl
0c1 ... cn
Global code for lowercase and internationalizing (only when option "+" or "-")
possible values: l i n
emptyoptional
i18nFF or tl
0t1 ... tn
Global ISO 639-1 code for translating "user"
(when option=+/- and case=i/n)
emptyoptional
dirthe direction for the list output is horizontal; dir=V for a vertical list00Hoptional
Pother input, with P=P in pairs: 1/3/5/… =User, 2/4/6/… = Name/empty00Soptional

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 with w3= 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:
{{Userlist|Example|Example|×|p2=t}} renders as: Example, Example

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

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 }}
WWW 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}}

{{User4|Username}}

Username ( local | logs | global )

{{User5|Username}}

Username (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

{{User6|Username}}

Username (talk · contributions · Move log · Statistics · logs · block log)

{{User7|Username}}

Username (talk · contributions · user rights management)

{{User8|Username}}

Username (talkcontribsblock logfilter log)

{{User13|Username}}

Username (talk · contribs · logs · block log)

{{User14|Username}}

Username (talk · contributions (views) · deleted user contributions · recent activity (talk · project · deletion requests) · 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}}

taskscontribscountlogspage moves block user block logflag logglobal contribsflag bot

{{Checkuser|Username}}

Username (talk contribs Luxo's SUL deleted contribs logs block user block log )
  1. Interwiki template: Interwiki access (with 3=language code)

Be aware that other templates may use the parameter "editor" or "by" for the same purpose.