Plantilia:Tree chart/start
Dokumentasion ti plantilia
Daytoy dokumentasion a subpanid ti plantilia ket saan pay wenno agdama pay laeng a maipatpatarus. No kayat ti tumulong nga agipatarus kadagiti kastoy a panid, kitaen ti Kategoria:Dagiti subpanid ti dokumentasion a nasken a maipatarus. |
Panagusar
urnosenThis template is meant to be used in conjunction with {{chart}} and {{chart/end}} to create various types of charts (such as family trees). See {{chart}}'s documentation for help on how to actually make charts.
Parameters
urnosen- 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
urnosenThe 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 {{chart}}. In this case, the color of the first row of cells is set to yellow using the features of the {{chart}} template; see that template's documentation for details on how to specify the CSS of rows and individual cells of a 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}}
produces this chart:
Box 1 | Box 2 | ||||||||||||||||
Box 3 | Box 4 | ||||||||||||||||
Kitaen pay
urnosen- Dagiti baw-ing − no adda, dagiti sabali a nagan daytoy a plantilia a mabalin a mausar