Şablon:Yaş
Görünüm
Bu belgeleme içeriği Şablon:Yaş/belge sayfasından (değiştir | geçmiş) yansıtılmaktadır. Modül üzerinde deneme yapmak için kullanabileceğiniz deneme tahtası yoktur, test senaryosu yoktur.
Bu şablon iki belirtilmiş tarih arasındaki tam yılları sayıya çevirir. Eğer değişkenin ikinci tarafı girlmezse, belirtilmiş bir tarihle bugünün tarihi arasındaki tam yılları sayıya çevirir.
- Sözdizim:
- {{yaş|yıl1|ay1|gün1|yıl2|ay2|gün2}} veya
- {{yaş|yıl1|ay1|gün1}}
- Örnekler:
- {{yaş|1989|7|23|2003|7|14}}, "13" olur
- {{yaş|1989|7|23}}, "37" olur
İngilizce-->
- When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
- Örnek: {{subst:age|1989|7|23|2003|7|14}}
- Not:
- This template does not check for incorrect input:
- {{yaş|1980|7|14|1993|6|233}} returns "12" (surplus days do not count as extra months)
- {{yaş|1980|7|14|1993|88|14}} returns "13" (surplus months do not count as extra years)