Template:UnsignedIP/doc: Difference between revisions

tag, tweaks
(Templateize)
(tag, tweaks)
Line 1: Line 1:
{{TOCright}}
{{TOCright}}
Please note that this template '''must be [[wp:Wikipedia:Substitution|substituted]]'''.  Replace <code><nowiki>{{unsignedIP}}</nowiki></code> with <code><nowiki>{{subst:unsignedIP}}</nowiki></code>.
Please note that this {{tag|People templates|template}} '''must be [[wp:Wikipedia:Substitution|substituted]]'''.  Do <u>not</u> merely use <code><nowiki>{{unsignedIP}}</nowiki></code> – instead, please use <code><nowiki>{{subst:unsignedIP}}</nowiki></code>.


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}}.
This template is used to append a '[[signature]]' to anonymous unsigned comments on a [[talk page]] from an '[[IP editor]]'; as no [[User page]] should exist for anonymous IPs.  This template is similar to {{template|unsigned}}.


==Usage==
==Usage==
<tt><nowiki>{{subst:unsignedIP|user name|date}}</nowiki></tt>
<pre><nowiki>{{subst:unsignedIP | IP address | time, day month year (UTC)}}</nowiki></pre>
;user name: name or IP of user who left comment
;IP address: [[IP address]] of user who left comment.
;date: datestamp from edit history (remember to label it UTC)
;time, date: time and date stamp from edit history.
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.'''


==Examples==
The time stamps in the edit history list for any [[talk page]] appear in [[wp:UTC|UTC]], or in the local time that is set in your preferences.  If you did not adjust the time in your preferences, then the times in the edit history list are in UTC.
;With date parameter
:'''Talk page times should always be in UTC.'''  So be sure to use UTC time when using this unsigned template.  Adjust the time, if necessary, using the difference you designated between the server UTC time and local time.  If this is too difficult to figure out, or you are in a hurry, then leave out the time, and only put in the date.
 
==Working examples==
;With time and date parameter(s)
Typing: <code><nowiki>{{subst:unsignedIP|255.255.255.255|11:15, 24 January 2008 (UTC)}}</nowiki></code> 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 [[Signature|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 -->


;Without date parameter
;Without time and date parameter(s)
Typing: <tt><code><nowiki>{{subst:unsignedIP|255.255.255.255}}</nowiki></code></tt> will yield:
Typing: <tt><code><nowiki>{{subst:unsignedIP|255.255.255.255}}</nowiki></code></tt> 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]]) </small><!-- Template:UnsignedIP -->
<small>— preceding [[Signature|unsigned]] comment added by [[Special:Contributions/255.255.255.255|255.255.255.255]] ([[User talk:255.255.255.255|talk]]).</small><!-- Template:UnsignedIP -->
 
{{Documentation|doc}}


==See also==
==See also==
*[[Wikipedia:Talk page]]
**[[Wikipedia:Talk page guidelines]]
*[[Wikipedia:Signatures]]
*[[Wikipedia:Signatures]]
*[[Wikipedia:Talk page guidelines]]
*[[Wikipedia:Talk page]]
{{Documentation|doc}}
[[Category:People templates]]