Template:Unsigned: Difference between revisions

Removing "ref" parameter and simplified template output
(Adding the "ref" parameter)
(Removing "ref" parameter and simplified template output)
 
(5 intermediate revisions by the same user not shown)
Line 1:
<includeonly><small>unsigned comment --by [[Special:Contributions/{{{1|{{{user|UNKNOWN}}}}}}|{{{1|{{{user|UNKNOWN}}}}}}]]</small><ref> - {{{refdate|unknown timestamp}}} ([[SpecialHelp:ContributionsUTC timestamp|UTC]])</{{{1}}}}}}small></refincludeonly><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>