Template:Unsigned: Difference between revisions

From electowiki
Content added Content deleted
(Adding link to user page)
(Removing "ref" parameter and simplified template output)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<small>unsigned comment by [[User:{{1}}|{{{1}}}]]</small>
<includeonly><small>unsigned comment by [[Special:Contributions/{{{1|{{{user|UNKNOWN}}}}}}|{{{1|{{{user|UNKNOWN}}}}}}]] - {{{date|unknown timestamp}}} ([[Help:UTC timestamp|UTC]])</small></includeonly><noinclude>

<noinclude>
<templatedata>
{
"params": {
"1": {
"aliases": [
"user"
],
"label": "User name",
"description": "User name or the IP address of the user who didn't sign their comment"
},
"date": {
"label": "date/timestamp",
"description": "The timestamp typically generated by '~~~~' on a properly signed comment"
}
},
"description": "Template for signing otherwise unsigned comments"
}
</templatedata>

== Examples ==

# <code><nowiki>{{unsigned}}</nowiki></code>
#* Result: {{unsigned}}
# <code><nowiki>{{unsigned|8.8.8.8}}</nowiki></code>
#* Result: {{unsigned|8.8.8.8}}
# <code><nowiki>{{unsigned|user=RobLa}}</nowiki></code>
#* Result: {{unsigned|user=RobLa}}
# <code><nowiki>{{unsigned|user=RobLa|date=~~~~~}}</nowiki></code>
#* Result: {{unsigned|user=RobLa|date=07:18, 20 October 2021 (UTC)}}
# <code><nowiki>{{unsigned|user=RobLa|date=07:18, 20 October 2021}}</nowiki></code>
#* Result: {{unsigned|user=RobLa|date=07:18, 20 October 2021}}
</noinclude>

Latest revision as of 07:50, 29 January 2024


Template for signing otherwise unsigned comments

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
User name1 user

User name or the IP address of the user who didn't sign their comment

Unknownoptional
date/timestampdate

The timestamp typically generated by '~~~~' on a properly signed comment

Unknownoptional

Examples

  1. {{unsigned}}
    • Result: unsigned comment by UNKNOWN - unknown timestamp (UTC)
  2. {{unsigned|8.8.8.8}}
    • Result: unsigned comment by 8.8.8.8 - unknown timestamp (UTC)
  3. {{unsigned|user=RobLa}}
    • Result: unsigned comment by RobLa - unknown timestamp (UTC)
  4. {{unsigned|user=RobLa|date=~~~~~}}
    • Result: unsigned comment by RobLa - 07:18, 20 October 2021 (UTC) (UTC)
  5. {{unsigned|user=RobLa|date=07:18, 20 October 2021}}
    • Result: unsigned comment by RobLa - 07:18, 20 October 2021 (UTC)