ഫലകം:Age for infant
ദൃശ്യരൂപം
[തിരുത്തുക] []
ഫലകത്തിന്റെ വിവരണം
| This template uses Lua: |
This template displays an age appropriate for an infant: months and days up to one year, years and months up to three years, and years beyond.
Usage
[തിരുത്തുക]{{age for infant|abbr= yes/no|YEAROFBIRTH|MONTHOFBIRTH|DAYOFBIRTH}}
{{subst:age for infant|abbr= yes/no|YEAROFBIRTH|MONTHOFBIRTH|DAYOFBIRTH|CMPYEAR|CMPMONTH|CMPDAY}}
- abbr - if set to yes days are displayed as "dys", months as "mos", etc., etc. If set to no or undefined, the template displays normally.
- DAYOFBIRTH - the day the infant was born
- MONTHOFBIRTH - the month in which the baby was born
- YEAROFBIRTH - the year the baby was born, in four digits
- CMPDAY - the day to compare to, rather than the current day
- CMPMONTH - the month to compare to, rather than the current month
- CMPYEAR - the year to compare to, rather than the current year
Examples
[തിരുത്തുക]Wikipedia's current date is 2025-11-03.
{{age for infant|2025|10|2}}→ 1 മാസം 1 ദിവസം{{age for infant|2025|1|1}}→ 10 മാസം 2 ദിവസം{{age for infant|2023|10|2}}→ 2 വർഷം 1 മാസം{{age for infant|2020|1|1}}→ 5 വർഷം
| മുകളിൽ കാണുന്ന വിവരണം ഫലകം:Age for infant/doc എന്ന ഉപതാളിൽ നിന്ന് ഉൾപ്പെടുത്തിയിട്ടുള്ളതാണ്. (തിരുത്തുക | നാൾവഴി) താങ്കൾക്ക് പരീക്ഷണങ്ങൾ ഫലകത്തിന്റെ എഴുത്തുകളരി (നിർമ്മിക്കുക) താളിലോ testcases (നിർമ്മിക്കുക) താളിലോ നടത്താവുന്നതാണ്. ദയവായി വർഗ്ഗങ്ങളും ബഹുഭാഷാകണ്ണികളും /വിവരണം ഉപതാളിൽ മാത്രം ഇടുക. ഈ ഫലകത്തിന്റെ ഉപതാളുകൾ. |