Difference between revisions of "Template:Chart bottom"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
m (Plastikspork moved page Template:Ahnentafel bottom to Template:Chart bottom: History merge)
imported>Plastikspork
(Better)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Being deleted|2018 March 21|Template:Ahnentafel-compact4|merge=Template:Ahnentafel}}</noinclude><includeonly>|}</includeonly><noinclude>
+
<includeonly>|}</includeonly><noinclude>
{{documentation|Template:Ahnentafel/doc}}
+
{{documentation|Template:Chart top/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:18, 19 April 2018

50px Template documentation[view] [edit] [history] [purge]

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 {{Chart bottom}} on separate lines from the Chart template they wrap around.

{{Chart top}}
by default, shows Family of X where X is the name of the article
{{Chart top|title}}
to change the title of the table
{{Chart top|width=100%}}
to change the width of the table
{{Chart top|clear=right}}
to push the table below any prior right floating elements
{{Chart top|clear=left}}
to push the table below any prior 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)

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.

See also