Difference between revisions of "Template:Islands of Samoa"

From blackwiki
Jump to navigation Jump to search
imported>Teinesavaii
(create template Islands of Samoa (Independent State of Samoa))
 
imported>Kwamikagami
 
(6 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
|image =
 
|image =
 
|title = [[Samoa|Islands of Samoa (Independent State of Samoa)]]
 
|title = [[Samoa|Islands of Samoa (Independent State of Samoa)]]
 +
|state = {{{state|autocollapse}}}
 +
|listclass = hlist
 
|group1 = '''Principal islands'''
 
|group1 = '''Principal islands'''
|list1 = [[Upolu]]{{·}}[[Savai'i]]
+
|list1 =
 +
* [[Upolu]]
 +
* [[Savai{{okina}}i]]
 
|group2 = '''Small inhabited islands'''
 
|group2 = '''Small inhabited islands'''
|list2 = [[Manono Island|Manono]]{{·}}[[Apolima]]{{·}}
+
|list2 =
 +
* [[Manono Island|Manono]]
 +
* [[Apolima]]
 
|group3 = '''Uninhabited islands'''
 
|group3 = '''Uninhabited islands'''
|list3=[[Fanuatapu]] {{·}} [[Namua]]{{·}}[[Nu'ulopa]]{{·}}[[Nu'ulua]]{{·}}[[Nu'usafe'e Island|Nu'usafe'e]] {{·}}[[Nu'utele]]{{·}}  
+
|list3=
 +
* [[Fanuatapu]]  
 +
* [[Namua]]
 +
* [[Nu{{okina}}ulopa]]
 +
* [[Nu{{okina}}ulua]]
 +
* [[Nu{{okina}}usafe{{okina}}e]]
 +
* [[Nu{{okina}}utele]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Islands of Samoa]]
 
[[Category:Islands of Samoa]]
</noinclude>
+
[[Category:Samoa templates]]
 
 
<noinclude>
 
 
 
[[Category:Samoa templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 08:20, 6 July 2020

Initial visibility: currently defaults to autocollapse

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

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