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

From blackwiki
Jump to navigation Jump to search
imported>Mathglot
imported>Sdkb
(adding what's generally collapsed and not collapsed)
Line 25: Line 25:
 
# Adding {{para|collapsed|yes}} will cause the outer table to be collapsed, hiding the banners. Adding {{para|collapsed|no}} (the default) will cause the outer table not to be collapsed, showing the banners.
 
# Adding {{para|collapsed|yes}} will cause the outer table to be collapsed, hiding the banners. Adding {{para|collapsed|no}} (the default) will cause the outer table not to be collapsed, showing the banners.
 
# Adding {{para|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 {{para|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'''
 +
* {{tl|Copied}}
 +
* {{tl|Split article}} and {{tl|afd-merged-from}}
 +
* {{tl|Old afd}} and {{tl|Old moves}}
 +
* {{tl|top 25 report}}
 +
* {{tl|WikiEd assignment}}
 +
* {{tl|Requested photo}}
 +
* {{tl|section sizes}}
 +
 +
'''Generally not collapsed'''
 +
*{{tl|talk header}}
 +
*{{tl|article history}}
 +
*{{tl|WikiProject banner shell}}
 +
*{{tl|auto archiving notice}}
 +
*Varieties of English tag
 +
*Arbitration enforcement notice
 +
*{{tl|blp}}
 +
*{{tl|FAQ}}
 +
*{{tl|To do}}
  
 
==See also==
 
==See also==

Revision as of 18:18, 22 September 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..

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