Difference between revisions of "Template:Abyek County"

From blackwiki
Jump to navigation Jump to search
blackwiki>Revent
(Setting default state to collapsed)
blackwiki>Frietjes
m (cleanup (wikitables, html markup, layout, etc.))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name   = Abyek County
+
| name     = Abyek County
|title   = [[File:Flag of Iran.svg|30px]] [[Abyek County]]
+
| title     = {{flagicon|Iran}} [[Abyek County]]
|state     = {{{state|collapsed}}}
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|listclass = hlist
+
| listclass = hlist
|image  =
 
  
|group1 ='''[[Capital (political)|Capital]]'''
+
| group1 = [[Capital city|Capital]]
|list1   =
+
| list1 =
 
* [[Abyek]]  
 
* [[Abyek]]  
 
+
| group2 = [[Administrative divisions of Iran|Districts]]
|group2 ='''[[Districts of Iran|Districts]]'''
+
| list2 =
|list2  ={{Navbox subgroup
+
   {{Navbox|subgroup
 
+
  | group1 = [[Central District (Abyek County)|Central]]
| group1 =[[Central District (Abyek County)|Central]]
+
  | list1  =
| list1  ={{Navbox subgroup
+
    {{Navbox|subgroup
 
+
    | group1 = Cities
| group1 = '''Cities'''
+
    | list1 =
| list1 =
 
 
* [[Abyek]]
 
* [[Abyek]]
| group2 = '''[[Rural Districts of Iran|Rural Districts]]</br> and villages'''
 
| list2 = {{Navbox subgroup
 
  
|groupstyle = width:10em;
+
    | group2  = [[Rural Districts of Iran|Rural Districts]]<br> and villages
|liststyle = width:auto;
+
    | list2  =
 +
      {{Navbox|subgroup
 +
      | groupwidth = 10em
  
| group1 = [[Kuhpayeh-e Gharbi Rural District|Kuhpayeh-e Gharbi]]</br>(West Kuhpayeh)
+
      | group1 = [[Kuhpayeh-e Gharbi Rural District|Kuhpayeh-e Gharbi]]<br>(West Kuhpayeh)
| list1 =
+
      | list1 =
 
*[[Amrudak, Qazvin|Amrudak]]
 
*[[Amrudak, Qazvin|Amrudak]]
 
*[[Anjilaq]]
 
*[[Anjilaq]]
Line 45: Line 43:
 
*[[Zarjeh Bostan]]
 
*[[Zarjeh Bostan]]
  
 
+
      | group2 = [[Kuhpayeh-e Sharqi Rural District|Kuhpayeh-e Sharqi]]<br>(East Kuhpayeh)
| group2 =[[Kuhpayeh-e Sharqi Rural District|Kuhpayeh-e Sharqi]]</br>(East Kuhpayeh)
+
      | list2  =
| list2  =
 
 
*[[Asgharabad, Qazvin|Asgharabad]]
 
*[[Asgharabad, Qazvin|Asgharabad]]
 
*[[Atanak]]
 
*[[Atanak]]
Line 68: Line 65:
 
*[[Yanesabad]]
 
*[[Yanesabad]]
  
 
+
      | group3 = [[Ziaran Rural District|Ziaran]]
| group3 =[[Ziaran Rural District|Ziaran]]
+
      | list3  =
| list3  =
 
 
*[[Abyek-e Olya]]
 
*[[Abyek-e Olya]]
 
*[[Abyek-e Sofla]]
 
*[[Abyek-e Sofla]]
Line 88: Line 84:
 
*[[Ziaran]]
 
*[[Ziaran]]
 
*[[Ziaran Meat Packing Company]]
 
*[[Ziaran Meat Packing Company]]
 
+
  }}
 
 
 
 
  
 
}}
 
}}
  
}}
+
| group2 = [[Basharyat District|Basharyat]]
 
+
| list2  =
| group2 =[[Basharyat District|Basharyat]]
+
  {{Navbox|subgroup
| list2  ={{Navbox subgroup
+
  | group1 = Cities
 
+
  | list1 =
| group1 = '''Cities'''
 
| list1 =
 
 
* [[Khak-e Ali]]
 
* [[Khak-e Ali]]
| group2 = '''[[Rural Districts of Iran|Rural Districts]]</br> and villages'''
 
| list2 = {{Navbox subgroup
 
  
|groupstyle = width:10em;
+
  | group2  = [[Rural Districts of Iran|Rural Districts]]<br> and villages
|liststyle = width:auto;
+
  | list2  =
 +
    {{Navbox|subgroup
 +
    | groupwidth = 10em
  
| group1 =[[Basharyat-e Gharbi Rural District|Basharyat-e Gharbi]]</br>(West Basharyat)
+
    | group1 = [[Basharyat-e Gharbi Rural District|Basharyat-e Gharbi]]<br>(West Basharyat)
| list1  =
+
    | list1  =
 
*[[Abdolabad, Abyek|Abdolabad]]
 
*[[Abdolabad, Abyek|Abdolabad]]
 
*[[Ebrahimabad, Basharyat|Ebrahimabad]]
 
*[[Ebrahimabad, Basharyat|Ebrahimabad]]
Line 128: Line 120:
 
*[[Zafaran, Qazvin|Zafaran]]
 
*[[Zafaran, Qazvin|Zafaran]]
  
| group2 =[[Basharyat-e Sharqi Rural District|Basharyat-e Sharqi]]</br>(East Basharyat)
+
    | group2 = [[Basharyat-e Sharqi Rural District|Basharyat-e Sharqi]]<br>(East Basharyat)
| list2  =
+
    | list2  =
 
*[[Ala Daghlu]]
 
*[[Ala Daghlu]]
 
*[[Bahramabad, Abyek|Bahramabad]]
 
*[[Bahramabad, Abyek|Bahramabad]]
Line 150: Line 142:
 
*[[Zagheh, Qazvin|Zagheh]]
 
*[[Zagheh, Qazvin|Zagheh]]
 
*[[Zargar, Qazvin|Zargar]]
 
*[[Zargar, Qazvin|Zargar]]
 
+
  }}
  
 
}}
 
}}
Line 156: Line 148:
 
}}
 
}}
  
 
+
}}<noinclude>
 
 
}}
 
 
 
}}
 
<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Iran county templates]]
 
[[Category:Iran county templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 18:48, 30 October 2014

Initial visibility: currently defaults to autocollapse

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

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