Difference between revisions of "Template:Human rights in Morocco"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(navbox subgroup syntax update)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|bodyclass = hlist
 
|bodyclass = hlist
|basestyle =
 
 
|groupstyle= text-align:left;
 
|groupstyle= text-align:left;
|image      =
+
 
|above =
 
  
 
|group1 = Cases
 
|group1 = Cases
 
|list1  =  
 
|list1  =  
{{Navbox subgroup
+
{{Navbox|subgroup
 
|groupstyle= text-align:left;
 
|groupstyle= text-align:left;
| liststyle  = background:transparent;
 
  
 
| group1 = Hassan II-era
 
| group1 = Hassan II-era
Line 98: Line 95:
 
| below =  
 
| below =  
 
* {{Icon|Category}} [[:Category:Human rights in Morocco|Category]]
 
* {{Icon|Category}} [[:Category:Human rights in Morocco|Category]]
}}
+
}}<noinclude>
<noinclude>
+
 
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Morocco templates]]
 
[[Category:Morocco templates]]
 
</noinclude>
 
</noinclude>

Revision as of 16:09, 1 September 2017

Initial visibility: currently defaults to autocollapse

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

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