Template:Unsigned2/doc
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
This template is the same as {{Unsigned}}, but with the first two unnamed parameters (the date and username) in the reverse order. This may make it easier to use when copying the information from the page history or from a diff.
Parameters
Parameter name | Required? | Default value | Description |
---|---|---|---|
Anonymous parameter 1 |
Yes | (n/a) | Date (or in fact any additional text). |
Anonymous parameter 2 |
Yes | (n/a) | Username. |
unsigned |
No | unsigned |
If provided, replaces the word "unsigned" in the message. |
The unsigned
parameter is intended for cases where the comment was "manually" signed (using plain text instead of the magical four tildes: ~~~~). If the commenter did not provide a date, it makes sense to use unsigned=undated
; if they provided a username and a date, you still might want to use his template with unsigned=
to provide readers a link to the commenter's user page and contributions. See the testcases below.
Note that if you have set a timezone in your preferences, the time shown to you in a page history or diff may be different from the time shown to other users. This may make the date provided by this template look wrong to some users. This effect can be minimized (although not avoided completely) by simply not using the "time" part of the date (as shown in the testcases). Alternatively, you can include the time with the correct timezone (although this information is not shown in page histories and diffs, so you'll have to do more work).
Usage
{{subst:Unsigned2|date|username}} {{subst:Unsigned2|date|username|unsigned=}}
See the template's testcases:
Correct
1=
on the date is optional.
unsigned=undated
)
unsigned
)
unsigned=unsigned
)
Incorrect
{{subst:Unsigned2}}
{{subst:Unsigned2|26 January 2017}}
See also
- Special:WhatLinksHere/Template:Unsigned2 – check for non-substituted calls to this template
- {{Unsigned}} – other version of this template
- Help:Talk pages — talk page to be used to discuss wiki work with other users.