模板: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.
範例
[編輯]- "{{fdate|7/4/15}}"顯示為:"4 July 2015"
- "{{fdate|7/4/15|dmy}}"顯示為:"4 July 2015"
- "{{fdate|7/4/15|mdy}}"顯示為:"July 4, 2015"
- "{{fdate|}}"顯示為:""
- "{{fdate||dmy}}"顯示為:""
- "{{fdate||mdy}}"顯示為:""
上述文件嵌入自Template:Fdate/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |