Template:Chart bottom

本页使用了标题或全文手工转换
被永久保护的模板
维基百科,自由的百科全书
(重定向自Template:Ahnentafel bottom
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

使用{{Chart top}}{{Chart bottom}}包裹家谱图。

参数

{{Chart top}}
默认情况下,标题为“XXX家族”,XXX是条目的名称。
{{Chart top|标题}}
更改表格标题
{{Chart top|background=yellow}}
to add a named color to the title.
Use "nowiki" tags around hexcolors: background=<nowiki>#ccddff</nowiki>
{{Chart top|width=100%}}
to change the width of the table
{{Chart top|clear=right}} or {{Chart top|clear=left}}
to push the table below any prior right or left floating elements
{{Chart top|clear=both}}
to push the table below any prior left or right floating elements
note: width=100% typically will (in most cases) force the table to use the full page width, and push the table below floating elements)

Show/hide

This template will show a collapsed (fully-closed) version of the enclosed Chart when first seen on the page, with a "(show)" option for the reader. To show the reader on first sight an uncollapsed Chart, with a title bar with a "(hide)" option, add |collapsed=no.

Size warning

Remember "Avoid using smaller font sizes in elements that already use a smaller font size, such as infoboxes, navboxes and reference sections.", per MOS:ACCESS#Font size and MOS:SMALLFONT. Use of the {{Small}} template within a chart that uses this template produces a font size 75% of the page default, well below the 85% minimum specified in the linked guidelines.

Per Wikipedia:Village pump (technical)/Archive 159#Infobox font size, common text within an infobox is 88% of page default. Therefore use of this template in an infobox yields 74.8% of page default (0.88 * 0.85).

参见