Difference between revisions of "Template:Unsigned/doc"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(→‎Examples: "Usage" section uses "username". (Was *this* ironic?))
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
===Examples===
===Examples===


====If the comment was not signed====
====If the comment was not signed and the user has 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 [[User: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 [[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
:<pre>{{subst:unsigned|Example}}</pre>
;Output
:<small>-- the preceding {{#if:{{{before|}}}||unsigned}} comment was written by [[Special:Contributions/Example|Example]].</small>
 
;Input
:<pre>{{subst:unsigned|Example|~~~~~}}</pre>
;Output
:<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====
====If the comment was signed but no timestamp was used====

Latest revision as of 21: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).