Difference between revisions of "Template:Alborz County"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Frietjes
m (cleanup (wikitables, html markup, layout, etc.))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name   = Alborz County
+
| name     = Alborz County
|title   = [[File:Flag of Iran.svg|30px]] [[Alborz County]]
+
| title     = {{flagicon|Iran}} [[Alborz County]]
|state     = {{{state|autocollapse}}}
+
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
|listclass = hlist
+
| listclass = hlist
|image  =
 
  
|group1 ='''[[Capital (political)|Capital]]'''
+
| group1 = [[Capital city|Capital]]
|list1   =
+
| list1 =
 
* [[Alvand, Iran|Alvand]]  
 
* [[Alvand, Iran|Alvand]]  
 
+
| group2 = [[Administrative divisions of Iran|Districts]]
|group2 ='''[[Districts of Iran|Districts]]'''
+
| list2 =
|list2  ={{Navbox subgroup
+
   {{Navbox|subgroup
 
+
  | group1 = [[Central District (Alborz County)|Central]]
| group1 =[[Central District (Alborz County)|Central]]
+
  | list1  =
| list1  ={{Navbox subgroup
+
    {{Navbox|subgroup
 
+
    | group1 = Cities
| group1 = '''Cities'''
+
    | list1 =
| list1 =
 
 
* [[Alvand, Iran|Alvand]]
 
* [[Alvand, Iran|Alvand]]
| 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 = [[Nosratabad Rural District (Qazvin Province)|Nosratabad]]
+
      | group1 = [[Nosratabad Rural District (Qazvin Province)|Nosratabad]]
| list1 =
+
      | list1 =
 
*[[Kamalabad, Alborz|Kamalabad]]
 
*[[Kamalabad, Alborz|Kamalabad]]
 
*[[Kuchar]]
 
*[[Kuchar]]
Line 33: Line 31:
 
*[[Nosratabad, Qazvin|Nosratabad]]
 
*[[Nosratabad, Qazvin|Nosratabad]]
  
 
+
      | group2 = [[Pir Yusefian Rural District|Pir Yusefian]]
 
+
      | list2  =
| group2 =[[Pir Yusefian Rural District|Pir Yusefian]]
 
| list2  =
 
 
*[[Lia Industrial Complex]]
 
*[[Lia Industrial Complex]]
 
*[[Mashaldar]]
 
*[[Mashaldar]]
Line 44: Line 40:
 
*[[Shahrak-e Sanati-ye Alborz]]
 
*[[Shahrak-e Sanati-ye Alborz]]
 
*[[Shahrak-e Sanati-ye Lia]]
 
*[[Shahrak-e Sanati-ye Lia]]
 
+
  }}
  
 
}}
 
}}
  
}}
+
| group2 = [[Mohammadiyeh District|Mohammadiyeh]]
 
+
| list2  =
| group2 =[[Mohammadiyeh District|Mohammadiyeh]]
+
  {{Navbox|subgroup
| list2  ={{Navbox subgroup
+
  | group1 = Cities
 
+
  | list1 =
| group1 = '''Cities'''
 
| list1 =
 
 
* [[Bidestan]]
 
* [[Bidestan]]
 
* [[Mohammadiyeh]]
 
* [[Mohammadiyeh]]
| 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 =[[Hesar Kharvan Rural District|Hesar Kharvan]]
+
    | group1 = [[Hesar Kharvan Rural District|Hesar Kharvan]]
| list1  =
+
    | list1  =
 
*[[Bavers]]
 
*[[Bavers]]
 
*[[Hesar Kharvan]]
 
*[[Hesar Kharvan]]
Line 73: Line 67:
 
*[[Varas, Iran|Varas]]
 
*[[Varas, Iran|Varas]]
  
 
+
    | group2 = [[Sharifabad Rural District (Qazvin Province)|Sharifabad]]
| group2 =[[Sharifabad Rural District (Qazvin Province)|Sharifabad]]
+
    | list2  =
| list2  =
 
 
*[[Dizaj, Qazvin|Dizaj]]
 
*[[Dizaj, Qazvin|Dizaj]]
 
*[[Sharifabad, Alborz|Sharifabad]]
 
*[[Sharifabad, Alborz|Sharifabad]]
 
*[[Sharifabad Cultural Centre]]
 
*[[Sharifabad Cultural Centre]]
 +
  }}
  
 
}}
 
}}
Line 84: Line 78:
 
}}
 
}}
  
 
+
}}<noinclude>
 
 
}}
 
 
 
}}
 
<noinclude>
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Iran county templates]]
 
[[Category:Iran county templates]]
  
 
</noinclude>
 
</noinclude>

Revision as of 18:49, 30 October 2014

Initial visibility: currently defaults to autocollapse

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

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