Difference between revisions of "Template:Banner holder/doc"

From blackwiki
Jump to navigation Jump to search
imported>Mathglot
imported>Mathglot
Line 13: Line 13:
  
 
===All parameters===
 
===All parameters===
  <nowiki>{{Banner shell |collapsed=yes |text=Some text here |1=</nowiki>
+
  <nowiki>{{Banner holder |collapsed=yes |text=Some text here |1=</nowiki>
 
  <nowiki>  {{First banner}}</nowiki>
 
  <nowiki>  {{First banner}}</nowiki>
 
  <nowiki>  {{Second banner}}</nowiki>
 
  <nowiki>  {{Second banner}}</nowiki>

Revision as of 11:08, 6 July 2020

Usage

To group multiple banners such as merge histories into a box, and optionally collapse them into one banner to save vertical space.

Basic syntax

{{Banner holder |1=
  {{First banner}}
  {{Second banner}}
  {{Third banner}}
...
}}

All parameters

{{Banner holder |collapsed=yes |text=Some text here |1=
  {{First banner}}
  {{Second banner}}
  {{Third banner}}
...
}}

The |1= at the end of the first line is not optional and must be included.

Optional parameters

  1. Adding |collapsed=yes will cause the outer table to be collapsed, hiding the banners. Adding |collapsed=no (the default) will cause the outer table not to be collapsed, showing the banners.
  2. Adding |text=some string... will cause the collapse bar title to be altered to some string. If left blank or not used, the default string is Other talkpage banners..

See also