Difference between revisions of "Template:Fdate"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created as needed.) |
Shawndouglas (talk | contribs) m (Changed protection level for "Template:Fdate": As necessary ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(One intermediate revision by the same user not shown) | |
(No difference)
|
Latest revision as of 19:52, 1 April 2022
[edit] [ ] Template documentation
Usage
If a date is input as the first parameter, the template will format that date (use the second parameter to specify an output format - see template:date). If no date in input, the template will return nothing.
Example:
- "{{fdate|7/4/15}}" renders as: "4 July 2015"
- "{{fdate|7/4/15|dmy}}" renders as: "4 July 2015"
- "{{fdate|7/4/15|mdy}}" renders as: "July 4, 2015"
- "{{fdate|}}" yields: ""
- "{{fdate||dmy}}" yields: ""
- "{{fdate||mdy}}" yields: ""
The above documentation is transcluded from Template:Fdate/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |