Difference between revisions of "Template:Canada topics"

From blackwiki
Jump to navigation Jump to search
(added First Nations)
imported>RockMFR
(why width:100%?)
Line 5: Line 5:
 
|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>[[List of Canada-related articles|topics]]</font>'''
 
|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>[[List of Canada-related articles|topics]]</font>'''
|style = width:100%;
+
|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;
 
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
 
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
Line 56: Line 56:
 
}}<noinclude>
 
}}<noinclude>
 
<br/>{{collapsible option}}
 
<br/>{{collapsible option}}
 +
[[Category:Canadian navigational boxes|{{PAGENAME}}]]
 +
[[Category:Country and territory topics templates|{{PAGENAME}}]]
 
[[fr:Modèle:Sujets relatifs au Canada]]
 
[[fr:Modèle:Sujets relatifs au Canada]]
 
[[ru:Шаблон:Канада в темах]]
 
[[ru:Шаблон:Канада в темах]]
[[Category:Canadian navigational boxes|{{PAGENAME}}]]
 
[[Category:Country and territory topics templates|{{PAGENAME}}]]
 
 
</noinclude>
 
</noinclude>

Revision as of 22:00, 23 August 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:Шаблон:Канада в темах