Difference between revisions of "Template:Cardiff University"

From blackwiki
Jump to navigation Jump to search
imported>BrownHairedGirl
imported>Ham II
(colour scheme)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Cardiff University
 
|name  = Cardiff University
|title = [[Cardiff University]]
+
|title = [[Cardiff University|{{colour|white|Cardiff University}}]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
| bodyclass = hlist
+
|basestyle = background: #D02842; color: white
 +
|bodyclass = hlist
 
|image = [[File:Cardiff University main building.jpg|200px|Cardiff University main building]]
 
|image = [[File:Cardiff University main building.jpg|200px|Cardiff University main building]]
 
|imagestyle = padding-left: 0.5em;
 
|imagestyle = padding-left: 0.5em;
Line 31: Line 32:
 
|list5 =
 
|list5 =
 
*[[Cardiff University Students' Union]]
 
*[[Cardiff University Students' Union]]
*[[Gair rhydd]]
+
*''[[Gair rhydd]]''
*[[Gair rhydd|Quench]]
+
*''[[Gair rhydd|Quench]]''
 
*[[Xpress Radio]]
 
*[[Xpress Radio]]
 
*[[Student Volunteering Cardiff]]
 
*[[Student Volunteering Cardiff]]
Line 47: Line 48:
  
 
| below =
 
| below =
* {{icon|category}} '''[[:Category:Cardiff University|Category]]'''
+
* {{icon|category}} '''[[:Category:Cardiff University|{{colour|white|Category}}]]'''
* [[File:Commons-logo.svg|16x16px|link=|alt=]] [[commons:Category:Cardiff University|'''Commons''']]
+
* [[File:Commons-logo.svg|16x16px|link=|alt=]] '''[[commons:Category:Cardiff University|{{colour|white|Commons}}]]'''
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 20:02, 20 August 2014

Initial visibility: currently defaults to autocollapse

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

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