Template:Banner holder: Difference between revisions
Appearance
Deleatur yhe (talk | contribs) m 1 revision imported |
|
(No difference)
| |
Latest revision as of 19:30, 21 September 2026
| Other talk page banners |
| This template uses Lua: |
| Banner shell |
|---|
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
<syntaxhighlight lang="wikitext">
| Other talk page banners | |
| Template:First banner ... | |
</syntaxhighlight>
All parameters
<syntaxhighlight lang="wikitext">
| File:Someicon.jpog | Some text here |
| Template:First banner ... | |
</syntaxhighlight>
Note that the vertical bar (|) at the end of the first line must be included.
Optional parameters
- Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />
|collapsed=yeswill cause the outer table to be collapsed, hiding the banners. Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />|collapsed=no(the default) will cause the outer table not to be collapsed, showing the banners. - Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />
|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 <syntaxhighlight lang="wikitext" inline style="display: none;" />
|image=file name(not including the 'Image:' or 'File' prefix) changes the puzzle piece to the specified image. - Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />
|size=numberchanges the size of the image icon to the number of pixels specified.
Examples
This example shows a banner holder grouping multiple {{Copied}} and {{Translated page}} templates, with an altered image icon: <syntaxhighlight lang="wikitext">
| This page contains text copied or translated from other articles | |||||
| |||||
| This page contains text copied or translated from other articles | |||||
| |||||
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}}
- {{On this day}} templates – self-collapsing
See also
- {{Article history}} – For a template to condense Peer Reviews and other Good- or Featured-article history
- {{Old XfD multi}} – For listing multiple deletion debates
- {{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