模板:Ahnentafel top/doc檢視原始碼檢視歷史
本文件是Template:Ahnentafel top的文件子頁面(見模板頁自身)。 本頁包含用法資訊、分類和其他非原模板頁面的內容。 |
使用本模板製作大型族譜有機會超過維基媒體制定的允許渲染長度導致無法儲存或開啟條目,這時候請改用較為先進的 {{ahnentafel}} 模板。 |
This was created to allow for the width of ancestry boxes to adapt if there is a tall thumbnail to the right. Put it and {{ahnentafel bottom}}
on separate lines from the ahnentafel template they wrap around.
{{ahnentafel top}}
- by default, shows
Ancestors of X
whereX
is the name of the article
{{ahnentafel top|title}}
- to change the title of the table
{{ahnentafel top|width=100%}}
- to change the width of the table
{{ahnentafel top|clear=right}}
- to push the table below any prior right floating elements
{{ahnentafel top|clear=left}}
- to push the table below any prior left floating elements
{{ahnentafel 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)
This template will show a collapsed (fully-closed) version of the enclosed ahnentafel when first seen on the page, with a "(show)" option for the reader. To show the reader on first sight an uncollapsed ahnentafel, with a title bar with a "(hide)" option, add |collapsed=no
.
See also
{{ahnentafel top}} | |
{{ahnentafel bottom}} | |
{{ahnentafel4}} | {{ahnentafel-compact4}} |
{{ahnentafel5}} | {{ahnentafel-compact5}} |
{{ahnentafel6}} | {{ahnentafel-compact6}} |
{{Chart}} | {{familytree}} (now deprecated) |