Template:Unsigned/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Fix dead links)
 
(88 intermediate revisions by 65 users not shown)
Line 1: Line 1:
----
{{tl|{{PAGENAME}}}} is used to label unsigned comments in a conversation.
<includeonly>:''This template documentation is [[Wikipedia:Template doc page pattern|transcluded]] from [[{{FULLPAGENAME}}/doc]]'' [<span class="plainlinks">[{{fullurl:{{FULLPAGENAMEE}}/doc|action=edit}} edit]</span>]</includeonly>__NOTOC__
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{UnsignedTemplates}}
=== Purpose ===
* {{tl|unsigned}}
Used to label unsigned comments in a conversation.


=== Usage ===
=== Usage ===
<code>&#123;&#123;subst:unsigned|''user name''|''date''&#125;&#125;</code>
<templatedata>
;user name : name or IP of user who left comment
{
;date : datestamp from edit history (remember to label it UTC)
"description": "Labels unsigned comments in a conversation.",
"params": {
"1": {
"label": "User name or IP",
"type": "string/wiki-user-name",
"required": true,
"description": "Name or IP address of the user who left the comment. The value is case-sensitive."
},
"2": {
"label": "Time and date",
"type": "string",
"description": "Timestamp from the edit history."
}
}
}
</templatedata>


The datestamp from the edit history appears in your local time that is set in your preferences. <br>
The time stamps in the edit history list for any talk page appear in 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.
'''In order for the time to be UTC, adjust it using the difference you designated between the server time and local time.'''
:'''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.
 
<code><nowiki>{{subst:Unsigned|user name or IP|time, day month year (UTC)}}</nowiki></code>


=== Example ===
=== Example ===
Typing:
Typing:
<code><nowiki>{{unsigned|Jpgordon|09:20, Jun 17, 2005 (UTC)}}</nowiki></code>
<code><nowiki>{{subst:Unsigned|Example|11:15, 1 June 2005 (UTC)}}</nowiki></code>
will yield:
{{unsigned|Jpgordon|09:20, Jun 17, 2005 (UTC)}}


=== See also ===
will yield: {{Unsigned|Example|11:15, 1 June 2005 (UTC)}}
*{{tl|Unsigned2}} &mdash; same thing, arguments in reverse order
*{{tl|Unsigned3}}
*{{tl|Unsig}}


=== User Page Template ===
{{tls|tilde}}


<includeonly>
<includeonly>
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Wiki templates]]
[[Category:Internal link templates|Unsigned]]
 
<!-- ADD INTERWIKIS BELOW THIS LINE -->
[[be:Шаблён:Няма подпісу]]
[[de:Vorlage:Unsigned]]
[[es:Plantilla:Nofirmado]]
[[fr:Modèle:Non signé]]
[[hsb:Předłoha:Unsigned]]
[[ka:თარგი:ხელმოუწერავი]]
[[kn:ಟೆಂಪ್ಲೇಟು:Unsigned]]
[[nl:Sjabloon:Afzender]]
[[pt:Predefinição:Não assinou]]
[[ru:Шаблон:Unsigned]]
[[fi:Malline:Allekirjoittamaton]]
[[ta:வார்ப்புரு:Unsigned]]
[[vi:Tiêu bản:Vô danh]]
</includeonly>
</includeonly>

Latest revision as of 04:22, 7 March 2018

{{Unsigned/doc}} is used to label unsigned comments in a conversation.

Usage

<templatedata> { "description": "Labels unsigned comments in a conversation.", "params": { "1": { "label": "User name or IP", "type": "string/wiki-user-name", "required": true, "description": "Name or IP address of the user who left the comment. The value is case-sensitive." }, "2": { "label": "Time and date", "type": "string", "description": "Timestamp from the edit history." } } } </templatedata>

The time stamps in the edit history list for any talk page appear in 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.

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.

{{subst:Unsigned|user name or IP|time, day month year (UTC)}}

Example

Typing: {{subst:Unsigned|Example|11:15, 1 June 2005 (UTC)}}

will yield: — Preceding unsigned comment added by Example (talkcontribs) 11:15, 1 June 2005 (UTC)