Jump to content

Template:Unsigned/Doc: Difference between revisions

From NixOS Wiki
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
     }
     }

Revision as of 23:27, 14 June 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}}