Module:Get article date format/doc
Appearance
| This is a documentation subpage for Module:Get article date format. It may contain usage information, categories and other content that is not part of the original module page. |
| This module is rated as beta. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected. |
| This module depends on the following other modules: |
| This module is required by Module:Format work |
Usage
[edit]Provide an article title as the value of |page= to get its explicit or implicit date format.
- explicit:
F j, Yif {{use mdy dates}}, orj F Yif {{use dmy dates}} is in use - implicit:
F j, Yif {{use American English}} is in use, orj F Y(used everywhere else globally)
For example:
{{#invoke:Get article date format|main
| page = Example
}}
Returns: j F Y
Alarming messages
[edit]If a supplied |page= is not valid (has no content (includes not existing)), the return will be the default j F Y.
The implicitly invoked Module:Find templates in use will display a preview warning if there is no active content, but the return will be the default.