Module talk:Age: Difference between revisions

Content deleted Content added
Birth year and age: new section
Birth year and age: example outputs
Line 128:
 
Could the module be modified so that the age can be calculated without the specific day? Currently we have {{tl|Birth year and age}} which does it, but {{tl|Birth date and age}} which can't, but there really is no reason to have these two be different templates. [[User:Gonnym|Gonnym]] ([[User talk:Gonnym|talk]]) 08:20, 16 April 2025 (UTC)
:Too much turmoil here at the moment for me to think about that. Meanwhile, a factor to consider is that the templates have very different outputs. Following shows two examples from [[Special:ExpandTemplates]]:<source lang=moin>
{{Birth year and age|1970}}
1970 (age&nbsp;54&ndash;55)
 
{{Birth date and age|1 Feb 1970}}
<span style="display:none"> (<span class="bday">1970-02-01</span>) </span>February 1, 1970<span class="noprint ForceAgeToShow"> (age&nbsp;55)</span>
</source>[[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 09:07, 16 April 2025 (UTC)