Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: Graziano on November 14, 2023, 17:39:51

Title: Is it possible to enter how old a person was at the time of death on the persona
Post by: Graziano on November 14, 2023, 17:39:51
Is it possible to enter how old a person was at the time of death on the personal card?
Title: Re: Is it possible to enter how old a person was at the time of death on the persona
Post by: Zurga on November 14, 2023, 18:02:43
Not with Cygnus Editor.
But you can do it with a tag AGE with Aries or GEDCOM editor.

Zurga
Title: Re : Is it possible to enter how old a person was at the time of death on the persona
Post by: Graziano on November 14, 2023, 18:10:13
What tag should I insert?

<prop path=INDI:DEAT:AGE>

?

thanks!!
Title: Re : Is it possible to enter how old a person was at the time of death on the persona
Post by: Zurga on November 14, 2023, 18:13:21
Yes, "AGE" tag.
By the way, you have a function in "Edit" menu : "Calculate ages" ( https://docs.ancestris.org/books/user-guide/page/age-calculation )
This function will add ages for all events of all individuals for you.

Zurga
Title: Re: Is it possible to enter how old a person was at the time of death on the persona
Post by: Graziano on November 14, 2023, 18:33:43
Maybe I explained myself badly, I would like it to appear in the blueprint ("display for individuals").

I have a custom blueprint, what code should I enter to display the age at death?
Title: Re: Is it possible to enter how old a person was at the time of death on the persona
Post by: Zurga on November 14, 2023, 18:51:10
The blueprint can only display the content of your GEDCOM.
If there is no tag AGE, you can't display it in the blueprint.
So add the ages, then display them.

Zurga
Title: Re: Is it possible to enter how old a person was at the time of death on the persona
Post by: Graziano on November 14, 2023, 21:14:36
Thank you! I finally understood! A thousand thanks!

Now if I insert the code into the blueprint:

<prop path=INDI:DEAT:DATE>

I get my age with years, months and days. Is it possible to round it only to years?
Title: Re: Is it possible to enter how old a person was at the time of death on the persona
Post by: Zurga on November 14, 2023, 22:14:21
There is no specific format to display only years in age tag.
But you can limit the display with "max" option :
https://docs.ancestris.org/books/user-guide/page/blueprints#bkmrk-autres-cas-de-format

Zurga