Template:TNGperson/doc

From 'City of Adelaide' History and Genealogy Site
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

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 {{#record:TNGperson/biography|tngpid|personID=I007}}.
    • biobd as in {{TNGperson|I007|biobd}} provides {{#record:TNGperson/biobd|tngpid|personID=I007}}.
    • biobdol as in {{TNGperson|I007|biobdol}} provides {{#record:TNGperson/biobdol|tngpid|personID=I007}}.
    • birthdeath as in {{TNGperson|I007|birthdeath}} provides {{#record:TNGperson/birthdeath|tngpid|personID=I007}}.
    • firstname as in {{TNGperson|I007|firstname}} provides {{#record:TNGperson/firstname|tngpid|personID=I007}}.
    • firstlink as in {{TNGperson|I007|firstlink}} provides {{#record:TNGperson/firstlink|tngpid|personID=I007}}.
    • lastname as in {{TNGperson|I007|lastname}} provides {{#record:TNGperson/lastname|tngpid|personID=I007}}.
    • fullname as in {{TNGperson|I007|fullname}} provides {{#record:TNGperson/fullname|tngpid|personID=I007}}.
    • nickname as in {{TNGperson|I007|nickname}} provides {{#record:TNGperson/nickname|tngpid|personID=I007}}.
    • title as in {{TNGperson|I007|title}} provides {{#record:TNGperson/title|tngpid|personID=I007}}.
    • prefix as in {{TNGperson|I007|prefix}} provides {{#record:TNGperson/prefix|tngpid|personID=I007}}.
    • suffix as in {{TNGperson|I007|suffix}} provides {{#record:TNGperson/suffix|tngpid|personID=I007}}.
    • gender as in {{TNGperson|I007|gender}} provides {{#record:TNGperson/gender|tngpid|personID=I007}}.
    • sex as in {{TNGperson|I007|sex}} provides {{#record:TNGperson/sex|tngpid|personID=I007}}.
    • nationality as in {{TNGperson|I007|nationality}} provides {{#record:TNGperson/nationality|tngnationality|persfamID=I007}}.
    • natflag as in {{TNGperson|I007|natflag}} provides {{#record:TNGperson/natflag|tngnationality|persfamID=I007}}.
    • familyID as in {{TNGperson|I007|familyID}} provides {{#record:TNGperson/family|tngpid|personID=I007}}.
    • familybio as in {{TNGperson|I007|familybio}} provides {{#record:TNGperson/familybio|tngpid|personID=I007}}.
    • fullnamelink (default) as in {{TNGperson|I007|fullnamelink}} or {{TNGperson|I007}} provides {{#record:TNGperson/namelink|tngpid|personID=I007}} or {{#record:TNGperson/namelink|tngpid|personID=I007}}.