Difference between revisions of "Template:Aceh"

From blackwiki
Jump to navigation Jump to search
blackwiki>Try0yrt
(Added a town section to this template, had no idea how such templates worked but have now worked it out. Lhoknga should be accessible via this template provided other locations have this template too.)
m (57 revisions imported)
 
(27 intermediate revisions by 21 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name = Aceh
+
| name = Aceh
|title = [[List of regencies and cities of Indonesia|Regencies and cities of]] [[Aceh]]
+
| state = {{{state|autocollapse}}}
|image = [[Image:Aceh coa.png|50px]]
+
| title = Regencies and cities of [[Aceh]]
 +
| image = [[File:Coat of arms of Aceh.svg|50px|Seal of Aceh]]
 +
| listclass = hlist
 +
 
 
| above = Capital: [[Banda Aceh]]
 
| above = Capital: [[Banda Aceh]]
  
|group1 = Regencies
+
| group1 = [[Regency (Indonesia)|Regencies]]
|list1 = {{nowrap begin}}
+
| list1 =
[[Aceh Besar Regency|Aceh Besar]]{{!w}}
+
* [[Aceh Besar Regency|Aceh Besar]]
[[Aceh Jaya Regency|Aceh Jaya]]{{!w}}
+
* [[Aceh Jaya Regency|Aceh Jaya]]
[[Aceh Singkil Regency|Aceh Singkil]]{{!w}}
+
* [[Aceh Singkil Regency|Aceh Singkil]]
[[Aceh Tamiang Regency|Aceh Tamiang]]{{!w}}
+
* [[Aceh Tamiang Regency|Aceh Tamiang]]
[[Bener Meriah Regency|Bener Meriah]]{{!w}}
+
* [[Bener Meriah Regency|Bener Meriah]]
[[Bireuen Regency|Bireuen]]{{!w}}
+
* [[Bireuën Regency|Bireuen]]
[[Central Aceh Regency|Central Aceh]]{{!w}}
+
* [[Central Aceh Regency|Central Aceh]]
[[East Aceh Regency|East Aceh]]{{!w}}
+
* [[East Aceh Regency|East Aceh]]
[[Gayo Lues Regency|Gayo Lues]]{{!w}}
+
* [[Gayo Lues Regency|Gayo Lues]]
[[Nagan Raya Regency|Nagan Raya]]{{!w}}
+
* [[Nagan Raya Regency|Nagan Raya]]
[[North Aceh Regency|North Aceh]]{{!w}}
+
* [[North Aceh Regency|North Aceh]]
[[Pidie Regency|Pidie]]{{!w}}
+
* [[Pidie Regency|Pidie]]
[[Pidie Jaya Regency|Pidie Jaya]]{{!w}}
+
* [[Pidie Jaya Regency|Pidie Jaya]]
[[Simeulue Regency|Simeulue]]{{!w}}
+
* [[Simeulue Regency|Simeulue]]
[[South Aceh Regency|South Aceh]]{{!w}}
+
* [[South Aceh Regency|South Aceh]]
[[Southeast Aceh Regency|Southeast Aceh]]{{!w}}
+
* [[Southeast Aceh Regency|Southeast Aceh]]
[[Southwest Aceh Regency|Southwest Aceh]]{{!w}}
+
* [[Southwest Aceh Regency|Southwest Aceh]]
[[West Aceh Regency|West Aceh]]
+
* [[West Aceh Regency|West Aceh]]
{{nowrap end}}
 
  
|group2 = Cities
+
| group2 = [[City status in Indonesia|Cities]]
|list2 = {{nowrap begin}}
+
| list2 =
'''[[Banda Aceh]]'''{{!w}}
+
* [[Banda Aceh]]
[[Langsa]]{{!w}}
+
* [[Langsa]]
[[Lhokseumawe]]{{!w}}
+
* [[Lhokseumawe]]
[[Sabang]]{{!w}}
+
* [[Sabang, Aceh|Sabang]]
[[Subulussalam]]
+
* [[Subulussalam]]
{{nowrap end}}
 
  
|group3 = Towns
+
| below = See also: [[List of regencies and cities of Indonesia]]
|list3 = {{nowrap begin}}
+
}}<noinclude>
[[Lhoknga]]{{!w}}
+
{{collapsible option}}
{{nowrap end}}
 
  
}}<includeonly>[[Category:Regencies of Aceh]]</includeonly><noinclude>
+
[[Category:Indonesia province templates]]
  
[[Category:Indonesia province templates|{{PAGENAME}}]]
 
[[id:Templat:Nanggroe Aceh Darussalam]]
 
[[jv:Cithakan:Nanggröe Aceh Darussalam]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 16:37, 16 October 2020

Initial visibility: currently defaults to autocollapse

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

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