Template:Unsigned/Doc: Difference between revisions

DoggoBit (talk | contribs)
Created page with "Use this template to mark unsigned comments left by other users, prompting them to sign their future comments. {{#subst:unsigned|User}} === Usage === In general, prefere 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>}} <includeonly> === Template data === <templatedata> { "description": "Mark an unsigned comment left by another user.", "params": {..."
 
Malix (talk | contribs)
 
(2 intermediate revisions 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.


{{#subst:unsigned|User}}
{{unsigned|User|1 January 2100}}


=== Usage ===
=== Usage ===


In general, prefere to substitute this template rather than leaving it as-is, to match the behaviour of comments:
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
     }
     }