Difference between revisions of "Template:Canada topics"

From blackwiki
Jump to navigation Jump to search
imported>Moxy
m (Undid revision 320934089 by 67.83.32.108 (talk)RVV)
imported>Zscout370
(SVG file)
Line 4: Line 4:
 
|selected = {{{1|}}}
 
|selected = {{{1|}}}
 
|titlestyle = color:black; background-color:white;
 
|titlestyle = color:black; background-color:white;
|title = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).png|20x20px]]</span>&nbsp;&nbsp;'''<font color=black>[[Canada]]</font>&nbsp;<font color=black>[[Index of Canada-related articles|topics]]</font>'''
+
|title = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>&nbsp;&nbsp;'''<font color=black>[[Canada]]</font>&nbsp;<font color=black>[[Index of Canada-related articles|topics]]</font>'''
 
|style =
 
|style =
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
 
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;

Revision as of 20:09, 31 October 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:Шаблон:Канада в темах