Difference between revisions of "Template:Battlefield series"

From blackwiki
Jump to navigation Jump to search
imported>Ferret
imported>PrimeHunter
(place DISPLAYTITLE inside noinclude)
Line 1: Line 1:
{{DISPLAYTITLE:Template:''Battlefield'' series}}{{Navbox
+
{{Navbox
 
| name  = Battlefield series
 
| name  = Battlefield series
 
| title  = ''[[Battlefield (series)|Battlefield]]''
 
| title  = ''[[Battlefield (series)|Battlefield]]''
Line 38: Line 38:
 
'''{{Icon|Book}} [[Book:Battlefield (series)|Book]]''' • '''{{Icon|Category}} [[:Category:Battlefield (series)|Category]]'''
 
'''{{Icon|Book}} [[Book:Battlefield (series)|Book]]''' • '''{{Icon|Category}} [[:Category:Battlefield (series)|Category]]'''
 
}}<noinclude>
 
}}<noinclude>
 +
{{DISPLAYTITLE:Template:''Battlefield'' series}}
 
{{collapsible option}}
 
{{collapsible option}}
 
[[Category:Video game navigational boxes by series]]
 
[[Category:Video game navigational boxes by series]]
 
</noinclude>
 
</noinclude>

Revision as of 01:29, 20 May 2016

Initial visibility: currently defaults to autocollapse

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

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