Template:Box-header/doc

From BoyWiki


Usage

A template standardizing the portal templates and for other purposes.


Syntax

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

{{Box-header
| title= The Quotes of Quotes
| editpage= Box-header/sample
| titleforeground= white
| titlebackground= red
| background= white
}}

{{Box-header/sample}}

{{Box-footer| [[William Shakespeare|more...]] }}

The Quotes of Quotes

See also

Box-footer

Box-header color palettes

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

Template:Box-header/1 Template:Box-header/1

Template:Box-header/2 Template:Box-header/2

Template:Box-header/3 Template:Box-header/3

H30

Template:Box-header/4 Template:Box-header/4

Template:Box-header/5 Template:Box-header/5

Template:Box-header/6 Template:Box-header/6

H60

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

Template:Box-header/7 Template:Box-header/7

Template:Box-header/8 Template:Box-header/8

Template:Box-header/9 Template:Box-header/9

H60

Template:Box-header/10 Template:Box-header/10

Template:Box-header/11 Template:Box-header/11

Template:Box-header/12 Template:Box-header/12

H90

Template:Box-header/13 Template:Box-header/13

Template:Box-header/14 Template:Box-header/14

Template:Box-header/15 Template:Box-header/15

H120

Template:Box-header/16 Template:Box-header/16

Template:Box-header/17 Template:Box-header/17

Template:Box-header/18 Template:Box-header/18

H150

Template:Box-header/19 Template:Box-header/19

Template:Box-header/20 Template:Box-header/20

Template:Box-header/21 Template:Box-header/21

H180

Template:Box-header/22 Template:Box-header/22

Template:Box-header/23 Template:Box-header/23

Template:Box-header/24 Template:Box-header/24

H210

Template:Box-header/25 Template:Box-header/25

Template:Box-header/26 Template:Box-header/26

Template:Box-header/27 Template:Box-header/27

H240

Template:Box-header/28 Template:Box-header/28

Template:Box-header/29 Template:Box-header/29

Template:Box-header/30 Template:Box-header/30

H270

Template:Box-header/31 Template:Box-header/31

Template:Box-header/32 Template:Box-header/32

Template:Box-header/33 Template:Box-header/33

H300

Template:Box-header/34 Template:Box-header/34

Template:Box-header/35 Template:Box-header/35

Template:Box-header/36 Template:Box-header/36

H330

Template:Box-header/37 Template:Box-header/37

Template:Box-header/38 Template:Box-header/38

Template:Box-header/39 Template:Box-header/39

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

Template:Box-header/40 Template:Box-header/40

Template:Box-header/41 Template:Box-header/41

Template:Box-header/42 Template:Box-header/42

See also

Template:Portal template list