Difference between revisions of "Template:Caselist"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(pass through name)
imported>WOSlinker
(don't collapse on template namespace)
Line 5: Line 5:
 
| align      = {{{align|right}}}
 
| align      = {{{align|right}}}
 
| width      = {{{width|330px}}}
 
| width      = {{{width|330px}}}
| state      = {{{state|collapsed}}}
+
| state      = {{{state|{{#ifeq:{{NAMESPACE}}|{{ns:10}}||collapsed}}}}}
 
| title      = {{#if:{{{title<includeonly>|</includeonly>}}}|{{{title}}}|{{{name}}} }}
 
| title      = {{#if:{{{title<includeonly>|</includeonly>}}}|{{{title}}}|{{{name}}} }}
 
| titlestyle = padding: 0.2em 0; line-height: 1.3em
 
| titlestyle = padding: 0.2em 0; line-height: 1.3em
Line 29: Line 29:
 
| list20    = {{{case20|}}}
 
| list20    = {{{case20|}}}
 
| below      = {{{notes|}}}
 
| below      = {{{notes|}}}
}}<noinclude>{{doc}}</noinclude>
+
}}<noinclude>{{documentation}}</noinclude>

Revision as of 19:04, 13 July 2012

Template:Navbox vertical

Template documentation[view] [edit] [history] [purge]
Template:Template display

This meta-template allows for the creation of floating navigational templates on legal cases.

Usage

{{ caselist
| title     = 
| width     = <!-- Width of the box; defaults to 22em -->
| align     = <!-- Align to left or right; defaults to right -->
| textalign = 
| navbar    = 
| state     = 

| case1     = 
| case2     = 
<!-- Add other cases here -->

| notes     = 
}}

See also