Difference between revisions of "Template:B5/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Cydebot
m (Robot - Speedily moving category Babylon 5 templates to Category:Babylon 5 navigational boxes per CFDS.)
imported>Frietjes
m
Line 1: Line 1:
{{ {{#if:{{{cent|}}}|navbox|infobox}}
+
{{ {{#if:{{{cent|}}}|navbox|sidebar}}
| name       = {{#if:{{{cent|}}}|B5}}
+
| name       = B5
| title       = {{#if:{{{cent|}}}|The ''[[Babylon 5]]'' universe}}
+
| title     = The ''[[Babylon 5]]'' universe
| above      = {{#if:{{{cent|}}}||The ''[[Babylon 5]]'' universe}}
+
| titleclass = {{#if:{{{cent|}}}||navbox-title}}
| aboveclass = navbox-title
+
| bodyclass = hlist
 +
| headingclass = navbox-abovebelow
  
| {{#if:{{{cent|}}}|list|data}}1       = [[List of Babylon 5 topics|Topic index]]{{,}} [[List of Babylon 5 episodes|Episode list]]{{,}} [[List of people involved with Babylon 5|People list]]
+
| {{#if:{{{cent|}}}|list|content}}1 =
| {{#if:{{{cent|}}}|list|header}}2     = Articles by [[:Category:Babylon 5|category]]
+
* [[List of Babylon 5 topics|Topic index]]
| class2 = navbox-title
+
* [[List of Babylon 5 episodes|Episode list]]
| {{#if:{{{cent|}}}|list|data}}3       = [[:Category:Babylon 5 characters|Characters]]{{,}} [[:Category:Crusade (TV series)|Crusade]]{{,}} [[:Category:Babylon 5 episodes|Episodes]]{{,}} [[:Category:Babylon 5 films|Films]]{{,}} [[:Category:Babylon 5 novels|Novels]]{{,}} [[:Category:Babylon 5 planets|Planets]]{{,}} [[:Category:Babylon 5 races|Races]]{{,}} [[:Category:Babylon 5 ships|Ships]]{{,}} [[:Category:Babylon 5 wars|Wars]]
+
* [[List of people involved with Babylon 5|People list]]
 
+
| {{#if:{{{cent|}}}|group|heading}}2 = Articles by [[:Category:Babylon 5|category]]
}}<noinclude>[[Category:Babylon 5 navigational boxes|{{PAGENAME}}]]</noinclude>
+
| {{#if:{{{cent|}}}|list|content}}3 =
 +
* [[:Category:Babylon 5 characters|Characters]]
 +
* [[:Category:Crusade (TV series)|Crusade]]
 +
* [[:Category:Babylon 5 episodes|Episodes]]
 +
* [[:Category:Babylon 5 films|Films]]
 +
* [[:Category:Babylon 5 novels|Novels]]
 +
* [[:Category:Babylon 5 planets|Planets]]
 +
* [[:Category:Babylon 5 races|Races]]
 +
* [[:Category:Babylon 5 ships|Ships]]
 +
* [[:Category:Babylon 5 wars|Wars]]
 +
}}<noinclude>{{documentation}}</noinclude>

Revision as of 15:07, 6 August 2014

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

This template provides a navigation panel for Babylon 5-related articles.

Usage

Initial visibility: currently defaults to autocollapse

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

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

See also