Difference between revisions of "Template:Test2"
Jump to navigation
Jump to search
(Created page with "<templatedata> { "description": "Label unsigned comments in a conversation.", "params": { "user": { "label": "User's name", "type": "wi...") |
|||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| + | |||
| + | <noinclude> | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | + | "description": "Label unsigned comments in a conversation.", | |
| − | + | "params": { | |
| − | + | "user": { | |
| − | + | "label": "User's name", | |
| − | + | "type": "wiki-user-name", | |
| − | + | "required": true, | |
| − | + | "description": "User name of person who forgot to sign their comment.", | |
| − | + | "aliases": [ | |
| − | + | "1" | |
| − | + | ] | |
| − | + | }, | |
| − | + | "date": { | |
| − | + | "label": "Date", | |
| − | + | "suggested": true, | |
| − | + | "description": { | |
| − | + | "en": "Timestamp of when the comment was posted, in YYYY-MM-DD format." | |
| − | + | }, | |
| − | + | "aliases": [ | |
| − | + | "2" | |
| − | + | ], | |
| − | + | "autovalue": "{{subst:#time:Y-m-d}}" | |
| − | + | }, | |
| − | + | "year": { | |
| − | + | "label": "Year", | |
| − | + | "type": "number" | |
| − | + | }, | |
| − | + | "month": { | |
| − | + | "label": "Month", | |
| − | + | "inherits": "year" | |
| − | + | }, | |
| − | + | "day": { | |
| − | + | "label": "Day", | |
| − | + | "inherits": "year" | |
| − | + | }, | |
| − | + | "comment": { | |
| − | + | "required": false | |
| − | + | } | |
| − | + | }, | |
| − | + | "sets": [ | |
| − | + | { | |
| − | + | "label": "Date", | |
| − | + | "params": [ | |
| − | + | "year", | |
| − | + | "month", | |
| − | + | "day" | |
| − | + | ] | |
| − | + | } | |
| − | + | ], | |
| − | + | "maps": { | |
| − | + | "ExampleConsumer": { | |
| − | + | "foo": "user", | |
| − | + | "bar": [ | |
| + | "year", | ||
| + | "month", | ||
| + | "day" | ||
| + | ], | ||
| + | "quux": [ | ||
| + | "date", | ||
| + | [ | ||
| + | "day", | ||
| + | "month" | ||
| + | ], | ||
| + | [ | ||
| + | "month", | ||
| + | "year" | ||
| + | ], | ||
| + | "year" | ||
| + | ] | ||
| + | } | ||
| + | }, | ||
| + | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | </noinclude> | ||
Latest revision as of 15:28, 1 February 2021
Label unsigned comments in a conversation.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| User's name | user 1 | User name of person who forgot to sign their comment. | User | required |
| Date | date 2 | Timestamp of when the comment was posted, in YYYY-MM-DD format.
| Unknown | suggested |
| Year | year | no description | Number | optional |
| Month | month | no description | Number | optional |
| Day | day | no description | Number | optional |
| Comment | comment | no description | Unknown | optional |