Difference between revisions of "Template:Chart top"
Jump to navigation
Jump to search
m (1 revision imported) |
Terranihil (talk | contribs) m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {| class="collapsible {{#ifeq:{{{collapsed|}}}| | + | {| class="collapsible {{#ifeq:{{yesno-no|{{{collapsed|{{{collapse|}}}}}}}}|yes|collapsed|expanded}}" style="{{#switch:{{{align|}}}{{{float|}}} |
| left = margin: 0.3em 0 0.3em 1em; float:left; clear:{{{clear|left}}}; min-width:{{{min-width|{{{width|33em}}}}}}; | | left = margin: 0.3em 0 0.3em 1em; float:left; clear:{{{clear|left}}}; min-width:{{{min-width|{{{width|33em}}}}}}; | ||
| right = margin: 0.3em 1em 0.3em 1em; float:right; clear:{{{clear|right}}}; min-width:{{{min-width|{{{width|33em}}}}}}; | | right = margin: 0.3em 1em 0.3em 1em; float:right; clear:{{{clear|right}}}; min-width:{{{min-width|{{{width|33em}}}}}}; |
Latest revision as of 01:25, 10 November 2021
Family of Chart top |
---|
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
whereX
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
{{chart top}}
{{chart/start}}
{{chart}}
{{chart bottom}}
{{ahnentafel}}