Difference between revisions of "Template:Banner holder"

From blackwiki
Jump to navigation Jump to search
imported>SilkTork
(further banners)
 
imported>Rcsprinter123
m
 
(7 intermediate revisions by 5 users not shown)
Line 4: Line 4:
 
<th class="mbox-text">{{Show button}}{{#if:{{{text|}}}
 
<th class="mbox-text">{{Show button}}{{#if:{{{text|}}}
 
  |{{{text}}}
 
  |{{{text}}}
  |Further banners:
+
  |Other talkpage banners
+
}}
 
</th>
 
</th>
 
</tr><tr>
 
</tr><tr>
Line 11: Line 11:
 
{{{1|}}}
 
{{{1|}}}
 
</td>
 
</td>
 
+
</table><noinclude>
}}</table><noinclude>
 
 
{{documentation}}<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
{{documentation}}<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 22:21, 29 August 2020

          Other talkpage banners
Template documentation[view] [edit] [history] [purge]

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

Choosing banners to collapse

The choice of which banners to collapse is left up to editors' discretion. However, here are some general pointers:

Generally collapsed

Generally not collapsed

See also