Template:Unsigned/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Conformance with WP:DOC using AWB)
(Fix dead links)
 
(71 intermediate revisions by 48 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{UnsignedTemplates}}
{{tl|{{PAGENAME}}}} is used to label unsigned comments in a conversation.
{{tl|{{PAGENAME}}}} is 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>{{subst:unsigned|Jimbo Wales|11:15, Jun 1, 2005 (UTC)}}</nowiki></code>
<code><nowiki>{{subst:Unsigned|Example|11:15, 1 June 2005 (UTC)}}</nowiki></code>
will yield:
<small>—The preceding [[Wikipedia:Signatures|unsigned]] comment was added by [[User:Jimbo Wales|Jimbo Wales]] ([[User talk:Jimbo Wales|talk]] • [[Special:Contributions/Jimbo Wales|contribs]]){{#if:11:15, Jun 1, 2005 (UTC)|&#32;11:15, Jun 1, 2005 (UTC)|}}.</small><!-- Template:Unsigned -->


=== See also ===
will yield: {{Unsigned|Example|11:15, 1 June 2005 (UTC)}}
*{{tl|Unsigned2}} &mdash; same thing, arguments in reverse order
*{{tl|Unsigned3}}
*{{t1|Spa}} &mdash; for comments from [[Wikipedia:Single purpose account|single purpose accounts]]


=== 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 -->
[[ar:قالب:غير موقع]]
[[bg:Шаблон:Неподписано]]
[[be:Шаблён:Няма подпісу]]
[[de:Vorlage:Unsigned]]
[[es:Plantilla:Nofirmado]]
[[fa:الگو:امضا نشده]]
[[fr:Modèle:Non signé]]
[[he:Template:שכח לחתום]]
[[hsb:Předłoha:Unsigned]]
[[id:Templat:tanpattd]]
[[ka:თარგი:ხელმოუწერავი]]
[[kn:ಟೆಂಪ್ಲೇಟು:Unsigned]]
[[lt:Šablonas:Anon]]
[[nl:Sjabloon:Afzender]]
[[no:Mal:Usignert]]
[[pt:Predefinição:Não assinou]]
[[ru:Шаблон:Unsigned]]
[[sq:Stampa:Unsigned]]
[[fi:Malline:Allekirjoittamaton]]
[[ta:வார்ப்புரு:Unsigned]]
[[th:แม่แบบ:ไม่ประสงค์]]
[[uk:Шаблон:Непідписано]]
[[vi:Tiêu bản:Vô danh]]
[[sv:Mall:Osignerad]]
 
</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)