Template:UnsignedIP/doc: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(fix cat display)
No edit summary
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
Please note that this template '''must be [[wp:SUBST|substituted]]'''. Replace <code><nowiki>{{unsignedIP}}</nowiki></code> with <code><nowiki>{{subst:unsignedIP}}</nowiki></code>.
Please note that this template '''must be [[wp:SUBST|substituted]]'''. Replace <code><nowiki>{{unsignedIP}}</nowiki></code> with <code><nowiki>{{subst:unsignedIP}}</nowiki></code>.


Used to sign anonymous unsigned comments, as no User page should exist for anonymous IPs.  This template is similar to {{tl|unsigned}}.
Used to append a 'signature' to anonymous unsigned comments, as no User page should exist for anonymous IPs.  This template is similar to {{tl|unsigned}}.


==Usage==
==Usage==
===All parameters===
<tt><nowiki>{{subst:unsignedIP|user name|date}}</nowiki></tt>
<tt><nowiki>{{subst:unsignedIP|user name|date}}</nowiki></tt>
;user name : name or IP of user who left comment
;user name: name or IP of user who left comment
;date : datestamp from edit history (remember to label it UTC)
;date: datestamp from edit history (remember to label it UTC)
The datestamp from the edit history appears in your local time that is set in your preferences.<br>
The datestamp from the edit history appears in your local time that is set in your preferences.<br>
'''In order for the time to be UTC, adjust it using the difference you designated between the server time and local time.'''
'''In order for the time to be UTC, adjust it using the difference you designated between the server time and local time.'''
Line 14: Line 13:
==Examples==
==Examples==
;With date parameter
;With date parameter
Typing: <tt><code><nowiki>{{subst:unsignedIP|255.255.255.255|11:15, 24 January 2008 (UTC)}}</nowiki></code></tt> will yield:
Typing: <code><nowiki>{{subst:unsignedIP|255.255.255.255|11:15, 24 January 2008 (UTC)}}</nowiki></code> will yield:


<small>—Preceding [[WikiIndex:Signatures|unsigned]] comment added by [[Special:Contributions/255.255.255.255|255.255.255.255]] ([[User talk:255.255.255.255|talk]]) 11:15, 24 January 2008 (UTC)</small><!-- Template:UnsignedIP -->
<small>—Preceding [[WikiIndex:Signatures|unsigned]] comment added by [[Special:Contributions/255.255.255.255|255.255.255.255]] ([[User talk:255.255.255.255|talk]]) 11:15, 24 January 2008 (UTC)</small><!-- Template:UnsignedIP -->
Line 30: Line 29:
   Copied from http://en.wikipedia.org/wiki/Template:UnsignedIP/doc
   Copied from http://en.wikipedia.org/wiki/Template:UnsignedIP/doc


[[Category:Templates]]
[[Category:Housekeeping templates]]

Revision as of 14:42, 18 September 2012

Template:TOCright Please note that this template must be substituted. Replace {{unsignedIP}} with {{subst:unsignedIP}}.

Used to append a 'signature' to anonymous unsigned comments, as no User page should exist for anonymous IPs. This template is similar to Template:Tl.

Usage

{{subst:unsignedIP|user name|date}}

user name
name or IP of user who left comment
date
datestamp from edit history (remember to label it UTC)

The datestamp from the edit history appears in your local time that is set in your preferences.
In order for the time to be UTC, adjust it using the difference you designated between the server time and local time.

Examples

With date parameter

Typing: {{subst:unsignedIP|255.255.255.255|11:15, 24 January 2008 (UTC)}} will yield:

—Preceding unsigned comment added by 255.255.255.255 (talk) 11:15, 24 January 2008 (UTC)

Without date parameter

Typing: {{subst:unsignedIP|255.255.255.255}} will yield:

—Preceding unsigned comment added by 255.255.255.255 (talk)

See also

 Copied from http://en.wikipedia.org/wiki/Template:UnsignedIP/doc