Template:TNGperson/doc
Jump to navigation
Jump to search
{{#invoke:Message box|mbox}}
Usage
To get data from an external database, call the following:
{{TNGperson|person_ID|attribute}}
An explanation of the fields:
- person_ID 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}}. - firstname as in
{{TNGperson|I007|firstname}}
provides {{#record:TNGperson/firstname|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}}. - 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}}. - 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}}.
- bio or biography as in