Template:FamilyTree

From Eliafamily

{{{name}}}
[[Image:{{{photo}}}]]
Fact File
Birth Date: {{{dob}}}
Family Information
Lineage: {{{lineage}}}
Parent: {{{parent}}}
Siblings: {{{siblings}}}
Children: {{{children}}}


Contents

Purpose

Use this Template on all biography pages to produce the Information Sidebar in the biography's upper right hand corner. (See the Marie Barbarossa biography for an example of one with all of the information filled out, and the Mary Elia biography for an example of one in which there are no children to refer to.)

Code

{| style="float:right; margin: 0 0 1em 1em; width:300px; background-color:  #CCCC99;
   border: 1px solid #9866FF;" id="quickbar"
|-
! colspan="2" style="border-bottom: 1px solid #C9AFFF; 
  background-color: #AAAA99" | {{{name}}}
|- 
! colspan="2" | [[Image:{{{photo}}}]]
|-
! colspan="2" style="border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; 
  background-color: #AAAA99" | Fact File
|- style="vertical-align: top"
| '''Birth Date:'''
| {{{dob}}}
|-
! colspan="2" style="border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; 
  background-color: #AAAA99" | Family Information
|- style="vertical-align: top"
| '''Lineage:'''
| {{{lineage}}}
|- style="vertical-align: top"
| '''Parent:'''
| {{{parent}}}
|- style="vertical-align: top"
| '''Siblings:'''
| {{{siblings}}}
|- style="vertical-align: top"
|'''Children:'''
| {{{children}}}
|}

Example of Use

Example Code

Use the template in the following fashion:

{{FamilyTree|
  name=Marie Barbarossa|
  photo=Mcobarbarossa.jpg|
  dob=[[December|December 16]], [[1923]]|
  lineage=[[Angela Ocello Lineage]]|
  parent=[[Angela Ocello]]|
  siblings=[[Francesco Ocello]]<br>[[Josephine Benedicto]]|
  children=[[Angela St. John]]<br>[[Michele Hansen]]<br>[[Debra Dorward]]<br>[[Mary Jo Barbarossa]]|}}

The lines of the Template are explained below:

  1. Establishes that you are "calling" this Template.
  2. Sets the value of the variable "name".
  3. Sets the value of "photo" which is the file name of the photo (usually in the form first initial, last initial, last name, .jpg. Replace with "none on file" if no photo exits.
  4. Sets the value of "dob" or date of birth. As the example above shows, the date of birth should be provided as two links: one to a month of the year page, which lists all Elia events in, for example, December, and a link to the almanac page, which lists all of the Elia events in, for example, 1923. The first link should be written as 'Month|Month Date'.
  5. Sets the value of "lineage" to the page title of the lineage page.
  6. Sets the value of "parent" to the page title of the parent's biography. Note that only one parent is listed; the one that is an Elia descendant.
  7. Sets the value of "siblings". Type "none" if no siblings (no quotes around none). If one sibling, type the page name of the sibling's biography. If multiple, separate each page name with the br code to force line breaks.
  8. Sets the value of "children". Type "none" if no children (no quotes around none). If one child, type the page name of the child's biography. If multiple, separate each page name with the br code to force line breaks.

Example Rendered

Marie Barbarossa
Image:Mcobarbarossa.jpg
Fact File
Birth Date: December 16, 1923
Family Information
Lineage: Angela Ocello Lineage
Parent: Angela Ocello
Siblings: Francesco Ocello
Josephine Benedicto
Children: Angela St. John
Michele Hansen
Debra Dorward
Mary Jo Barbarossa
Personal tools