Template:TNGfamily/doc

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

{{#invoke:Message box|mbox}}

Usage

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

{{TNGfamily|familyID|attribute}}

An explanation of the fields:

  • familyID is the unique identification number for the family.
  • attribute identifies the type of data and/or format to be retrieved. Available attributes:
    • family as in {{TNGfamily|F188|family}} provides:
      • {{#record:TNGfamily/family|tngfid|familyID=F188}}.
    • familylink as in {{TNGfamily|F188|familylink}} provides: {{#record:TNGfamily/familylink|tngfid|familyID=F188}}.
    • husband as in {{TNGfamily|F188|husband}} provides: {{#record:TNGfamily/husband|tngfid|familyID=F188}}.
    • husbandname as in {{TNGfamily|F188|husbandname}} provides: {{#record:TNGfamily/husbandname|tngfid|familyID=F188}}.
    • husbandlink as in {{TNGfamily|F188|husbandlink}} provides: {{#record:TNGfamily/husbandlink|tngfid|familyID=F188}}.
    • husbandbio as in {{TNGfamily|F188|husbandbio}} provides: {{#record:TNGfamily/husbandbio|tngfid|familyID=F188}}.
    • wife as in {{TNGfamily|F188|wife}} provides: {{#record:TNGfamily/wife|tngfid|familyID=F188}}.
    • wifename as in {{TNGfamily|F188|wifename}} provides: {{#record:TNGfamily/wifename|tngfid|familyID=F188}}.
    • wifelink as in {{TNGfamily|F188|wifelink}} provides: {{#record:TNGfamily/wifelink|tngfid|familyID=F188}}.
    • wifebio as in {{TNGfamily|F188|wifebio}} provides: {{#record:TNGfamily/wifebio|tngfid|familyID=F188}}.
    • marrdate as in {{TNGfamily|F188|marrdate}} provides: {{#record:TNGfamily/marrdate|tngfid|familyID=F188}}.
    • marrplace as in {{TNGfamily|F188|marrplace}} provides: {{#record:TNGfamily/marrplace|tngfid|familyID=F188}}.
    • biography or bio (default) as in {{TNGfamily|F188|bio}} or {{TNGfamily|F188}} provides: {{#record:TNGfamily/biography|tngfid|familyID=F188}} or {{#record:TNGfamily/biography|tngfid|familyID=F188}}.