Template:Uif
A very simple template to check a user name whether it must be treated specially
Usage
{{Uif |1= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | user name, in any format, or empty | empty | suggested | |
2 | any text to be displayed instead of the user name | param1 | optional | |
3 | any text to be displayed after or instead of the user name | empty | optional | |
4 | "+" for a linked, "-" for a not-linked namespace prefix (only English) | empty | optional | |
l | an ISO 639 language code if the user is in another Wikipedia | empty | optional | |
m | a possible modification | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Relies on:
Template:U; Module:Igenmod anly when prefixed
Examples
{{ Uif }} | | missing parameter, does nothing | |||||||||||||||||||
{{ Uif | Example }} | Example | this is the standard | |||||||||||||||||||
{{ Uif | plain text }} | plain text | only parameter 3 | |||||||||||||||||||
{{ Uif | Example | parameter 3 }}> | Example parameter 3 | parameter 3 is always possible | |||||||||||||||||||
{{ Uif | Example | talk:{{Ut|Example|}} }} | Example talk:Example | 3rd parameter contains a link | |||||||||||||||||||
{{ Uif | Example | l = de }} | Example | language code for interwiki link | |||||||||||||||||||
{{ Uif | Example | m = wt }} | Example | template modification (see below) | |||||||||||||||||||
{{ Uif | &&Example }} | Example | prefixed (see below) | |||||||||||||||||||
{{ Uif | Example | distext }} | distext | with a display text | |||||||||||||||||||
{{ Uif | Example | + }} | User:Example | parameter 2 is "+" | |||||||||||||||||||
{{ Uif | Example | - }} | User:Example | parameter 3 is "-" | |||||||||||||||||||
{{ Uif | Example | distext | addtext | - | l = en | m = t }} | User:distext addtext | with all options | |||||||||||||||||||
{{ Uif | {{Creator|Wikidata=Q9068}} }} |
|
Modification
Template:U can be modified to Uc, Ud, Ul, Un, Ut, Uv, Uw, Uwt, Uif, Ult
or any other username template with a value of parameter m=
Namespace
±
("+" or "-" sign) to precede the user name with the namespace User:
- + ("plus" sign) to make
User:
a part of the link - - ("minus" sign) to precede
User:
as plain text
(if both signs are specified, "+" is used and "-" is ignored)
The +/- parameter can as well be specified with parameter 2, 3 or 4.
Prefixing
With a special prefix the value of parameter 1 can be flagged that it is textual instead of a user name. This prefix is removed before the text is displayed.
Such a prefix consists of 2 characters, either ()
, <>
, []
or {}
can be used, or ((
, &&
, <<
(easy on German keyboards), ~~
, ..
(easy on most keyboards).