Difference between revisions of "Template:Carter family tree"

From blackwiki
Jump to navigation Jump to search
imported>PBS-AWB
(Added {{navbox}} unreferenced and a notes section if needed using AWB)
imported>Jason Quinn
(added color to boxes to aid understanding)
Line 5: Line 5:
 
|state={{{state<includeonly>|collapsed</includeonly>}}}  
 
|state={{{state<includeonly>|collapsed</includeonly>}}}  
 
|list1 ={{unreferenced section|date=April 2015}}</br>  
 
|list1 ={{unreferenced section|date=April 2015}}</br>  
{{chart/start |style=margin:0pt auto; background-color:transparent;}}
+
{{Chart/start |style=margin:0pt auto; background-color:transparent;}}
{{chart| |THOMAS1|y|MARY| |THOMAS1=  Thomas Carter<br>(1775–1868)|MARY=Mary Proctor<br>(1781–1863)}}
+
{{Chart| |THOMAS1|y|MARY| |THOMAS1=  Thomas Carter<br>(1775–1868)|MARY=Mary Proctor<br>(1781–1863)
{{chart| | |,|-|^|-|.| | }}
+
|boxstyle_THOMAS1 = background-color: lightblue;
{{chart| |THOMAS2| |WILLIAM1|y|GERTRUDE| | | |THOMAS2= [[Thomas Thellusson Carter]]<br>(1808–1901) |PERCY= [[Percy Weston]]<br>(1852–1905)|WILLIAM1=[[William Adolphus Carter]]<br>(1815–1901) |GERTRUDE=Gertrude Rogers<br>(1826–1909) }}
+
|boxstyle_MARY = background-color: pink;
{{chart| | |,|-|-|-|v|-|^|-|v|-|-|-|.| }}
+
}}
{{chart| |WILLIAM2| |THOMAS3| |HUGH| |FRANK| |WILLIAM2=[[William Carter (bishop) |William Marlborough Carter]]<br>(1850–1941)|THOMAS3= [[Thomas Nevile Carter]]<br> (1851–1879)|HUGH=[[Hugh Adolphus Carter]]<br>(1861–1942)|FRANK=Sir [[Frank Willington Carter]]<br>(1865–1945)}}  
+
{{Chart| | |,|-|^|-|.| |  
{{chart/end}}
+
}}
 +
{{Chart| |THOMAS2| |WILLIAM1|y|GERTRUDE| | | |THOMAS2= [[Thomas Thellusson Carter]]<br>(1808–1901) |PERCY= [[Percy Weston]]<br>(1852–1905)|WILLIAM1=[[William Adolphus Carter]]<br>(1815–1901) |GERTRUDE=Gertrude Rogers<br>(1826–1909)
 +
|boxstyle_THOMAS2 = background-color: lightblue;
 +
|boxstyle_WILLIAM1 = background-color: lightblue;
 +
|boxstyle_GERTRUDE = background-color: pink;
 +
}}
 +
{{Chart| | |,|-|-|-|v|-|^|-|v|-|-|-|.|  
 +
}}
 +
{{Chart| |WILLIAM2| |THOMAS3| |HUGH| |FRANK| |WILLIAM2=[[William Carter (bishop) |William Marlborough Carter]]<br>(1850–1941)|THOMAS3= [[Thomas Nevile Carter]]<br> (1851–1879)|HUGH=[[Hugh Adolphus Carter]]<br>(1861–1942)|FRANK=Sir [[Frank Willington Carter]]<br>(1865–1945)
 +
|boxstyle_WILLIAM2 = background-color: lightblue;
 +
|boxstyle_THOMAS3 = background-color: lightblue;
 +
|boxstyle_HUGH = background-color: lightblue;
 +
|boxstyle_FRANK = background-color: lightblue;
 +
}}  
 +
{{Chart/end}}
 
|-
 
|-
 
|list2style=text-align: left
 
|list2style=text-align: left

Revision as of 06:47, 27 July 2016

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Carter family tree|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Carter family tree|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Carter family tree|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.