Template:Unsigned/Doc: Difference between revisions

DoggoBit (talk | contribs)
m fix typo
DoggoBit (talk | contribs)
m document date
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, 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
     }
     }