İçeriğe atla

Şablon:Açılış tarihi ve yaşı

Vikipedi, özgür ansiklopedi
Şablon belgelemesigör değiştir geçmiş temizle
Full syntax
{{Açılış tarihi ve yaşı|yyyy|mm|dd|df=yes|br=yes}} veya
{{Açılış tarihi ve yaşı|yyyy|mm|dd|df=yes|br=yes}}
Genel kullanım
{{Açılış tarihi ve yaşı|yyyy|mm|dd}} şunu gösterir: 4 Mart 2010 (16 yıl önce) (2010-03-04)
{{Açılış tarihi ve yaşı|yyyy|mm|dd|df=no}} şunu gösterir: 4 Mart 2010 (16 yıl önce) (2010-03-04)
Description of parameters
Parameter Description
yyyy Four digits indicating the year. The year must always appear in a 4-digits form.
mm A number between 1 to 12, indicating the month. Leading zeros in the number are ignored.
dd A number between 1 to 31, indicating the day of the month. Leading zeros in the number are ignored.
df= The optional parameter df can either be set to yes or anything other than yes. When set to yes, date will be displayed in DMY format: 4 March 2010. When set something other than yes date will be displayed in MD,Y format: March 4, 2010. Türkçe Vikipedi'de, genel kullanıma uygunluk sebebiyle varsayılan df değeri: yes. As for choosing the right format to use, consult Manual of Style (dates and numbers): Full date formatting.
br= The optional parameter br can either be set to yes or anything other than yes. When set to yes, a line break will be inserted between the date and the age. When set something other than yes or when this parameter is not included, a breaking space will be inserted between the date and the age. In either case, a semicolon separates the date and age, immediately before the line break or space.
SyntaxResult
{{Açılış tarihi ve yaşı|2010|01|02}}2 Ocak 2010 (16 yıl önce) (2010-01-02)
{{Açılış tarihi ve yaşı|2008|08|09}}9 Ağustos 2008 (18 yıl önce) (2008-08-09)
{{Açılış tarihi ve yaşı|2003|07|05}}5 Temmuz 2003 (23 yıl önce) (2003-07-05)
{{Açılış tarihi ve yaşı|2010|1|2|df=no}}2 Ocak 2010 (16 yıl önce) (2010-01-02)
{{Açılış tarihi ve yaşı|2008|8|9|df=no}}9 Ağustos 2008 (18 yıl önce) (2008-08-09)
{{Açılış tarihi ve yaşı|2003|7|5|df=no}}5 Temmuz 2003 (23 yıl önce) (2003-07-05)
{{Açılış tarihi ve yaşı|2009|9|9|br=yes}}9 Eylül 2009
(16 yıl önce
) (2009-09-09)
{{Açılış tarihi ve yaşı|2009}}2009 (17 yıl önce) (2009)
Today:
{{Açılış tarihi ve yaşı|2026|8|18}}
18 Ağustos 2026 (11 saat önce) (2026-08-18)
Yesterday:
{{Açılış tarihi ve yaşı|2026|8|17}}
17 Ağustos 2026 (35 saat önce) (2026-08-17)

Use in microformats

[kaynağı değiştir]

Şablon:UF-hcal-part