Difference between revisions of "Template:Unsigned/doc"
Jump to navigation
Jump to search
m (Template:Documentation/Unsigned moved to Template:Unsigned/doc) |
(→Examples: "Usage" section uses "username". (Was *this* ironic?)) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
===Use=== | ===Use=== | ||
This is for | This is for signing comments that the original author has forgotten to sign. | ||
===Usage=== | ===Usage=== | ||
Line 8: | Line 8: | ||
The last parameter is optional. | The last parameter is optional. | ||
===Example=== | ===Examples=== | ||
====If the comment was not signed and the user has a userpage==== | |||
;Input | |||
:<pre>{{subst:unsigned|Example}}</pre> | |||
;Output | |||
:<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[User:Example|Example]].</small> | |||
;Input | |||
:<pre>{{subst:unsigned|Example|~~~~~}}</pre> | |||
;Output | |||
:<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 userpage==== | |||
;Input | ;Input | ||
:<pre>{{subst:unsigned|Example}}</pre> | :<pre>{{subst:unsigned|Example}}</pre> | ||
;Output | ;Output | ||
:{{unsigned|Example | :<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[Special:Contributions/Example|Example]].</small> | ||
;Input | ;Input | ||
:<pre>{{subst:unsigned|Example|~~~~~}}</pre> | :<pre>{{subst:unsigned|Example|~~~~~}}</pre> | ||
;Output | ;Output | ||
:{{unsigned|Example|19:20, 13 April 2008 (PDT)}} | :<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[Special:Contributions/Example|Example]] before 19:20, 13 April 2008 (PDT).</small> | ||
====If the comment was signed but no timestamp was used==== | |||
;Input | |||
:<pre>{{subst:unsigned|before=~~~~~}}</pre> | |||
;Output | |||
:{{unsigned|before=19:20, 13 April 2008 (PDT)}} |
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).