Template:Unsigned/Doc: Difference between revisions
Appearance
m fix typo |
m →Template data: typo |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
Use this template to mark unsigned comments left by other users, prompting them to sign their future comments. | Use this template to mark unsigned comments left by other users, prompting them to sign their future comments. | ||
{{unsigned|User}} | {{unsigned|User|1 January 2100}} | ||
=== Usage === | === Usage === | ||
In general, | In general, prefer to substitute this template rather than leaving it as-is, to match the behaviour of comments: | ||
{{code|lang=mediawiki|line=no|<nowiki>{{subst:unsigned|User}}</nowiki>}} | {{code|lang=mediawiki|line=no|<nowiki>{{subst:unsigned|User|1 January 2100}}</nowiki>}} | ||
<includeonly> | <includeonly> | ||
=== Template data === | === Template data === | ||
Line 18: | Line 18: | ||
"description": "The username of the user that left the comment.", | "description": "The username of the user that left the comment.", | ||
"type": "wiki-user-name", | "type": "wiki-user-name", | ||
"required": true | |||
}, | |||
"2": { | |||
"label": "Date", | |||
"description": "The date when the comment was left.", | |||
"type": "date", | |||
"required": true | "required": true | ||
} | } |
Latest revision as of 13:47, 16 August 2025
Use this template to mark unsigned comments left by other users, prompting them to sign their future comments.
- This is an unsigned comment left by User on 1 January 2100
Usage
In general, prefer to substitute this template rather than leaving it as-is, to match the behaviour of comments:
{{subst:unsigned|User|1 January 2100}}