Difference between revisions of "Template:Fdate/doc"
Jump to navigation
Jump to search
imported>Zfish118 (←Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...') |
imported>Zfish118 (→Usage) |
||
| Line 6: | Line 6: | ||
Example: | Example: | ||
* "<nowiki>{{fdate|July-4-015}}</nowiki>" renders as: "{{fdate|July-4-2015}}" | * "<nowiki>{{fdate|July-4-015}}</nowiki>" renders as: "{{fdate|July-4-2015}}" | ||
| − | * "< | + | * "<nowiki>{{fdate|}}</nowiki>" yields: "{{fdate|}}" |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | | ||
Revision as of 22:26, 13 July 2015
| This is a documentation subpage for Template:Fdate. It contains usage information, categories and other content that is not part of the original template page. |
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|July-4-015}}" renders as: "July 2026"
- "{{fdate|}}" yields: ""