16,736
edits
Changes
From Gramps
→ID Formats
=== ID Formats ===
{{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>, the 'd' specifies Decimal Integer, outputing the number in base 10.<br /><br />See: Python [https://docs.python.org/3.4/library/string.html#format-specification-mini-language (String) Format Specification Mini-Language]}}
[[File:EditPreferencesIDFormats-40.png|right|thumb|350px|Fig. {{#var:chapter}}.{{#vardefineecho:figure|{{#expr:{{#var:figure}}+1}}}} ID Formats Preferences]]