Template:Chart/end/doc: Difference between revisions

From Azupedia
Jump to navigation Jump to search
imported>Fire
ページの作成:「{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{二次利用}} ==Usage== This template is meant to be used i…」
 
No edit summary
 
Line 11: Line 11:
==Example==
==Example==
This is just a simple example chart that uses the template. See the documentation of {{tl|Tree chart/start}} and {{tl|Tree chart}} for ways to style the chart using CSS properties like ''background-color''.
This is just a simple example chart that uses the template. See the documentation of {{tl|Tree chart/start}} and {{tl|Tree chart}} for ways to style the chart using CSS properties like ''background-color''.
 
<pre><nowiki>
<pre><nowiki>
{{Tree chart/start|summary=This is an example chart}}
{{Tree chart/start|summary=This is an example chart}}

Latest revision as of 08:02, 23 January 2023

Usage

This template is meant to be used in conjunction with {{Tree chart/start}} and {{Tree chart}} to create various types of charts (such as family trees). The template should follow the last chart row specified by a {{Tree chart}} template. See {{Tree chart}}'s documentation for detailed help on how to actually make charts.

Parameters

This template has no parameters.

Example

This is just a simple example chart that uses the template. See the documentation of {{Tree chart/start}} and {{Tree chart}} for ways to style the chart using CSS properties like background-color.

{{Tree chart/start|summary=This is an example chart}}
{{Tree chart| | 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