Difference between revisions of "Template:Canada topics"

From blackwiki
Jump to navigation Jump to search
imported>DragoLink08
imported>DragoLink08
Line 39: Line 39:
 
|group5 = <font color=#CC0000>[[Demographics of Canada|Demographics]]</font>
 
|group5 = <font color=#CC0000>[[Demographics of Canada|Demographics]]</font>
 
|list5  = {{Navbox subgroups
 
|list5  = {{Navbox subgroups
  |groupstyle = width:8em; background:#DCDCDC; line-height:1.15em;<!--reduces wide gap between wrapped groupname lines--> text-align:center; font-weight:normal;color:black;
+
  |groupstyle = width:8em; background:#DCDCDC; line-height:1.15em;<!--reduces wide gap between wrapped groupname lines--> text-align:center; font-weight:normal;color:#CC0000;
 
  |liststyle  = width:auto; padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous groups-->
 
  |liststyle  = width:auto; padding:0.25em 0; line-height:1.4em; <!--otherwise lists can appear to form continuous groups-->
 
  |evenstyle  = background:transparent;
 
  |evenstyle  = background:transparent;

Revision as of 19:50, 19 May 2009


Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Canada topics|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Canada topics|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Canada 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. fr:Modèle:Sujets relatifs au Canada ru:Шаблон:Канада в темах