User:Capsulecap/Talk banner/doc

This template serves as an alternative to Template:Talk header and similar templates. It is moderately customizable, allowing for certain stylistic decisions and custom text. It also supports putting other templates on the same line (see Using with other templates).

Parameters

Parameter Type Description Default value
width CSS size Width of the banner 65vw
height CSS size Height of the banner 167px
bc CSS or hex color Color of the border #AAAABB
bgc CSS or hex color Color of the main background #F9F9FA
tbgc CSS or hex color Color of the talk page topic tip #FFFFE0 (lightyellow)
nocenter Boolean When true: The banner will not be centered false
nomargin Boolean When true: The banner will not have a 10px margin above it false
image Image file on Commons Image displayed next to the header Nuvola apps edu languages.svg
header Text Header of the banner Welcome to my talk page!
extra Text Any details you would like to add

Examples

A basic example of customization:

    Hello, world!
To create a new topic, press "Add topic" to the right of the page header.

- Please be civil to other users and seek dispute resolution if necessary.
- If you are confused about something on Wikipedia, feel free to ask me.
- Have fun!


Using the <br> tag, you can add multiple more points in extra.

    Welcome to my talk page!
To create a new topic, press "Add topic" to the right of the page header.

- Please be civil to other users and seek dispute resolution if necessary.
- If you are confused about something on Wikipedia, feel free to ask me.
- One
- Two


You can also add regular paragraphs with the extra parameter.

    Welcome to my talk page!
To create a new topic, press "Add topic" to the right of the page header.

- Please be civil to other users and seek dispute resolution if necessary.
- If you are confused about something on Wikipedia, feel free to ask me.
- One
Two, three, four


Using with other templates

Although using this template with other talk page templates such as Template:Archives is a bit more complicated, it is still fairly simple. This example puts Template:Archives and this template on the same line using a table. You may have to adjust the width parameter. Since the % CSS unit uses the size of the tag's parent (in this case the table) instead of the size of the viewport, you probably would want to use the viewport width (vw) unit instead to ensure that the width is proportional across multiple resolutions.

    Welcome to my talk page!
To create a new topic, press "Add topic" to the right of the page header.

- Please be civil to other users and seek dispute resolution if necessary.
- If you are confused about something on Wikipedia, feel free to ask me.

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.