Difference between revisions of "Template:Cardiff University"

From blackwiki
Jump to navigation Jump to search
imported>Xyphoid
(Creating Cardiff University Template)
 
imported>Aloneinthewild
(links)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Cardiff University
 
|name  = Cardiff University
|title = [[Cardiff University|<span style="color:black">Cardiff University</span>]]
+
|title = [[Cardiff University]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
|image = [[File:Cardiff University main building.jpg|250px]]
+
|image = [[File:Cardiff University main building.jpg|200px|Cardiff University main building]]
 
|imagestyle = padding-left: 0.5em;
 
|imagestyle = padding-left: 0.5em;
 
|group1 = People
 
|group1 = People
 
|list1 =
 
|list1 =
 
* '''Chancellor''': [[Martin Evans]]
 
* '''Chancellor''': [[Martin Evans]]
* '''Vice-Chancellor''': Colin Riordan
+
* '''Vice-Chancellor''': [[Colin Riordan]]
 
|group2 = Campuses
 
|group2 = Campuses
 
|list2 =
 
|list2 =
Line 45: Line 45:
 
*[[The Welsh Boat Race|Welsh Boat Race]]
 
*[[The Welsh Boat Race|Welsh Boat Race]]
 
*[[Cardiff Redhawks]]
 
*[[Cardiff Redhawks]]
 
  
 
| below =
 
| below =
* {{icon|category}} '''[[:Category:Cardiff University|<span style="color:black">Category</span>]]'''
+
* {{icon|category}} '''[[:Category:Cardiff University|Category]]'''
* [[File:Commons-logo.svg|16x16px|link=|alt=]] [[commons:Category:Cardiff University|<span style="color:black">'''Commons'''</span>]]
+
* [[File:Commons-logo.svg|16x16px|link=|alt=]] [[commons:Category:Cardiff University|'''Commons''']]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:English university navigational boxes|Cardiff]]
 
</noinclude>
 
  
 +
[[Category:United Kingdom university navigational boxes|Cardiff]]
 
[[Category:Cardiff University]]
 
[[Category:Cardiff University]]
 +
</noinclude>

Revision as of 16:41, 28 December 2013

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.