Template:AsOf
Jump to navigation
Jump to search
As of 25 December 2024[ref]
This documentation is transcluded from Template:AsOf/doc. (Edit | history)
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Note to editors: Please don't categorize this template by editing it directly. Instead, place the category in its documentation page, in its "includeonly" section.
Usage
{{AsOf|1|2|3|4|5|6|7}}
- param 1 is the year
- optional param 2 is the month
- optional param 3 is the day of the month
- optional named parameter alt=[text] is alternative display text (may include wiki markup)
- optional named parameter df=US produces American date format in displayed text
- optional named parameter lc=on gives lower-case-first output
- optional named parameter url=[URL] gives statement reference
Default text displayed: "[A/a]s of [date]"
Adds several categories to the page:
- Category:All articles containing potentially dated statements - (hidden on article page)
- Category:Articles containing potentially dated statements from [year]
- Category:Articles with invalid date parameter in template - (hidden on article page) - This is set if one above doesn't exist.
Examples