— Preceding unsigned comment added by an unknown user

Template documentation


Usage edit

A wrapper for {{unsigned}}, it takes input copied and pasted directly from the history screen as the first unnamed parameter. Preferences must be set to display time in UTC.

"{{xsign|22:06, 12 July 2010 User}}" → "— The preceding unsigned comment was added by User (talk) 22:06, 12 July 2010 (UTC)" [1]

"{{xsign|22:06, 2 July 2010 User}}" → "— The preceding unsigned comment was added by User (talk) 22:06, 2 July 2010 (UTC)" [2]


{{subst:xsign|22:58, 4 January 2010 Xyz7}}

{{subst:xsign|22:58, 14 January 2010 Xyz7}}

{{subst:xsign|22:58, 4 February 2010 Xyz7}}

{{subst:xsign|22:58, 14 February 2010 Xyz7}}

{{subst:xsign|22:58, 4 March 2010 Xyz7}}

{{subst:xsign|22:58, 14 March 2010 Xyz7}}

{{subst:xsign|22:58, 4 April 2010 Xyz7}}

{{subst:xsign|22:58, 14 April 2010 Xyz7}}

{{subst:xsign|22:58, 4 May 2010 Xyz7}}

{{subst:xsign|22:58, 14 May 2010 Xyz7}}

{{subst:xsign|22:58, 4 June 2010 Xyz7}}

{{subst:xsign|22:58, 14 June 2010 Xyz7}}

{{subst:xsign|22:58, 4 July 2010 Xyz7}}

{{subst:xsign|22:58, 14 July 2010 Xyz7}}

{{subst:xsign|22:58, 4 August 2010 Xyz7}}

{{subst:xsign|22:58, 14 August 2010 Xyz7}}

{{subst:xsign|22:58, 4 September 2010 Xyz7}}

{{subst:xsign|22:58, 14 September 2010 Xyz7}}

{{subst:xsign|22:58, 4 October 2010 Xyz7}}

{{subst:xsign|22:58, 14 October 2010 Xyz7}}

{{subst:xsign|22:58, 4 November 2010 Xyz7}}

{{subst:xsign|22:58, 14 November 2010 Xyz7}}

{{subst:xsign|22:58, 4 December 2010 Xyz7}}

{{subst:xsign|22:58, 14 December 2010 Xyz7}}

gives:

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 January 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 January 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 February 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 February 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 March 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 March 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 April 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 April 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 May 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 May 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 June 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 June 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 July 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 July 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 August 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 August 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 September 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 September 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 October 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 October 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 November 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 November 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 4 December 2010 (UTC).

The preceding unsigned comment was added by Xyz7 (talk • contribs) 22:58, 14 December 2010 (UTC).

The preceding unsigned comment was added by UserX of Blanks (talk • contribs) 22:58, 27 AugTry 2010 (UTC).

Internal technical details edit

The template distinguishes between month name lengths. For selection of the month it is taken into account that days of the month can be 1 or 2 digits.

  • "{{sub|22:06, 12 July 2010 User|10|3}}" gives "Jul" [3]
  • "{{sub|22:06, 2 July 2010 User|10|3}}" gives "uly" [4]

For the 1- and 2-digit day of the month the same substring parameters are used, giving either an excess space before the user name, removed by making the user name a named parameter of Template:Unsigned, or an excess space between the time/date and "(UTC)", explicitly removed by Template:Trim. For the rendering this trimming is not needed, it is just for avoiding excess spaces in the wikitext with substitution.

  • "{{subr|22:06, 12 July 2010 User|19}}" → " User" [5]
  • "{{subr|22:06, 2 July 2010 User|19}}" → "User" [6]
  • "{{padleft:|19|22:06, 12 July 2010 User}}" → "22:06, 12 July 2010" [7]
  • "{{padleft:|19|22:06, 2 July 2010 User}}" → "22:06, 2 July 2010 " [8]
  • "{{unsigned|User|22:06, 12 July 2010 (UTC)}}" gives "— The preceding unsigned comment was added by User (talk) 22:06, 12 July 2010 (UTC)" [9]
  • "{{unsigned|User|22:06, 2 July 2010 (UTC)}}" gives "— The preceding unsigned comment was added by User (talk) 22:06, 2 July 2010 (UTC)" [10]

Substituted:

See also edit