• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Fdate

  • Template
  • Talk
  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]

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 | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Fdate&oldid=1241528268"
Last edited on 21 August 2024, at 18:00

Languages

    • অসমীয়া
    • 한국어
    • हिन्दी
    • Bahasa Melayu
    • Монгол
    • ਪੰਜਾਬੀ
    • 中文
    Wikipedia
    • Wikimedia Foundation
    • Powered by MediaWiki
    • This page was last edited on 21 August 2024, at 18:00 (UTC).
    • Content is available under CC BY-SA 4.0 unless otherwise noted.
    • Privacy policy
    • About Wikipedia
    • Disclaimers
    • Contact Wikipedia
    • Code of Conduct
    • Developers
    • Statistics
    • Cookie statement
    • Terms of Use
    • Desktop