858
edits
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> |
edits