Template:Unsigned: Difference between revisions

From electowiki
Content added Content deleted
(the first parameter (or a parameter by the name of "user") will be required by this template)
(Removing "ref" parameter and simplified template output)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><small>unsigned comment -- [[Special:Contributions/{{{1|{{{user|FIXME}}}}}}]]</small><ref>{{{ref|See [[Special:Contributions]] or the history of this page}}}</ref></includeonly><noinclude>
<includeonly><small>unsigned comment by [[Special:Contributions/{{{1|{{{user|UNKNOWN}}}}}}|{{{1|{{{user|UNKNOWN}}}}}}]] - {{{date|unknown timestamp}}} ([[Help:UTC timestamp|UTC]])</small></includeonly><noinclude>


<noinclude>
<noinclude>
Line 12: Line 12:
"description": "User name or the IP address of the user who didn't sign their comment"
"description": "User name or the IP address of the user who didn't sign their comment"
},
},
"ref": {}
"date": {
"label": "date/timestamp",
"description": "The timestamp typically generated by '~~~~' on a properly signed comment"
}
},
},
"description": "Template for signing otherwise unsigned comments"
"description": "Template for signing otherwise unsigned comments"
Line 26: Line 29:
# <code><nowiki>{{unsigned|user=RobLa}}</nowiki></code>
# <code><nowiki>{{unsigned|user=RobLa}}</nowiki></code>
#* Result: {{unsigned|user=RobLa}}
#* Result: {{unsigned|user=RobLa}}
# <code><nowiki>{{unsigned|user=RobLa|date=~~~~~}}</nowiki></code>

#* Result: {{unsigned|user=RobLa|date=07:18, 20 October 2021 (UTC)}}
== Footnotes ==
# <code><nowiki>{{unsigned|user=RobLa|date=07:18, 20 October 2021}}</nowiki></code>
<references/>
#* Result: {{unsigned|user=RobLa|date=07:18, 20 October 2021}}
</noinclude>
</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)