User:Noa T'Nessa Levinson/Sandbox2: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Testing another templatedata thing) Tag: Reverted |
||
Line 1: | Line 1: | ||
< | <noinclude><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" | |||
] | |||
} | |||
} | |||
} | |||
</templatedata>[[Category:Adingo]]</noinclude> |
Revision as of 11:29, 20 April 2023
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 |