Template:Unsigned/doc: Difference between revisions

From Path of Exile 2 Wiki
Jump to navigation Jump to search
mNo edit summary
>Vinifera7
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}


{{Wikipedia template}}
{{Lua|Module:Unsigned}}
 
This template creates a label used to provide attribution for an [[gphelp:Signatures|unsigned]] comment on a [[gphelp:Talk pages|talk page]].


==Usage==
==Usage==
The code
Use this template immediately following an unsigned comment on a talk page. This template should ''always'' be [[mw:Help:Substitution|substituted]].
: <code><nowiki>{{subst:Unsigned|Username|06:21, 14 March 2014 (UTC)}}</nowiki></code>
 
yields
Talk page comments should always be timestamped in UTC. To use this template effectively, you will first want to ensure that timestamps in edit history appear in UTC. Check your [[Special:Preferences#mw-prefsection-rendering|user preferences]] to make sure that the setting for time zone is set to UTC, which is the wiki default.
: {{Unsigned|Username|06:21, 14 March 2014 (UTC)}}
 
If possible, find the revision in edit history that was responsible for the unsigned comment. If you previously ensured that timestamps in edit history appear in UTC, this will allow you to copy the timestamp and username from edit history and paste it directly into the first unnamed parameter of this template.
 
<pre>{{subst:Unsigned|14:20, 24 September 2016‎ Example}}</pre>
 
Alternatively, enter the editor's username as the first unnamed parameter. Enter the timestamp of the comment, if known, as the second unnamed parameter.
 
<pre>{{subst:Unsigned|Example|14:20, 24 September 2016‎}}</pre>
 
It is not necessary to enter "(UTC)" following the timestamp. The template will insert it automatically.
 
===Examples===
Copying the timestamp and username from edit history:
 
<pre>{{subst:Unsigned|14:20, 24 September 2016‎ Example}}</pre>
 
{{Unsigned|14:20, 24 September 2016‎ Example}}
 
Entering the username and timestamp as separate parameters:
 
<pre>{{subst:Unsigned|Example|14:20, 24 September 2016‎}}</pre>
 
{{Unsigned|Example|14:20, 24 September 2016‎}}
 
Entering just the username, when the timestamp is unknown:
 
<pre>{{subst:Unsigned|Example}}</pre>
 
{{Unsigned|Example‎}}


{{Documentation categories|
{{Documentation categories|

Revision as of 00:15, 11 January 2021

This subpage provides documentation for Template:Unsigned.

Lua logo

This template uses the following modules:

This template creates a label used to provide attribution for an unsigned comment on a talk page.

Usage

Use this template immediately following an unsigned comment on a talk page. This template should always be substituted.

Talk page comments should always be timestamped in UTC. To use this template effectively, you will first want to ensure that timestamps in edit history appear in UTC. Check your user preferences to make sure that the setting for time zone is set to UTC, which is the wiki default.

If possible, find the revision in edit history that was responsible for the unsigned comment. If you previously ensured that timestamps in edit history appear in UTC, this will allow you to copy the timestamp and username from edit history and paste it directly into the first unnamed parameter of this template.

{{subst:Unsigned|14:20, 24 September 2016‎ Example}}

Alternatively, enter the editor's username as the first unnamed parameter. Enter the timestamp of the comment, if known, as the second unnamed parameter.

{{subst:Unsigned|Example|14:20, 24 September 2016‎}}

It is not necessary to enter "(UTC)" following the timestamp. The template will insert it automatically.

Examples

Copying the timestamp and username from edit history:

{{subst:Unsigned|14:20, 24 September 2016‎ Example}}

—Preceding unsigned comment added by Example (talkcontribs) 14:20, 24 September 2016‎ (UTC)

Entering the username and timestamp as separate parameters:

{{subst:Unsigned|Example|14:20, 24 September 2016‎}}

—Preceding unsigned comment added by Example (talkcontribs) 14:20, 24 September 2016‎ (UTC)

Entering just the username, when the timestamp is unknown:

{{subst:Unsigned|Example}}

—Preceding unsigned comment added by Example‎ (talkcontribs)