Template:TNGfamily/doc

From 'City of Adelaide' History and Genealogy Site
Revision as of 11:35, 30 September 2014 by Admin (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page. --> == Usage == To get data from an external database, call the following: <pre>{{TNGfamily|family_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#invoke:Message box|mbox}}

Usage

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

{{TNGfamily|family_ID|attribute}}

An explanation of the fields:

  • family_ID is the unique identification number for the family.
  • attribute identifies the type of data and/or format to be retrieved. Available attributes:
    • bio or biography as in {{TNGfamily|F188|bio}} provides {{#record:TNGfamily/biography|tngfid|familyID=F188}}.
    • husband as in {{TNGfamily|F188|husband}} provides {{#record:TNGfamily/husband|tngfid|familyID=F188}}.
    • wife as in {{TNGfamily|F188|wife}} provides {{#record:TNGfamily/wife|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}}.
    • family as in {{TNGfamily|F188|family}} provides {{#record:TNGfamily/family|tngfid|familyID=F188}}.
    • familybio as in {{TNGfamily|F188|familybio}} provides {{#record:TNGfamily/biography|tngfid|familyID=F188}}.
    • familylink (default) as in {{TNGfamily|F188|familylink}} or {{TNGfamily|F188}} provides {{#record:TNGfamily/familylink|tngfid|familyID=F188}} or {{#record:TNGfamily/biography|tngfid|familyID=F188}}.