Difference between revisions of "Template:Canadian law"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
imported>Frietjes
m (copyedit)
Line 1: Line 1:
{{Navbox
+
{{Navbox Canada
|name = Canadian law
+
| name     = Canadian law
|title = <span style="vertical-align:1px;">[[Image:Maple Leaf (from roundel).svg|20x20px]]</span>  '''<font color=#00006E>[[Law of Canada|Canadian law]]</font>'''
+
| title     = [[Law of Canada|Canadian law]]
|state = {{{state|autocollapse}}}
+
| leaf      = yes
|listclass = hlist
+
| state     = {{{state|autocollapse}}}
|titlestyle = color:black; background-color:white;
+
| listclass = hlist
  
|style = width:100%;
+
| group1 = Sources
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;background:white;color:black;border: 1px solid #CC0000;
+
| list1  =
|list1style = padding:0.35em 0; line-height:1.5em;background:white;color:black;border-top: 1px solid #CC0000;
 
|liststyle = padding:0.35em 0; line-height:1.5em;background:white;color:black;
 
 
 
|group1 = Sources
 
|list1  =
 
 
* [[Constitution of Canada|Constitution]]
 
* [[Constitution of Canada|Constitution]]
 
* [[List of Acts of Parliament of Canada|Federal statutes]]
 
* [[List of Acts of Parliament of Canada|Federal statutes]]
 
* [[List of Canadian provincial Acts|Provincial statutes]]
 
* [[List of Canadian provincial Acts|Provincial statutes]]
  
|group2 = Core areas
+
| group2 = Core areas
|list2  =
+
| list2  =
 
* [[Canadian constitutional law|Constitutional]]
 
* [[Canadian constitutional law|Constitutional]]
 
* [[Canadian administrative law|Administrative]]
 
* [[Canadian administrative law|Administrative]]
Line 26: Line 21:
 
* [[Canadian property law|Property]]
 
* [[Canadian property law|Property]]
  
|group3 = Other areas
+
| group3 = Other areas
|list3  =
+
| list3  =
 
* [[Canadian aboriginal law|Aboriginal]]
 
* [[Canadian aboriginal law|Aboriginal]]
 
* [[Civil rights law in Canada|Civil and human rights]]
 
* [[Civil rights law in Canada|Civil and human rights]]
Line 38: Line 33:
 
* [[Canadian patent law|Patent]]
 
* [[Canadian patent law|Patent]]
  
|group4 = <font color=#00006E>[[Court system of Canada|Courts]]</font>
+
| group4 = [[Court system of Canada|Courts]]
|list4  = <!--(list includes parenthesis:)-->
+
| list4  = <!--(list includes parenthesis:)-->
 
* [[Supreme Court of Canada|Supreme Court]]
 
* [[Supreme Court of Canada|Supreme Court]]
* [[Federal Court (Canada)|Federal Court]] ([[Federal Court of Appeal (Canada)|Appeal]])
+
* [[Federal Court (Canada)|Federal Court]]
 +
** [[Federal Court of Appeal (Canada)|Appeal]]
 
* [[Court of Appeal|Courts of Appeal]]
 
* [[Court of Appeal|Courts of Appeal]]
 
* [[Superior court|Superior]]
 
* [[Superior court|Superior]]
* [[Provincial court|Provincial]]  
+
* [[Provincial court|Provincial]]
  
|group5 = <font color=#00006E>[[Legal education|Education]]</font>
+
| group5 = [[Legal education|Education]]
|list5  = <!--(as above:)-->
+
| list5  = <!--(as above:)-->
* [[List of law schools in Canada|Law school]] ([[Law School Admission Test]])
+
* [[List of law schools in Canada|Law school]]
* [[Call to the bar]]  
+
** [[Law School Admission Test]]
 +
* [[Call to the bar]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 23:21, 8 April 2013

Template:Navbox Canada Initial visibility: currently defaults to autocollapse

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

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