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

From Rail announcements
No edit summary
No edit summary
Line 5: Line 5:
| border = {{{border|{{{1|}}}}}}
| border = {{{border|{{{1|}}}}}}
| bodyclass  = hlist
| bodyclass  = hlist
| titlestyle = {{#switch:{{{hidetitle|no}}}|no=|yes|#default=display:none;}}
| titlestyle = {{#switch:{{{hidetitle|}}}|no=|yes|#default=display:none;}}


| list1 =  
| list1 =  

Revision as of 23:02, 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.