Difference between revisions of "Template:Loiret communes"

From blackwiki
Jump to navigation Jump to search
imported>Alexchris
m
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
|title = [[Communes of the Loiret department|Communes]] of the [[Loiret]] department [[Image:Flag of France.svg|17px]]
 
|title = [[Communes of the Loiret department|Communes]] of the [[Loiret]] department [[Image:Flag of France.svg|17px]]
 
|listclass = hlist
 
|listclass = hlist
|state = collapsed
+
|state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|list1=
 
|list1=
 
* [[Adon, Loiret|Adon]]
 
* [[Adon, Loiret|Adon]]
Line 342: Line 342:
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 +
{{collapsible option}}
 
[[Category:France commune (country subdivision) templates]]
 
[[Category:France commune (country subdivision) templates]]
 
[[it:Template:Dipartimento Loiret]]
 
[[it:Template:Dipartimento Loiret]]

Revision as of 02:35, 5 March 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Loiret communes|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Loiret communes|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Loiret communes|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. it:Template:Dipartimento Loiret uk:Шаблон:Муніципалітети департаменту Луаре vi:Bản mẫu:Loiret communes war:Template:Mga komyun han Loiret zh:Template:盧瓦雷省市鎮