Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Basic syntax  





1.2  All parameters  



1.2.1  Optional parameters  









2 Examples  





3 Choosing banners to collapse  





4 See also  














Template:Banner holder






العربية

Bahasa Indonesia
Kurdî
Bahasa Melayu



Slovenščina
Tiếng Vit
 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


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

  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..
  3. Adding |image=file name (not including the 'Image:' or 'File' prefix) changes the puzzle piece to the specified image.
  4. Adding |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:

    {{Banner holder |collapsed=yes |text=This page contains text [[WP:CWW|copied]]or[[WP:TFOLWP|translated]] from other articles |image=Merge-arrow-3.svg |size=36|
    {{Copied |from=SRC |from_oldid=rev |to=DEST |to_diff=dest-rev |to_oldid=prev-rev |date=DATE}}
    {{translated page|de|ICE 1|version=45565777|insertversion=210289191}}
    }}
    
    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


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Banner_holder&oldid=1220021167"

    Categories: 
    Lua-based templates
    Templates using TemplateStyles
    Talk message boxes
    Non-subject-matter-related article-talk header templates
    WikiProject banner templates
    Template shell templates
    Hidden categories: 
    Wikipedia template-protected templates
    Wikipedia pages using copied template
    Templates that are not mobile friendly
     



    This page was last edited on 21 April 2024, at 09:53 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki