Template Tokens

----

*Template Tokens* are short strings surrounded by {curly braces}. When *Web Page Creator* encounters one of these strings in a template, it will try to replace it with the appropriate data. Of course, spelling the token correctly is very important!

NOTE: I use 'husband' and 'wife' when referring to the left and right individuals in the Legacy Family tab.

Tokens that can be used in templates are:

TokenTemplateDescription
{sitetitle}allThe website's overall title. Intended use in the \...\ tag
{author}allThe website's author. Intended use is for the copyright phrase near the bottom of the web page, or the link to the author's email address
{authoremail}allThe website author's email address. Intended use is for the copyright phrase near the bottom of the web page, or the link to the author's email address
{keywords}allThe keywords to be used in connection with this website. Intended use is for the "keywords" meta tag
{version}allThe version of Web Page Creator that produced these web pages
{userheader}allUser-supplied text (and HTML markup) for use near the top of each web page
{userfooter}allUser-supplied text (and HTML markup) for use near the bottom of each web page
{subject}fgrTemplate.htmlThe names of the couple who are the subject of this web page, formatted as '_HusbFirstName HusbLastName/WifeFirstName WifeLastName_'
{christerm}fgrTemplate.html
fgrChildTemplate.html
The term used for the christening event (either "Baptized" or "Christened")
{husbterm}fgrTemplate.htmlThe term/label you have entered for the left individual on the couple's marriage record in Legacy (Legacy defaults to "Husband")
{husbname}fgrTemplate.htmlThe husband's name
{husbrin}fgrTemplate.htmlThe Legacy RIN of the husband
{husbgender}fgrTemplate.htmlThe husband's gender (either "Male" or "Unknown")
{husbgenderimage}fgrTemplate.htmlAn image such as that represents the husband's gender
{husbimage}fgrTemplate.htmlThe preferred image of the husband
{husbbirth}fgrTemplate.htmlHusband's birth date & location (and sources if selected)
{husbchris}fgrTemplate.htmlHusband's christening/baptism date & location (and sources if selected)
{husbdeath}fgrTemplate.htmlHusband's death date & location (and sources if selected)
{husbburiedterm}fgrTemplate.htmlThe term used to describe the disposition of the husband's remains (either "Buried" or "Cremated")
{husbburied}fgrTemplate.htmlHusband's buried date & location (and sources if selected)
{husbdeathcause}fgrTemplate.htmlHusband's cause of death (and sources if selected)
{husbnotes}fgrTemplate.htmlHusband's general notes (and sources if selected)
{husbmarriages}fgrTemplate.htmlA list of links to the husband's other marriages (and sources if selected)
{wifeterm}fgrTemplate.htmlThe term/label you have entered for the right individual on the couple's marriage record in Legacy (Legacy defaults to "Wife")
{wifename}fgrTemplate.htmlThe wife's name
{wiferin}fgrTemplate.htmlThe Legacy RIN of the wife
{wifegender}fgrTemplate.htmlThe wife's gender (either "Female" or "Unknown")
{wifegenderimage}fgrTemplate.htmlAn image such as that represents the wife's gender
{wifeimage}fgrTemplate.htmlThe preferred image of the wife
{wifebirth}fgrTemplate.htmlWife's birth date & location (and sources if selected)
{wifechris}fgrTemplate.htmlWife's christening/baptism date & location (and sources if selected)
{wifedeath}fgrTemplate.htmlWife's death date & location (and sources if selected)
{wifeburiedterm}fgrTemplate.htmlThe term used to describe the disposition of the wife's remains (either "Buried" or "Cremated")
{wifeburied}fgrTemplate.htmlWife's buried date & location (and sources if selected)
{wifedeathcause}fgrTemplate.htmlWife's cause of death (and sources if selected)
{wifenotes}fgrTemplate.htmlWife's general notes (and sources if selected)
{wifemarriages}fgrTemplate.htmlA list of links to the wife's other marriages (and sources if selected)
{marriedterm}fgrTemplate.htmlThe term used to describe the couple's relationship on the Legacy Marriage Information dialog (Legacy defaults to "Married")
{marrinfo}fgrTemplate.htmlThe marriage date & location (and sources if selected)
{mrin}fgrTemplate.htmlThe Legacy MRIN of the couple who are the subject of the web page
{marrstatus}fgrTemplate.htmlThe marriage status
{marrstatusdate}fgrTemplate.htmlThe marriage status date
{marrnotes}fgrTemplate.htmlThe marriage notes (and sources if selected)
{marrimage}fgrTemplate.htmlThe preferred image of the marriage
{parenturl}fgrParentTemplate.htmlLink to the parent's Family Group web page
{fatherhover}fgrParentTemplate.htmlDisplay RIN and MRIN of father on mouse hover
{fathername}fgrParentTemplate.htmlThe father's name
{fathersources}fgrParentTemplate.htmlThe father's sources
{motherhover}fgrParentTemplate.htmlDisplay RIN and MRIN of mother on mouse hover
{mothername}fgrParentTemplate.htmlThe mother's name
{mothersources}fgrParentTemplate.htmlThe mother's sources
{childno}fgrChildTemplate.htmlThe child's number (as ordered in Legacy)
{childname}fgrChildTemplate.htmlThe child's name (and sources if selected)
{childstatus}fgrChildTemplate.htmlThe child's status
{childrin}fgrChildTemplate.htmlThe child's RIN
{childgender}fgrChildTemplate.htmlThe child's gender
{childbirth}fgrChildTemplate.htmlThe child's birth date & location (and sources if selected)
{childchris}fgrChildTemplate.htmlThe child's christening/baptism date & location (and sources if selected)
{childdeath}fgrChildTemplate.htmlThe child's death date & location (and sources if selected)
{childburiedterm}fgrChildTemplate.htmlThe term used to describe the disposition of the child's remains (either "Buried" or "Cremated")
{childburied}fgrChildTemplate.htmlThe child's buried date & location (and sources if selected)
{childmarriages}fgrChildTemplate.htmlA list of links to the child's marriages (and sources if selected)
{childimage}fgrChildTemplate.htmlThe preferred image of the child
{entries}fgrIndexTemplate.htmlThe number of names on this index page
{indextype}fgrIndexTemplate.html'All Names' or the starting letter of the surnames on this index page
{indexlinks}fgrIndexTemplate.htmlLinks to surnames which start with the various letters
{theindex}fgrIndexTemplate.htmlThe actual index


Introduction | Download & Installation | Usage | Menu | File | Options | Help | Tabs | Family Group Style | Individual Style | Pedigree Style | System Requirements | Contact Info | About Wiki Web Help | Quick Start | Keyboard Shortcuts | License | Registration | Template Tokens | specialTemplate.html | Customization