Template:Banner holder/doc
Appearance
| This is a documentation subpage for Template:Banner holder. It may contain usage information, categories and other content that is not part of the original template page. |
| Banner shell |
|---|
| Module |
| Config |
| Styles |
| Template:WikiProject banner shell |
| Template:Banner holder |
| Needs attention |
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 |
{{First banner}}
{{Second banner}}
{{Third banner}}
...
}}All parameters
{{Banner holder |collapsed=yes |text=Some text here |image=someicon.jpog |size=48 |
{{First banner}}
{{Second banner}}
{{Third banner}}
...
}}Note that the vertical bar (|) at the end of the first line must be included.
Optional parameters
- Adding
|collapsed=yeswill 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. - 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.. - Adding
|image=file name(not including the 'Image:' or 'File' prefix) changes the puzzle piece to the specified image. - Adding
|size=numberchanges the size of the image icon to the number of pixels specified.
Some icons which might be useful as images
Examples
Choosing banners to collapse
The choice of which banners to collapse is left up to editors' discretion. Some banners have dedicated collapse headers, such as:
- WikiProjects – {{WikiProject banner shell}}
- Redirect categories – {{Redirect category shell}}
See also
- {{Article history}} – For a template to condense Peer Reviews and other Good- or Featured-article history
- {{Skip to talk}} – To skip past the many banners and templates straight to the table of contents
- {{Talk header}} – Used at the top of some pages
- Other banner shells:
- {{WikiProject banner shell}} – for WikiProject banners
- {{Redirect category shell}} – For Redirect templates