Template:Announcement systems by National Rail stations: Difference between revisions

From Rail announcements
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Navbox
{{Navbox
| name      = Announcement systems by National Rail stations
| name      = Announcement systems by National Rail stations
| title      = Announcement systems by National Rail stations
| title      = [[List of announcement systems by National Rail stations|Announcement systems by National Rail stations]]
| state      = {{{state|autocollapse}}}
| state      = {{{state|autocollapse}}}
| border = {{{border|{{{1|}}}}}}
| border = {{{border|{{{1|}}}}}}
| bodyclass  = hlist
| bodyclass  = hlist
| titlestyle = {{#switch:{{{hidetitle|}}}|no=|yes|#default=display:none;}}
| titlestyle = {{#switch:{{{hidetitle|<noinclude>no</noinclude>}}}|no=|yes|#default=display:none;}}


| list1 =  
| list1 =  

Latest revision as of 23:03, 8 April 2024


The title is hidden by default through the use of the hidetitle parameter. To show the title, you need to explicitly set this to "no".

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • <syntaxhighlight lang="wikitext" inline="1">{{Announcement systems by National Rail stations|state=collapsed}}</syntaxhighlight> will show the template collapsed, i.e. hidden apart from its title bar.
  • <syntaxhighlight lang="wikitext" inline="1">{{Announcement systems by National Rail stations|state=expanded}}</syntaxhighlight> will show the template expanded, i.e. fully visible.