Author Topic: Is it possible to enter how old a person was at the time of death on the persona  (Read 126 times)

0 Members and 1 Guest are viewing this topic.

Offline Graziano

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
Is it possible to enter how old a person was at the time of death on the personal card?

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 613
    • View Profile
Not with Cygnus Editor.
But you can do it with a tag AGE with Aries or GEDCOM editor.

Zurga

Offline Graziano

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
What tag should I insert?

<prop path=INDI:DEAT:AGE>

?

thanks!!

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 613
    • View Profile
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

Offline Graziano

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
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?

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 613
    • View Profile
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

Offline Graziano

  • VIP
  • Jr. Member
  • *
  • Posts: 13
    • View Profile
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?

Online Zurga

  • VIP
  • Supernatural Member
  • *
  • Posts: 3 613
    • View Profile
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