টেমপ্লেট:বাক্স-হেডার

উইকিসংকলন থেকে
টেমপ্লেট নথি[দেখুন] [সম্পাদনা] [ইতিহাস] [শোধন]

Usage

A টেমপ্লেট standardizing the portal টেমপ্লেটs and for other purposes. If used for other purposes, note that if the TOC and EDIT parameters are missing or not set to yes, the table of contents and all section editing will be suppressed.

Syntax

The টেমপ্লেট is not a stand-alone টেমপ্লেট and so once the box header is typed or pasted the টেমপ্লেট বাক্স-ফুটার must immediately follow it.

This example assumes that you have a separate page containing the content, and transclude it onto the page.

{{বাক্স-হেডার
| title=
| editpage=  <!-- This data must be the same  -->
| noedit=
| titleforeground=
| titlebackground=
| background=
| viewpage= <!-- This data must be the same  -->
}}

{{ <!-- This data must be the same --> }}

{{বাক্স-ফুটার | text }}

This example assumes that the content is entered between the header and footer. Notice that viewpage is not in there. It will not work because it links to the page you are on, and therefore Wikipedia does not link it.

{{বাক্স-হেডার
| title=
| editpage=  <!-- This field must be the same as the name of the page it is on. -->
| titleforeground=
| titlebackground=
| background=
}}

Box Content

{{বাক্স-ফুটার | text }}

Sample

{{বাক্স-হেডার
| title= The Quotes of Quotes
| editpage= বাক্স-হেডার/sample
| titleforeground= white
| titlebackground= #36c
| background= white
}}

{{বাক্স-হেডার/sample}}

{{বাক্স-ফুটার| [[লেখক:উইলিয়াম শেকসপিয়র|more...]] }}

The Quotes of Quotes

Primary parameters

  • editpage – by default, the "edit" link applies to the page named টেমপ্লেট:বাক্স-হেডার/. Use this parameter to specify a different page to edit. This will normally be the page where the {{বাক্স-হেডার}} is used.
  • noedit – by default, an "edit" link is shown towards the right-hand side. Specify |noedit=yes (or any non-blank value) to hide this. The "edit" link is also hidden if |EDITLINK= is non-blank.
  • section – by default, the "edit" link applies to the whole page. Use this parameter to specify the number of a specific section, e.g. |section=2
  • title – the title of the box, for example |title=Portals
  • top – extra text to display after the "edit" and "view" links. Hidden if |EDITLINK= is non-blank.
  • viewpage – if non-blank, this should be a valid Wikipedia page name, it creates a "view" link after the "edit" link. Hidden if |EDITLINK= is non-blank.

Behaviour options

  • EDIT – by default, all section edit links are suppressed. Set |EDIT=yes (or any non-blank value) to override this.
  • EDITLINK – set |EDITLINK=no (or any non-blank value) to hide the "edit" and "view" links, and the text after those
  • SPAN – by default, the box title is enclosed in <h2>...</h2> tags. Set |SPAN=yes (or any non-blank value) to use <span>...</span> tags instead.
  • TOC – by default, the table of contents is suppressed. Set |TOC=yes (or any non-blank value) to override this.

Styling options

  • background
  • background-opacity
  • border
  • border-top
  • border-type
  • border-width
  • extra
  • font-family
  • font-size
  • foreground
  • padding
  • padding-top
  • padding-left
  • padding-right
  • padding-bottom
  • text-align
  • title-align
  • titlebackground
  • titleborder
  • title-font-family
  • title-font-size
  • titlefont-size
  • title-font-weight
  • titleforeground
  • title-border-radius
  • border-radius

These are all used to set CSS styling properties, in many cases the property of the same name – for instance, |background= is used to set the 'background' property.

See also

Tracking categories

Colour combinations with poor accessibility (i.e. that are not MOS:COLOR-compliant) are tracked in the following categories:


বাক্স-হেডার color palettes

The following বাক্স-হেডারs are examples of HSV color palettes arranged by hue. They can be copied to your portal's /বাক্স-হেডার subpage, or used directly on the portal page (preferred). Note that the second parameter for the edit link is optional; if not defined then no link will be displayed.

Border: Hn/S15/V75 • Background: Hn/S4/V100 • Header 1: Hn/S40/V85 • Header 2: Hn/S15/V95 • Header 3: Hn/S10/V100

H0

টেমপ্লেট:বাক্স-হেডার/১

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩

{{{1}}}

H30

টেমপ্লেট:বাক্স-হেডার/৪

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৫

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৬

{{{1}}}

H60

Border: H60/S15/V75 • Background: H60/S4/V100 • Header 1: H60/S40/V100 • Header 2: H60/S15/V100 • Header 3: H60/S10/V100

টেমপ্লেট:বাক্স-হেডার/৭

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৮

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৯

{{{1}}}

H60

টেমপ্লেট:বাক্স-হেডার/১০

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১১

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১২

{{{1}}}

H90

টেমপ্লেট:বাক্স-হেডার/১৩

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১৪

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১৫

{{{1}}}

H120

টেমপ্লেট:বাক্স-হেডার/১৬

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১৭

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/১৮

{{{1}}}

H150

টেমপ্লেট:বাক্স-হেডার/১৯

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২০

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২১

{{{1}}}

H180

টেমপ্লেট:বাক্স-হেডার/২২সা

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২২

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৩

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৪

{{{1}}}

H210

টেমপ্লেট:বাক্স-হেডার/২৫

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৬

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৭

{{{1}}}

H240

টেমপ্লেট:বাক্স-হেডার/২৮সা

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৮

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/২৯

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩০

{{{1}}}

H270

টেমপ্লেট:বাক্স-হেডার/৩১

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩২

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩৩

{{{1}}}

H300

টেমপ্লেট:বাক্স-হেডার/৩৪

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩৫

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩৬

{{{1}}}

H330

টেমপ্লেট:বাক্স-হেডার/৩৭

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩৮

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৩৯

{{{1}}}

H0 S0

Border: H0/S0/V75 • Background: H0/S0/V100 • Header 1: H0/S0/V75 • Header 2: H0/S0/V85 • Header 3: H0/S0/V95

টেমপ্লেট:বাক্স-হেডার/৪০সা

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৪০

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৪১

{{{1}}}

টেমপ্লেট:বাক্স-হেডার/৪২

{{{1}}}