使用說明 編輯

呢個模會計距離今日嘅時間。

用法 編輯

代碼 編輯

一般 編輯

{{Start date and age|yyyy|mm|dd}}

完整 編輯

{{Start date and age|yyyy|mm|dd|br=yes}}

參數具體描述 編輯

參數 一定要填? 描述
yyyy 四位數字,指嘅係年份
mm 唔係 1至12之間嘅數字,指嘅係月份。如果係一位數,前面加唔加0都無所謂。
dd 唔係 1至31之間嘅數字,指嘅係日期。如果係一位數,前面加唔加0都無所謂。
br= 唔係 br設為yes嘅時候,日期同距離今日嘅時間之間就轉下一行;設定咗yes之外嘅任何值或者唔設定呢個參數嘅時候,就唔轉下一行。

例子 編輯

代碼 結果
{{Start date and age|2010|10|02}} 2010年10月2號, 13年之前 (2010-10-02)
{{Start date and age|2008|08|09}} 2008年8月9號, 15年之前 (2008-08-09)
{{Start date and age|1999|07}} 1999年7月, 24年之前 (1999-07)
{{Start date and age|2003}} 2003年, 21年之前 (2003)
{{Start date and age|2009|9|9|br=yes}} 2009年9月9號
14年之前
 (2009-09-09)