Give same output as the default: tpl_ind_top.html, tpl_ind_bot.html, tpl_people.html, tpl_surnames.html
The ones I used to make my files: tpl_ind_top.html, tpl_ind_bot.html, tpl_people.html, tpl_surnames.html
Templates that give similar people and surnames lists to Gedpage: tpl_ind_top.html, tpl_ind_bot.html, tpl_people.html, tpl_surnames.html
tpl_ind_top.html should include a <body> statement.
#ind_name
in the template file is replaced by the individuals full name in the
HTML output. A template
file which works in the same way as the defaults can be
downloaded by clicking save link here. It looks like:
<body> <h1>#ind_name</h1>The contents of the tpl_ind_bot.html file qill be inserted after all the information but before the Created by ... line. It should not contain </body> or </html>html tags. A template file which works in the same way as the defaults can be downloaded by clicking save link here. It looks like:
<hr width=50%> <br><a href="people.html">List of people</a> | <a href="surnames.html">List of surnames</a><p>
| String | Data inserted |
|---|---|
| #ind_id | Individual's ID number |
| #ind_surname | Individual's surname |
| #ind_forname | Individual's forname |
| #ind_birt_date | Individual's birth date |
| #ind_deat_date | Individual's death date |
The #footer command can be used to add the version information outside the #main section.
A template
file which works in the same way as the defaults can be
downloaded by clicking save link here.
It looks like:
<html><head><title>People</title></head> <body> <h1>List of people</h1> #main #ns <a name="#ind_surname"> <a href="##ind_id.html">#ind_surname, #ind_forname </a>(#ind_birt_date - #ind_deat_date)<br> #end <p><hr width=50%> <br><a href="surnames.html">List of surnames</a><p> #footer </body></html>
Note the extra # before #ind_id as that is part of the anchor.
<html><head><title>Surnames</title></head> <body> <h1>List of surnames</h1> #main <a href="people.html##ind_surname">#ind_surname</a><br> #end <p><hr width=50%> <br><a href="people.html">List of people</a><p> Created by <a href="http://www.bath.ac.uk/~enpdp">Dan Pidcock</a>'s <a href="http://www.bath.ac.uk/~enpdp/Gedcom/gedcomToHTML.html">Gedcom to HTML converter</a> v1.2.<p> </body></html>