Difference between revisions of "Template:Languages of Afghanistan"

From blackwiki
Jump to navigation Jump to search
imported>Andrybak
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = Languages of Afghanistan
 
| name      = Languages of Afghanistan
| title    = {{flagdeco|Afghanistan}} [[Languages of Afghanistan|Languages]] of [[Afghanistan]]
+
| title    = [[Languages of Afghanistan]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
 +
| image = {{portal|Afghanistan}}
 
| listclass = hlist
 
| listclass = hlist
  
 
| group1 = Official languages
 
| group1 = Official languages
 
| list1  =
 
| list1  =
*[[Dari language|Dari]]
+
*[[Dari]]
 
*[[Pashto]]
 
*[[Pashto]]
  
Line 36: Line 37:
 
*[[Wakhi language|Wakhi]]
 
*[[Wakhi language|Wakhi]]
 
*[[Wasi-wari|Vasi-vari]]
 
*[[Wasi-wari|Vasi-vari]]
 +
*[[Zemiaki language|Zemiaki]]
  
 
| group4 = Sign languages
 
| group4 = Sign languages
Line 45: Line 47:
  
 
[[Category:Asia language templates|Afghanistan]]
 
[[Category:Asia language templates|Afghanistan]]
[[Category:Afghanistan templates|Languages]]
+
[[Category:Afghanistan arts and culture templates|Languages]]
 
}}
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 17:12, 11 October 2020

Template documentation

Initial visibility: currently defaults to autocollapse

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

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