Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Pact Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Chart/start/doc
Template
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> ==Usage== This template is meant to be used in conjunction with {{tl|chart}} and {{tl|chart/end}} to create various types of charts (such as family trees). See {{tl|chart}}'s documentation for help on how to actually make charts. ==Parameters== * '''summary''' (optional but recommended) Meant to contain a text description describing the chart as a whole. This summary is for accessibility: it is read aloud to visually impaired readers who use screen readers, and is invisible to sighted readers. * '''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 {{tl|chart}}. In this case, the color of the first row of cells is set to yellow using the features of the {{tl|chart}} template; see that template's documentation for details on how to specify the CSS of rows and individual cells of a chart. <pre><nowiki> {{chart/start|style=background:blue;}} {{chart|border=1|boxstyle=background:yellow; | | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}} {{chart | | |,|-|^|-|.| | }} {{chart | | FOO | | BAR | |FOO=Box 3|BAR=Box 4}} {{chart/end}} </nowiki></pre> produces this chart: {{chart/start|style=background:blue;}} {{chart|border=1|boxstyle=background:yellow; | | FOO |y| BAR | |FOO=Box 1|BAR=Box 2}} {{chart | | |,|-|^|-|.| | }} {{chart | | FOO | | BAR | |FOO=Box 3|BAR=Box 4}} {{chart/end}} ==See also== *[[Wikipedia:Family trees]] *{{tlx|chart/end}} *{{tlx|chart top}} *{{tlx|chart}} *{{tlx|chart bottom}} <includeonly>{{sandbox other|| <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Genealogy formatting templates]] }}</includeonly>
Summary:
Please note that all contributions to Pact Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Pact Web Serial Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Chart
(
edit
)
Template:Chart/end
(
edit
)
Template:Chart/start
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Mbox
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)