Template:Box-header

From PortlandWiki
Jump to navigation Jump to search

{{{title}}}

[edit] [history] [purge] Documentation icon Template documentation

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]] }}

The Quotes of Quotes

Doubt thou the stars are fire. Doubt that the sun doth move. Doubt truth to be a liar. But never doubt my love.

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

{{{1}}}

Template:Box-header/2

{{{1}}}

Template:Box-header/3

{{{1}}}

H30

Template:Box-header/4

{{{1}}}

Template:Box-header/5

{{{1}}}

Template:Box-header/6

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

Template:Box-header/7

{{{1}}}

Template:Box-header/8

{{{1}}}

Template:Box-header/9

{{{1}}}

H60

Template:Box-header/10

{{{1}}}

Template:Box-header/11

{{{1}}}

Template:Box-header/12

{{{1}}}

H90

Template:Box-header/13

{{{1}}}

Template:Box-header/14

{{{1}}}

Template:Box-header/15

{{{1}}}

H120

Template:Box-header/16

{{{1}}}

Template:Box-header/17

{{{1}}}

Template:Box-header/18

{{{1}}}

H150

Template:Box-header/19

{{{1}}}

Template:Box-header/20

{{{1}}}

Template:Box-header/21

{{{1}}}

H180

Template:Box-header/22

{{{1}}}

Template:Box-header/23

{{{1}}}

Template:Box-header/24

{{{1}}}

H210

Template:Box-header/25

{{{1}}}

Template:Box-header/26

{{{1}}}

Template:Box-header/27

{{{1}}}

H240

Template:Box-header/28

{{{1}}}

Template:Box-header/29

{{{1}}}

Template:Box-header/30

{{{1}}}

H270

Template:Box-header/31

{{{1}}}

Template:Box-header/32

{{{1}}}

Template:Box-header/33

{{{1}}}

H300

Template:Box-header/34

{{{1}}}

Template:Box-header/35

{{{1}}}

Template:Box-header/36

{{{1}}}

H330

Template:Box-header/37

{{{1}}}

Template:Box-header/38

{{{1}}}

Template:Box-header/39

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

Template:Box-header/40

{{{1}}}

Template:Box-header/41

{{{1}}}

Template:Box-header/42

{{{1}}}

ar:بوابة:Box-header an:Portal:Box-header as:Portal:Box-header az:Şablon:Portal:Box-header bs:Portal:Box-header ca:Portal:Box-header cs:Portál:Box-header da:Portal:Box-header de:Portal:Box-header dv:Portal:Box-header et:Portaal:Portaalikasti päis es:Portal:Box-header hr:Portal:Box-header hu:Portál:Matematika/Portál/Box-header id:Portal:Box-header it:Template:Box-testata mk:Портал:Box-header ms:Portal:Box-header ja:Portal:Box-header nn:Mal:Box-header pl:Portal:Nagłówek pt:Portal:Box-header ru:Портал:Box-header sl:Portal:Polje-glava sv:Portal:Box-header uk:Шаблон:Портал:Box-header th:แม่แบบ:หัวกล่อง vi:Chủ đề:Box-header zh-yue:Portal:Box-header zh:Portal:Box-header

The above documentation is transcluded from Template:Box-header/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.