跳至內容

模板: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}}"顯示為:""