Difference between revisions of "Template:Unsigned/doc"
Jump to navigation
Jump to search
(→If the comment was not signed: Notice the colours of the links. Ironic? Or just coincidental?) |
(→Examples: "Usage" section uses "username". (Was *this* ironic?)) |
||
Line 10: | Line 10: | ||
===Examples=== | ===Examples=== | ||
====If the comment was not signed and the user has a | ====If the comment was not signed and the user has a userpage==== | ||
;Input | ;Input | ||
:<pre>{{subst:unsigned|Example}}</pre> | :<pre>{{subst:unsigned|Example}}</pre> | ||
Line 21: | Line 21: | ||
:<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[User:Example|Example]] before 19:20, 13 April 2008 (PDT).</small> | :<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[User:Example|Example]] before 19:20, 13 April 2008 (PDT).</small> | ||
====If the comment was not signed and the user does not have a | ====If the comment was not signed and the user does not have a userpage==== | ||
;Input | ;Input | ||
:<pre>{{subst:unsigned|Example}}</pre> | :<pre>{{subst:unsigned|Example}}</pre> |
Latest revision as of 22:40, 27 September 2013
Use
This is for signing comments that the original author has forgotten to sign.
Usage
Remember to use subst: on it, so you include it entirely.
{{subst:unsigned|username[|~~~~~]}}
The last parameter is optional.
Examples
If the comment was not signed and the user has a userpage
- Input
{{subst:unsigned|Example}}
- Output
- -- the preceding unsigned comment was written by Example.
- Input
{{subst:unsigned|Example|~~~~~}}
- Output
- -- the preceding unsigned comment was written by Example before 19:20, 13 April 2008 (PDT).
If the comment was not signed and the user does not have a userpage
- Input
{{subst:unsigned|Example}}
- Output
- -- the preceding unsigned comment was written by Example.
- Input
{{subst:unsigned|Example|~~~~~}}
- Output
- -- the preceding unsigned comment was written by Example before 19:20, 13 April 2008 (PDT).
If the comment was signed but no timestamp was used
- Input
{{subst:unsigned|before=~~~~~}}
- Output
- -- the preceding comment was written before 19:20, 13 April 2008 (PDT).