Nodyn:Age in years
Gwedd
0
This template is used on 3300 pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
Uses Lua: |
Usage
[golygu cod]{{Age in years|2000}} yields 23–24. {{Age in years|1900|1950}} yields 49–50.
Note that the template provides an age range: during the year 2015, someone born in 2000 is either 14 or 15 years old, depending on whether they have passed their birth date in the later year.
See also
[golygu cod]- Birth, death, age
- {{BirthDeathAge}} – combines functions of {{Birth-date}}, {{Birth date}}, {{Birth date and age}}, {{Birth year and age}}, {{Death-date}}, {{Death date}}, {{Death date and age}}, {{Death year and age}}
- {{Birth date}} – displays the date and related hidden metadata
- {{Birth date and age}} – same as {{Birth date}}, except that "(age ##)" appears after the birth date
- {{Birth date and age2}} – displays birth date, plus age as of a specified date, "(aged ##)" appears after the birth date
- {{Birth-date and age}} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)
- {{Birth year and age}} – year of birth and approximate age
- {{Birth based on age as of date}} – displays approximate birth year and current age; used when a dated reference mentions the age of a person as of the date of publication
- {{Birth date based on age at death}} – displays approximate birth year based on age at death (useful if exact birth date is not known, but age at death is)
- {{Death date}} – displays the date and related hidden metadata
- {{Death date and age}} – same as {{Death date}}, except that "(aged ##)" appears after the death date
- {{Death-date and age}} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)
- {{Death date and given age}} – displays death date and specified age (useful if exact birth date is not known, but age at death is)
- {{Death year and age}} – year of death and approximate age at death
- Age only
- {{Age}} – age based on the number of full years between two dates (or a specified date and current date)
- {{Age nts}} – like {{Age}}, but sorts correctly in sortable tables
- {{Age as of date}} – current age in years, based on a known age as of a specified date
- {{Age in years and days}} – full years and days between two dates (or a specified date and current date)
- {{Age in years and days textual version}} – for usage in text (uses "and" instead of the comma)
- {{Age in days}} – age in days between two dates (or a specified date and current date)
- {{Age in days nts}} – age in days; sorts correctly in sortable tables
Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:Age in years/doc. (golygu | hanes) Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Os gwelwch yn dda, ychwanegwch gategorïau a rhyngwicis at yr is-dudalen /doc. Is-dudalennau'r nodyn hwn. |