This template is used on approximately 5,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
A template standardizing the portal templates 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.
The template is not a stand-alone template and so once the box header is typed or pasted the template
Box-footer
must immediately
follow it.
This example assumes that you have a separate page containing the content, and transclude it onto the page.
{{Box-header
| 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 --> }}
{{Box-footer | 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.
{{Box-header
| title=
| editpage= <!-- This field must be the same as the name of the page it is on. -->
| titleforeground=
| titlebackground=
| background=
}}
Box Content
{{Box-footer | text }}
{{Box-header
| title= The Quotes of Quotes
| editpage= Box-header/sample
| titleforeground= white
| titlebackground= #36c
| background= white
}}
{{Box-header/sample}}
{{Box-footer| [[William Shakespeare|more...]] }}
Doubt thou the stars are fire. Doubt that the sun doth move. Doubt truth to be a liar. But never doubt my love.
{{
Box-header}}
is used.|noedit=yes
(or any non-blank value) to hide this. The "edit" link is also hidden if |EDITLINK=
is non-blank.|section=2
|title=Portals
|EDITLINK=
is non-blank.|EDITLINK=
is non-blank.|EDIT=yes
(or any non-blank value) to override this.|EDITLINK=no
(or any non-blank value) to hide the "edit" and "view" links, and the text after those<h2>...</h2>
tags. Set |SPAN=yes
(or any non-blank value) to use <span>...</span>
tags instead.|TOC=yes
(or any non-blank value) to override this.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.
{{
Box-footer}}
Colour combinations with poor accessibility (i.e. that are not MOS:COLOR-compliant) are tracked in the following categories:
The following box-headers are examples of
HSV color palettes arranged by
hue. They can be copied to your portal's /box-header
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
Border: H60/S15/V75 • Background: H60/S4/V100 • Header 1: H60/S40/V100 • Header 2: H60/S15/V100 • Header 3: H60/S10/V100
Border: H0/S0/V75 • Background: H0/S0/V100 • Header 1: H0/S0/V75 • Header 2: H0/S0/V85 • Header 3: H0/S0/V95
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the
TemplateData for this template used by
TemplateWizard,
VisualEditor and other tools.
See a monthly parameter usage report for
Template:Box-header in articles based on its TemplateData.
TemplateData for Box-header No description.
|
Portal content templates
Main portal page formatting templates
Templates that configure links
Selected page templates, used on subpages of older portals
Related templates
This template is used on approximately 5,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
A template standardizing the portal templates 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.
The template is not a stand-alone template and so once the box header is typed or pasted the template
Box-footer
must immediately
follow it.
This example assumes that you have a separate page containing the content, and transclude it onto the page.
{{Box-header
| 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 --> }}
{{Box-footer | 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.
{{Box-header
| title=
| editpage= <!-- This field must be the same as the name of the page it is on. -->
| titleforeground=
| titlebackground=
| background=
}}
Box Content
{{Box-footer | text }}
{{Box-header
| title= The Quotes of Quotes
| editpage= Box-header/sample
| titleforeground= white
| titlebackground= #36c
| background= white
}}
{{Box-header/sample}}
{{Box-footer| [[William Shakespeare|more...]] }}
Doubt thou the stars are fire. Doubt that the sun doth move. Doubt truth to be a liar. But never doubt my love.
{{
Box-header}}
is used.|noedit=yes
(or any non-blank value) to hide this. The "edit" link is also hidden if |EDITLINK=
is non-blank.|section=2
|title=Portals
|EDITLINK=
is non-blank.|EDITLINK=
is non-blank.|EDIT=yes
(or any non-blank value) to override this.|EDITLINK=no
(or any non-blank value) to hide the "edit" and "view" links, and the text after those<h2>...</h2>
tags. Set |SPAN=yes
(or any non-blank value) to use <span>...</span>
tags instead.|TOC=yes
(or any non-blank value) to override this.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.
{{
Box-footer}}
Colour combinations with poor accessibility (i.e. that are not MOS:COLOR-compliant) are tracked in the following categories:
The following box-headers are examples of
HSV color palettes arranged by
hue. They can be copied to your portal's /box-header
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
Border: H60/S15/V75 • Background: H60/S4/V100 • Header 1: H60/S40/V100 • Header 2: H60/S15/V100 • Header 3: H60/S10/V100
Border: H0/S0/V75 • Background: H0/S0/V100 • Header 1: H0/S0/V75 • Header 2: H0/S0/V85 • Header 3: H0/S0/V95
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
This is the
TemplateData for this template used by
TemplateWizard,
VisualEditor and other tools.
See a monthly parameter usage report for
Template:Box-header in articles based on its TemplateData.
TemplateData for Box-header No description.
|
Portal content templates
Main portal page formatting templates
Templates that configure links
Selected page templates, used on subpages of older portals
Related templates