To request editing rights on the Wiki, click here.

User:SvareJM/Sandbox/Columns

From FamilySearch Wiki
Jump to navigation Jump to search

Different ways to display information in columns.

Columns-start[edit | edit source]

This is probably the best implementation available right now (8/9 2017). The columns are created using the col-begin template with a dimension parameter to set the width of the table. The first and subsequent columns are made with the col-break template, and the col-end template completes the table. No breaks are required to pad the length of the columns. Column items can be either bulleted or numbered.

Birth Records

  • Name of child
  • Birth date
  • Birth place
  • Race
  • Number of child in family
  • Maiden name of mother
  • Name of father
  • Age of parents
  • Residences of parents
  • Birth places of parents
  • Occupation of father
  • Live or stillbirth
  • Cause of stillbirth
  • Informant

Marriage Records

  • Names of groom and bride
  • Place of residence
  • Date of marriage
  • Place of marriage
  • Age
  • Race
  • Birthplace
  • Occupation
  • Previous marriages
  • Witnesses
  • Marriage officiator

Death Records

  • Name of deceased
  • Date and place of death
  • Date and place of birth
  • Date and place of burial
  • Occupation
  • Residence
  • Race
  • Gender
  • Physical description
  • Marriage status
  • Cause of death
  • Names of parents
  • Birthplaces of parents
  • Relatives names
  • Informant
  • Name of undertaker

Sample Code[edit | edit source]

{{col-begin|width=79%}}
{{col-break}}
'''Birth Records'''
* Name of child
* Birth date
* Birth place
{{col-break}}
'''Marriage Records'''
* Names of groom and bride
* Place of residence
* Date of marriage
* Place of marriage
{{col-break}}
'''Death Records'''
* Name of deceased
* Date and place of death
* Date and place of birth
* Date and place of burial
{{col-end}}


Columns-List (3) Deprecated[edit | edit source]

This uses breaks to pad each list so they are the same length. This doesn't display well on mobile devices, and if inspected closely the list values do not align across columns. This code is no longer supported by the wiki and future upgrades may cause it to no longer be displayed.

Birth Records

  • Name of child
  • Birth date
  • Birth place
  • Race
  • Number of child in family
  • Maiden name of mother
  • Name of father
  • Age of parents
  • Residences of parents
  • Birth places of parents
  • Occupation of father
  • Live or stillbirth
  • Cause of stillbirth
  • Informant



Marriage Records

  • Names of groom and bride
  • Place of residence
  • Date of marriage
  • Place of marriage
  • Age
  • Race
  • Birthplace
  • Occupation
  • Previous marriages
  • Witnesses
  • Marriage officiator






Death Records

  • Name of deceased
  • Date and place of death
  • Date and place of birth
  • Date and place of burial
  • Occupation
  • Residence
  • Race
  • Gender
  • Physical description
  • Marriage status
  • Cause of death
  • Names of parents
  • Birthplaces of parents
  • Relatives names
  • Informant
  • Name of undertaker

Table (3 Column)[edit | edit source]

Standard table coding. Easy to create and edit but shows empty cells unless formatted using ROWSPAN markup.

Birth Marriage Death
Name of child Names of groom and bride Name of deceased
Birth date Place of residence Date and place of death
Birth place Date of marriage Date and place of birth
Race Place of marriage Date and place of burial
Number of child in family Age Occupation
Maiden name of mother Race Residence
Name of father Birthplace Race
Age of parents Occupation Gender
Residences of parents Previous marriages Physical description
Birth places of parents Witnesses Marriage status
Occupation of father Marriage officiator Cause of death
Live or stillbirth Names of parents
Cause of stillbirth Birthplaces of parents
Informant Relatives names
Informant
Name of undertaker

DIV - Column-count[edit | edit source]

This code uses the HTML DIV style and line breaks to pad each list so they are the same length. This doesn't display well on mobile devices, and if inspected closely the list values do not align across columns.

Birth Records

  • Name of child
  • Birth date
  • Birth place
  • Race
  • Number of child in family
  • Maiden name of mother
  • Name of father
  • Age of parents
  • Residences of parents
  • Birth places of parents
  • Occupation of father
  • Live or stillbirth
  • Cause of stillbirth
  • Informant


Marriage Records

  • Names of groom and bride
  • Place of residence
  • Date of marriage
  • Place of marriage
  • Age
  • Race
  • Birthplace
  • Occupation
  • Previous marriages
  • Witnesses
  • Marriage officiator






Death Records

  • Name of deceased
  • Date and place of death
  • Date and place of birth
  • Date and place of burial
  • Occupation
  • Residence
  • Race
  • Gender
  • Physical description
  • Marriage status
  • Cause of death
  • Names of parents
  • Birthplaces of parents
  • Relatives names
  • Informant
  • Name of undertaker