แม่แบบ:Fdate
หน้าตา
การใช้งาน
[แก้]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 กรกฎาคม 2558"
- "{{fdate|7/4/15|dmy}}" renders as: "4 กรกฎาคม 2558"
- "{{fdate|7/4/15|mdy}}" renders as: "4 กรกฎาคม 2558"
- "{{fdate|}}" yields: ""
- "{{fdate||dmy}}" yields: ""
- "{{fdate||mdy}}" yields: ""