Difference between revisions of "Template:Afghanistan topics"

From blackwiki
Jump to navigation Jump to search
blackwiki>Varlaam
(Yeah, this template is about Afghanistan. Yeah, we get it.)
(flagcountry, reduced groupname heights, shorter linknames, belowstyle, category)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name     = Afghanistan topics
+
| name = Afghanistan topics
| state     = {{{state<includeonly>|collapsed</includeonly>}}}
+
| state = {{{1|{{{state<includeonly>|collapsed</includeonly>}}}}}}
| title    = {{flagicon|Afghanistan|size=24px}} [[Afghanistan]] topics
 
 
| bodyclass = hlist
 
| bodyclass = hlist
 +
| title = {{flagcountry|Afghanistan|size=24px}} topics
  
| above =  
+
| above =
 
* [[Index of Afghanistan-related articles|Index]]
 
* [[Index of Afghanistan-related articles|Index]]
 
* [[Outline of Afghanistan|Outline]]
 
* [[Outline of Afghanistan|Outline]]
  
 
| group1 = [[History of Afghanistan|History]]
 
| group1 = [[History of Afghanistan|History]]
| list1 =  
+
| list1 =
* [[Timeline of the history of Afghanistan]]
+
* [[Timeline of the history of Afghanistan|Timeline]]
 
* [[Pre-Islamic period of Afghanistan|Pre-Islamic period]]
 
* [[Pre-Islamic period of Afghanistan|Pre-Islamic period]]
 
* [[Greater Khorasan]]
 
* [[Greater Khorasan]]
 
* [[Islamic conquest of Afghanistan|Islamic conquest]]
 
* [[Islamic conquest of Afghanistan|Islamic conquest]]
* [[History of Arabs in Afghanistan]]
+
* [[History of Arabs in Afghanistan|Arabs in Afghanistan]]
 
* [[Mongol invasion of Central Asia|Mongol invasion]]
 
* [[Mongol invasion of Central Asia|Mongol invasion]]
 
* [[Hotaki dynasty]]
 
* [[Hotaki dynasty]]
Line 33: Line 33:
 
* [[War in Afghanistan (2001-present)|2001 invasion]]
 
* [[War in Afghanistan (2001-present)|2001 invasion]]
  
| group2 = [[Politics of Afghanistan|Politics<br/>Government]]
+
| group2 = [[Politics of Afghanistan|Governance]]
| list2 =  
+
| list2 =
 
* [[Subdivisions of Afghanistan|Administrative divisions]]
 
* [[Subdivisions of Afghanistan|Administrative divisions]]
 
* [[Constitution of Afghanistan|Constitution]]
 
* [[Constitution of Afghanistan|Constitution]]
Line 47: Line 47:
 
* [[House of Elders]]
 
* [[House of Elders]]
 
* [[House of the People (Afghanistan)|House of the People]]
 
* [[House of the People (Afghanistan)|House of the People]]
* [[Elections in Afghanistan|Elections]] ([[List of political parties in Afghanistan|Political parties]])
+
* [[Elections in Afghanistan|Elections]]
 +
** [[List of political parties in Afghanistan|political parties]]
 
* [[List of Afghanistan Governors|Governors]]
 
* [[List of Afghanistan Governors|Governors]]
 
* [[Afghan Supreme Court|Supreme Court]]
 
* [[Afghan Supreme Court|Supreme Court]]
Line 56: Line 57:
  
 
| group3 = [[Demography of Afghanistan|Demography]]
 
| group3 = [[Demography of Afghanistan|Demography]]
| list3 =  
+
| list3 =
 
* [[Religion in Afghanistan|Religion]]
 
* [[Religion in Afghanistan|Religion]]
 
* [[Pashtun people]]
 
* [[Pashtun people]]
Line 73: Line 74:
 
* [[Languages of Afghanistan]]
 
* [[Languages of Afghanistan]]
  
| group4 = [[Geography of Afghanistan|Geography]]<br/>[[Environmental issues in Afghanistan|Environment]]
+
| group4 = [[Geography of Afghanistan|Geography]]
| list4 =  
+
| list4 =
 
* [[Subdivisions of Afghanistan|Administrative divisions]]
 
* [[Subdivisions of Afghanistan|Administrative divisions]]
 
* [[Provinces of Afghanistan|Provinces]]
 
* [[Provinces of Afghanistan|Provinces]]
Line 82: Line 83:
  
 
| group5 = [[Economy of Afghanistan|Economy]]
 
| group5 = [[Economy of Afghanistan|Economy]]
| list5 =  
+
| list5 =
* [[Afghan afghani]]
+
* [[Afghan afghani|Afghani (currency)]]
 
* [[Energy in Afghanistan|Energy]]
 
* [[Energy in Afghanistan|Energy]]
 
* [[Mining in Afghanistan|Mining]]
 
* [[Mining in Afghanistan|Mining]]
Line 91: Line 92:
 
* [[International rankings of Afghanistan|International rankings]]
 
* [[International rankings of Afghanistan|International rankings]]
  
| group6 = Society<br/>[[Culture of Afghanistan|Culture]]
+
| group6 = [[Culture of Afghanistan|Culture]]
| list6 =  
+
| list6 =
 
* [[Music of Afghanistan]]
 
* [[Music of Afghanistan]]
 
* [[Poetry of Afghanistan]]
 
* [[Poetry of Afghanistan]]
Line 105: Line 106:
  
 
| group7 = Infrastructure
 
| group7 = Infrastructure
| list7 =  
+
| list7 =
 
* [[Transport in Afghanistan]]
 
* [[Transport in Afghanistan]]
 
* [[Kabul-Kandahar Highway]]
 
* [[Kabul-Kandahar Highway]]
Line 115: Line 116:
 
* [[Communications in Afghanistan]]  
 
* [[Communications in Afghanistan]]  
  
| below =  
+
| belowstyle = font-weight:bold;
* {{Icon|Category}} '''[[:Category:Afghanistan|Category]]'''
+
| below =
* {{Icon|Portal}} '''[[Portal:Afghanistan|Portal]]'''
+
* {{icon|Category}} [[:Category:Afghanistan|Category]]
* {{Icon|WikiProject}} '''[[Wikipedia:WikiProject Afghanistan|WikiProject]]'''
+
* {{icon|Portal}} [[Portal:Afghanistan|Portal]]
 +
* {{icon|WikiProject}} [[Wikipedia:WikiProject Afghanistan|WikiProject]]
  
 
}}<noinclude>
 
}}<noinclude>
 +
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}
 +
Note: It's also now possible to omit the "state=".
 +
 +
[[Category:Afghanistan templates| ]]
 +
[[Category:Country and territory topics templates]]
 +
 
[[ru:Шаблон:Афганистан в темах]]
 
[[ru:Шаблон:Афганистан в темах]]
 
[[zh:模板:阿富汗專題]]
 
[[zh:模板:阿富汗專題]]
[[Category:Country and territory topics templates]]
+
 
 
</noinclude>
 
</noinclude>

Revision as of 19:08, 24 November 2012


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Afghanistan topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Afghanistan topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Afghanistan topics|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. Note: It's also now possible to omit the "state=".

ru:Шаблон:Афганистан в темах zh:模板:阿富汗專題