• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Tree chart/start

  • Template
  • Talk
  • Language
  • Watch
  • View source
< Template:Tree chart
Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 10,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Example
  • 4 See also

Usage

This template is meant to be used in conjunction with {{Tree chart}} and {{Tree chart/end}} to create various types of charts (such as family trees). See {{Tree chart}}'s documentation for help on how to actually make charts.

Parameters

  • style (optional) Can be used to set a basic CSS style for the entire chart.
  • align (optional) Sets chart alignment: left, right or center.

Example

The following example shows the use of two parameters. A summary is specified ("This is an example chart") and the whole chart's background color is set to blue. The example also shows how the chart's overall style can be overridden by more specific styles set by {{Tree chart}}. In this case, the color of the first row of cells is set to yellow using the features of the {{Tree chart}} template; see that template's documentation for details on how to specify the CSS of rows and individual cells of a chart.

{{Tree chart/start|style=background:blue;}}
{{Tree chart|border=1|boxstyle=background:yellow; | | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}}
{{Tree chart| | |,|-|^|-|.| | }}
{{Tree chart| | FOO | | BAR | |FOO=Box 3|BAR=Box 4}}
{{Tree chart/end}}

produces this chart:

Box 1Box 2
Box 3Box 4

See also

  • Wikipedia:Family trees
  • {{Tree chart/end}}
  • {{chart top}}
  • {{Tree chart}}
  • {{chart bottom}}
The above documentation is transcluded from Template:Tree chart/start/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Tree_chart/start&oldid=1297194700"
Last edited on 24 June 2025, at 17:59

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 24 June 2025, at 17:59 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop