Open main menu

Gramps β

Changes

Gramps 4.1 Wiki Manual - Settings

258 bytes added, 09:40, 29 July 2015
ID Formats
=== ID Formats ===
[[ImageFile:EditPreferencesIDFormats-40.png|right|thumb|350px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} ID Formats Preferences]]
This tab contains preferences relevant to the automatic generation of GRAMPS Gramps IDs.
*{{man label|Person: }} Provides the template for generating IDs for a Person. Default value: <code>I%04d. </code>*{{man label|Family: }} Provides the template for generating IDs for a Family. Default value: <code>F%04d.</code>*{{man label|Place: }} Provides the template for generating IDs for a Place. Default value: <code>P%04d.</code>*{{man label|Source: }} Provides the template for generating IDs for a Source. Default value: <code>S%04d.</code>*{{man label|Citation: }} Provides the template for generating IDs for a Citation. Default value: <code>C%04d.</code>*{{man label|Media Object: }} Provides the template for generating IDs for a Media Object. Default value: <code>O%04d.</code>*{{man label|Event: }} Provides the template for generating IDs for an Event. Default value: <code>E%04d.</code>*{{man label|Repository: }} Provides the template for generating IDs for a Repository. Default value: <code>R%04d.</code>*{{man label|Note: }} Provides the template for generating IDs for a Note. Default value: <code>N%04d.</code>
{{man tip|ID Prefixes |The ID prefixes use formatting conventions common for C, Python, and other programming languages. For example, the <code>%04d </code> expands to an integer, prepended with zeros to have the total width of four digits. If you would like IDs to be 1, 2, 3, etc., simply set the formatting parameter to <code>%d</code>.}}
{{-}}