Template:Tree chart/start

出自維基百科，自由嘅百科全書
跳去導覽 跳去搵嘢
模解[] [] [] []

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[編輯]

  • 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 {{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.

{{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[編輯]
https://zh-yue.wikipedia.org/wiki/Template:Tree_chart/start
zh-yue.wikipedia.org
crawl=CC-MAIN-2022-27
52567
application/http; msgtype=response
sha1:JAIKHZZKFBTQIJWB3QCYLLWS64D6MQIX
<urn:uuid:cf20e436-4cb6-45c5-9e80-73f689bd46aa>
2022-06-29T07:21:10Z
208.80.154.224
text/html
sha1:6TUV6DJYNNU3LKV4F7MND7F5G5PZVBCW
<urn:uuid:a21a891f-43c1-4e01-ace3-fb5c36382902>
https://zh-yue.wikipedia.org/wiki/Template:Tree_chart/start
response
<urn:uuid:78b19d34-804f-4626-8f96-79f545a0e4f0>
isPartOf: CC-MAIN-2022-27
publisher: Common Crawl
description: Wide crawl of the web for June/July 2022
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-185
software: Apache Nutch 1.18 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.3-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/