Templat:Portal:Box-header/doc
Usage sunting
A template standardizing the portal templates and for other purposes.
Syntax sunting
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 --> | 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 }}
Sample sunting
{{Box-header | title= The Quotes of Quotes | editpage= Box-header/sample | titleforeground= white | titlebackground= red | background= white }} {{Box-header/sample}} {{Box-footer| [[William Shakespeare]] }}
The Quotes of Quotes
See Also sunting
Box-header color palettes sunting
The following box-headers are examples of HSV color palettes arranged by hue. They can be copied to your portal's /box-header
subpage.
Border: Hn/S15/V75 • Background: Hn/S4/V100 • Header 1: Hn/S40/V85 • Header 2: Hn/S15/V95 • Header 3: Hn/S10/V100
H0 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H30 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H60 sunting
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 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H90 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H120 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H150 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H180 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H210 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H240 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H270 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H300 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H330 sunting
{{{1}}}
{{{1}}}
{{{1}}}
H0 S0 sunting
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}}}