Open main menu

Gramps β

Changes

Gramps 3.1 Wiki Manual - Reports

321 bytes added, 20:26, 8 February 2009
Substitution Values
== Substitution Values ==
Many of the graphical reports allow you to customize the information on the display. Variable substitutions are substitution is used to substitute date for a particular symbol. There are two styles of variables. The difference between the two styles is how empty data is handled.
#The first style of variables are preceded by a '''$'''. If The line is printed and the variable evaluates to an empty stringis printed as found in your family tree.#: Example: 'Born: $b' will show as 'Born: 2001' if a birth date is found, and 'Born: ', the variable if no date is replaced with the empty string. found#The second style of variables are preceded by a '''%'''. If the variable evaluates to an empty string, the ''entire'' line that contains the variable is removed from the output.!#: Example: '$n - Born: %b' will show as 'John Doe - Born: 2001' if a birth date is found, whereas the line will not be present if no date is found
===Overview of the different substitution keys===
*$n/%n
:Displays the person's name in the form of FirstName LastName
*$N/%N
:Displays the person's name in the form of LastName, FirstName
*$i/%i
:Displays the GRAMPS ID associated with the person.
*$b/%b
:Displays the person's date of birth
*$B/%B
:Displays the person's place of birth
*$d/%d
:Displays the person's date of death
*$D/%D
:Displays the person's place of death
*$s/%s
:Displays the name of the person's preferred spouse in the form of FirstName LastName
*$S/%S
:Displays the name of the person's preferred spouse in the form of LastName, FirstName.
*$m/%m
:Displays the marriage date of the person and the preferred spouse.
*$M/%M
:Displays the place associated with the marriage of the person and the preferred spouse.
Substitution values can be combined:e.g.