User:Ohconfucius/script/MOSNUM dates: Difference between revisions

Content deleted Content added
Line 66:
As also mentioned [[#Known_limitations|below]], the actions of the protection mechanism can be revealed in the event of the script stalling, and substitution markers may appear in the edit window. When this occurs, the user should abandon the action, reopen the edit window and reperform the edit.
 
===AutoOptional auto-formatting citation template dates===
Script default is without parameter, in which case date is aligned to the prevailing style, dmy or mdy.
 
[[Help:Citation Style 1|Citation Style 1]] and [[Help:Citation Style 2|2]] (collectively cs1|2) templates automatically render dates ({{para|date}}, {{para|access-date}}, {{para|archive-date}}, etc) in the style specified by this template. Because it is allowed by [[WP:MOSDATES]], the cs1|2 templates can automatically format dates in a variety of styles. Editors may choose how cs1|2 templates render dates by the use of {{para|cs1-dates|<{{var|keyword}}>}}.