Difference between revisions of "Template:Malietoa family tree"

From blackwiki
Jump to navigation Jump to search
imported>Tafaifa
(Replaced content with '<')
imported>Jessicapierce
m (Undid nonconstructive edit.)
Line 1: Line 1:
<
+
<noinclude>This is used for articles about the [[Malietoa]], a state dynasty and chiefly title in [[Samoa]]. It's incomplete.</noinclude>
 +
{| class="navbox mw-collapsible <includeonly>{{#ifeq:{{{state|}}}|collapsed|mw-collapsed|{{{state|mw-collapsed}}}}}</includeonly>" style="width: {{{width|100%}}}; {{#switch: {{{align|}}}
 +
|left = float: left;
 +
|right = float: right;
 +
|margin: 1em auto;
 +
}}"
 +
|-
 +
!  class="navbox-title" style="background: {{#ifeq: {{{title-background|}}} |navbox|  |{{{title-background|none}}} }};" | {{navbar-collapsible| Malietoa family tree | Malietoa family tree }}
 +
|-
 +
|<div class="center">
 +
{{tree chart/start |summary= Malietoa family tree}}
 +
{{tree chart| | | | | Vai |Vai=Malietoa Vai’inupo}}
 +
{{tree chart| | | |,|-|^|-|.| | | | | | | | | | | | }}
 +
{{tree chart| | | Mol | | Tal |Mol=[[Malietoa Moli]]|Tal=[[Malietoa Talavou Tonumaipe’a|Malietoa<br />Talavou Tonumaipe’a]]}}
 +
{{tree chart| | | |!| | | |!| }}
 +
{{tree chart| | | Lau | | Faa |Lau=[[Malietoa Laupepa]]|Faa=Malietoa Fa'alataitaua}}
 +
{{tree chart| | | |!| | | | | | | | | | | }}
 +
{{tree chart| | | La1 | | |La1=[[Malietoa Tanumafili I|Malietoa Tanumafili&nbsp;I]]}}
 +
{{tree chart| | | |!| | | | | | | | | | | | }}
 +
{{tree chart| | | La2 | | |La2=[[Malietoa Tanumafili II|Malietoa Tanumafili&nbsp;II]]}}
 +
{{tree chart/end}}
 +
</div>
 +
|-
 +
|style="text-align: left;"|'''Notes:'''
 +
{{notelist-lr}}<!--- use either {{Efn-lr}} and/or <ref group=lower-roman /> To fill this notelist -->
 +
 
 +
*{{cite book |title= O tama a ʻāiga: the politics of succession to Sāmoa's paramount titles |year=2006 |publisher=editorips@usp.ac.fj |author= Morgan A. Tuimalealiʻifano |isbn =9820203775 |page= [https://books.google.com/books?id=uzuEU21y9zsC&lpg=PP1&vq=Tui%20Manua&pg=PA52#v=onepage&q&f=false 52] |url=https://books.google.com/books?id=uzuEU21y9zsC }}
 +
|}<noinclude>
 +
{{collapsible option|align=1|title-background=1|width=1}}
 +
 
 +
[[Category:Samoa templates]]
 +
[[Category:Family tree templates]]
 +
</noinclude>

Revision as of 23:55, 26 August 2020

This is used for articles about the Malietoa, a state dynasty and chiefly title in Samoa. It's incomplete.

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Malietoa family tree|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Malietoa family tree|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Malietoa 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.

|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%.