More actions
Add TemplateData. |
Proton One (talk | contribs) No edit summary |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 8: | Line 8: | ||
;Syntax | ;Syntax | ||
: {{T|Cleanup|reason|3=date= | : {{T|Cleanup|reason|3=date= month year}} | ||
:: reason (optional) - Reason why the page need cleanup, If omitted defaults to ''unspecified''. | :: reason (optional) - Reason why the page need cleanup, If omitted defaults to ''unspecified''. | ||
:: date (optional) - Month when the banner is placed | :: date (optional) - Month when the banner is placed | ||
| Line 43: | Line 43: | ||
"date": { | "date": { | ||
"label": "Date", | "label": "Date", | ||
"description": "Date the banner is added or updated. In month year format.", | "description": "Date the banner is added or updated. In month year format. Shows Semantic MediaWiki code in preview, got fixed on save.", | ||
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", | ||
"suggested": true | "suggested": true, | ||
"example": "June 2025", | |||
"type": "date" | |||
} | } | ||
}, | }, | ||