Jump to content

Template:Rich family tree: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fix Linter errors
use mw-collapsible
Line 1: Line 1:
<noinclude>Family tree of the '''[[Rich family]]'''.</noinclude>
<noinclude>Family tree of the '''[[Rich family]]'''.</noinclude>
{| class="navbox collapsible <includeonly>{{{state|collapsed}}}</includeonly>" style="width: {{{width|100%}}}; {{#switch: {{{align|}}}
{| class="navbox mw-collapsible <includeonly>{{{state|mw-collapsed}}}</includeonly>" style="width: {{{width|100%}}}; {{#switch: {{{align|}}}
|left = float: left;
|left = float: left;
|right = float: right;
|right = float: right;

Revision as of 09:41, 22 June 2020

Family tree of the Rich family.

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the |state= parameter may be used:

  • {{Rich family tree|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Rich family tree|state=expanded}} will show the template expanded, i.e. fully visible.

|align=value is also available; where value can be either right or left. The default is center.|title-background=value is also available; where value can be either navbox or a color. The default is none, and navbox defaults to the default navbox color.|width=value is also available; where value can be either N [em/%/px] or auto. The default is 100%.