Template:TNGperson

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

To get data from an external database, call the following:

{{TNGperson|personID|attribute}}

An explanation of the fields:

  • personID is the unique identification number for the individual.
  • attribute identifies the type of data and/or format to be retrieved. Available attributes:
    • bio or biography as in {{TNGperson|I007|bio}} provides Bond, James - I007.
    • biobd as in {{TNGperson|I007|biobd}} provides James Bond 
      (28 May 1908 – 12 Aug 1964)
      .
    • biobdol as in {{TNGperson|I007|biobdol}} provides James Bond (28 May 1908 – 12 Aug 1964).
    • birthdeath as in {{TNGperson|I007|birthdeath}} provides 28 May 1908 – 12 Aug 1964.
    • firstname as in {{TNGperson|I007|firstname}} provides James.
    • firstlink as in {{TNGperson|I007|firstlink}} provides James.
    • lastname as in {{TNGperson|I007|lastname}} provides Bond.
    • fullname as in {{TNGperson|I007|fullname}} provides James Bond.
    • nickname as in {{TNGperson|I007|nickname}} provides 7.
    • title as in {{TNGperson|I007|title}} provides British Secret Service Agent.
    • prefix as in {{TNGperson|I007|prefix}} provides Commander.
    • suffix as in {{TNGperson|I007|suffix}} provides 7.
    • gender as in {{TNGperson|I007|gender}} provides M.
    • sex as in {{TNGperson|I007|sex}} provides Male.
    • nationality as in {{TNGperson|I007|nationality}} provides English.
    • natflag as in {{TNGperson|I007|natflag}} provides  English.
    • familyID as in {{TNGperson|I007|familyID}} provides F188.
    • familybio as in {{TNGperson|I007|familybio}} provides Fleming Family - F188.
    • fullnamelink (default) as in {{TNGperson|I007|fullnamelink}} or {{TNGperson|I007}} provides James Bond or James Bond.