Difference between revisions of "Template:Fdate/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zfish118
imported>Zfish118
Line 5: Line 5:
  
 
Example:
 
Example:
* "<nowiki>{{fdate|July-4-015}}</nowiki>" renders as: "{{fdate|July-4-2015}}"
+
* "<nowiki>{{fdate|7/4/15}}</nowiki>" renders as: "{{fdate|7/4/15}}"
 
* "<nowiki>{{fdate|}}</nowiki>" yields: "{{fdate|}}"
 
* "<nowiki>{{fdate|}}</nowiki>" yields: "{{fdate|}}"
  

Revision as of 22:27, 13 July 2015

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|}}" yields: ""