Difference between revisions of "Template:James Madison University"

From blackwiki
Jump to navigation Jump to search
imported>Jrcla2
m (Reverted edits by 131.247.244.21 (talk) to last version by 166.147.123.25)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 3: Line 3:
 
|titlestyle = background:#450084;color:#C2A14D;
 
|titlestyle = background:#450084;color:#C2A14D;
 
|title = [[James Madison University|<span style="color:#C2A14D;">James Madison University</span>]]<br clear="all" />
 
|title = [[James Madison University|<span style="color:#C2A14D;">James Madison University</span>]]<br clear="all" />
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|basestyle = background:#C2A14D;color:#450084;
 
|basestyle = background:#C2A14D;color:#450084;
Line 61: Line 62:
 
* Student Duke Club
 
* Student Duke Club
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Virginia universities and colleges navigational boxes]]
 
[[Category:Virginia universities and colleges navigational boxes]]
 
</noinclude>
 
</noinclude>

Revision as of 02:38, 21 January 2013

Initial visibility: currently defaults to autocollapse

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

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