Jump to content

Template:Banner holder/doc: Difference between revisions

From Noumenapedia
{{Lua|Module:Banner shell}}
 
m 1 revision imported
 
(No difference)

Latest revision as of 19:31, 21 September 2026

__EXPECTED_UNCONNECTED_PAGE__

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">

</syntaxhighlight>

All parameters

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

Note that the vertical bar (|) at the end of the first line must be included.

Optional parameters

  1. Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />|collapsed=yes will 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.
  2. 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..
  3. 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.
  4. Adding <syntaxhighlight lang="wikitext" inline style="display: none;" />|size=number changes 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">

</syntaxhighlight> and generates:

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:

See also