Templat:Portal:Box-header/doc

Revisi sejak 16 April 2022 11.21 oleh Taylorbot (bicara | kontrib) (per BPA : sintaks <br> dan <code> | t=6'429 su=843 in=913 at=851 -- only 3402 edits left of totally 4'246 possible edits | edr=000-0010(!!!) ovr=010-1111 aft=000-0010)
(beda) ← Revisi sebelumnya | Revisi terkini (beda) | Revisi selanjutnya → (beda)

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-footer

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

Templat:Box-header/1

{{{1}}}

Templat:Box-header/2

{{{1}}}

Templat:Box-header/3

{{{1}}}

Templat:Box-header/4

{{{1}}}

Templat:Box-header/5

{{{1}}}

Templat:Box-header/6

{{{1}}}

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

Templat:Box-header/7

{{{1}}}

Templat:Box-header/8

{{{1}}}

Templat:Box-header/9

{{{1}}}

Templat:Box-header/10

{{{1}}}

Templat:Box-header/11

{{{1}}}

Templat:Box-header/12

{{{1}}}

Templat:Box-header/13

{{{1}}}

Templat:Box-header/14

{{{1}}}

Templat:Box-header/15

{{{1}}}

Templat:Box-header/16

{{{1}}}

Templat:Box-header/17

{{{1}}}

Templat:Box-header/18

{{{1}}}

Templat:Box-header/19

{{{1}}}

Templat:Box-header/20

{{{1}}}

Templat:Box-header/21

{{{1}}}

Templat:Box-header/22

{{{1}}}

Templat:Box-header/23

{{{1}}}

Templat:Box-header/24

{{{1}}}

Templat:Box-header/25

{{{1}}}

Templat:Box-header/26

{{{1}}}

Templat:Box-header/27

{{{1}}}

Templat:Box-header/28

{{{1}}}

Templat:Box-header/29

{{{1}}}

Templat:Box-header/30

{{{1}}}

Templat:Box-header/31

{{{1}}}

Templat:Box-header/32

{{{1}}}

Templat:Box-header/33

{{{1}}}

Templat:Box-header/34

{{{1}}}

Templat:Box-header/35

{{{1}}}

Templat:Box-header/36

{{{1}}}

Templat:Box-header/37

{{{1}}}

Templat:Box-header/38

{{{1}}}

Templat:Box-header/39

{{{1}}}

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

Templat:Box-header/40

{{{1}}}

Templat:Box-header/41

{{{1}}}

Templat:Box-header/42

{{{1}}}