Template:Unsigned/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(→‎Usage: Added on an entry's sensitivity to case, per an instance at Talk:Feminism#Marriage and other missing topics and [http://en.wikipedia.org/w/index.php?title=Talk:Feminism&diff=555707004&oldid=555704375].)
(Added my best guess as to the correct <templatedata> blob for this template, based on spec.templatedata.json in MW:Extension:TemplateData)
Line 31: Line 31:


<includeonly>
<includeonly>
<templatedata>
{
"description": "Labels unsigned comments in a conversation.",
"params": {
"1": {
"label": "User name",
"type": "string/wiki-user-name",
"required": true,
"description": "User name of person who forgot to sign their comment."
},
"2": {
"label": "Date",
"type": "string",
"description": {
"en": "Timestamp of when the comment was posted."
}
}
},
}
</templatedata>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Username internal link templates]]
[[Category:Username internal link templates]]
</includeonly>
</includeonly>

Revision as of 07:34, 21 May 2013

Template:Subst only Template:UnsignedTemplates

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

Usage

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

user name or IP
name or IP of user who left comment. The value is case-sensitive.
time, date
time and date stamp from edit history.

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.

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)

See also

Template:Signatures