|
|
(2 intermediate revisions by the same user not shown) |
Line 3: |
Line 3: |
| === Usage === | | === Usage === |
| A template standardizing the portal templates and for other purposes. | | A template standardizing the portal templates and for other purposes. |
|
| |
| {{TemplateDataHeader}}
| |
| <templatedata>
| |
| {
| |
| "params": {
| |
| "border-type": {
| |
| "required": false,
| |
| "label": "Border-type"
| |
| },
| |
| "titleborder": {
| |
| "required": false,
| |
| "label": "Titleborder"
| |
| },
| |
| "border": {
| |
| "required": false,
| |
| "label": "Border"
| |
| },
| |
| "border-top": {
| |
| "required": false,
| |
| "label": "Border-top"
| |
| },
| |
| "border-width": {
| |
| "required": false,
| |
| "label": "Border-width"
| |
| },
| |
| "titlebackground": {
| |
| "required": false,
| |
| "label": "Titlebackground"
| |
| },
| |
| "titleforeground": {
| |
| "required": false,
| |
| "label": "Titleforeground"
| |
| },
| |
| "padding": {
| |
| "required": false,
| |
| "label": "Padding"
| |
| },
| |
| "padding-top": {
| |
| "required": false,
| |
| "label": "Padding-top"
| |
| },
| |
| "padding-left": {
| |
| "required": false,
| |
| "label": "Padding-left"
| |
| },
| |
| "padding-right": {
| |
| "required": false,
| |
| "label": "Padding-right"
| |
| },
| |
| "padding-bottom": {
| |
| "required": false,
| |
| "label": "Padding-bottom"
| |
| },
| |
| "title-align": {
| |
| "required": false,
| |
| "label": "Title-align"
| |
| },
| |
| "font-family": {
| |
| "required": false,
| |
| "label": "Font-family"
| |
| },
| |
| "titlefont-size": {
| |
| "required": false,
| |
| "label": "Titlefont-size"
| |
| },
| |
| "EDITLINK": {
| |
| "required": false,
| |
| "label": "EDITLINK"
| |
| },
| |
| "font-size": {
| |
| "required": false,
| |
| "label": "Font-size"
| |
| },
| |
| "noedit": {
| |
| "required": false,
| |
| "label": "Noedit"
| |
| },
| |
| "editpage": {
| |
| "required": false,
| |
| "label": "Editpage"
| |
| },
| |
| "section": {
| |
| "required": false,
| |
| "label": "Section"
| |
| },
| |
| "viewpage": {
| |
| "required": false,
| |
| "label": "Viewpage"
| |
| },
| |
| "top": {
| |
| "required": false,
| |
| "label": "Top"
| |
| },
| |
| "SPAN": {
| |
| "required": false,
| |
| "label": "SPAN"
| |
| },
| |
| "title-font-family": {
| |
| "required": false,
| |
| "label": "Title-font-family"
| |
| },
| |
| "title-font-size": {
| |
| "required": false,
| |
| "label": "Title-font-size"
| |
| },
| |
| "title-font-weight": {
| |
| "required": false,
| |
| "label": "Title-font-weight"
| |
| },
| |
| "extra": {
| |
| "required": false,
| |
| "label": "Extra"
| |
| },
| |
| "title": {
| |
| "required": true,
| |
| "label": "Title"
| |
| },
| |
| "background": {
| |
| "required": false,
| |
| "label": "Background"
| |
| },
| |
| "background-opacity": {
| |
| "required": false,
| |
| "label": "Background-opacity"
| |
| },
| |
| "foreground": {
| |
| "required": false,
| |
| "label": "Foreground"
| |
| },
| |
| "text-align": {
| |
| "required": false,
| |
| "label": "Text-align"
| |
| },
| |
| "TOC": {
| |
| "required": false,
| |
| "label": "TOC"
| |
| },
| |
| "EDIT": {
| |
| "required": false,
| |
| "label": "EDIT"
| |
| }
| |
| }
| |
| }
| |
| </templatedata>
| |
|
| |
|
|
| |
|
Line 184: |
Line 40: |
| </pre> | | </pre> |
|
| |
|
| === Sample ===
| |
|
| |
| <pre>
| |
| {{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...]] }}
| |
| </pre>
| |
|
| |
| {{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...]] }}
| |
|
| |
| === See also ===
| |
|
| |
| [[Template:Box-footer|<code>Box-footer</code>]]
| |
|
| |
| == Box-header color palettes ==
| |
|
| |
| The following box-headers are examples of [[HSL and HSV|HSV]] color palettes arranged by [[hue]]. They can be copied to your portal's <code>/box-header</code> subpage.
| |
|
| |
| {{center|
| |
| '''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]]
| |
| {{Box-header/1}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/2]]
| |
| {{Box-header/2}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/3]]
| |
| {{Box-header/3}}
| |
| {{Box-footer}}
| |
|
| |
| === H30 ===
| |
|
| |
| [[Template:Box-header/4]]
| |
| {{Box-header/4}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/5]]
| |
| {{Box-header/5}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/6]]
| |
| {{Box-header/6}}
| |
| {{Box-footer}}
| |
|
| |
| === H60 ===
| |
|
| |
| {{center|
| |
| '''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]]
| |
| {{Box-header/7}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/8]]
| |
| {{Box-header/8}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/9]]
| |
| {{Box-header/9}}
| |
| {{Box-footer}}
| |
|
| |
| === H60 ===
| |
| [[Template:Box-header/10]]
| |
| {{Box-header/10}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/11]]
| |
| {{Box-header/11}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/12]]
| |
| {{Box-header/12}}
| |
| {{Box-footer}}
| |
|
| |
| === H90 ===
| |
|
| |
| [[Template:Box-header/13]]
| |
| {{Box-header/13}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/14]]
| |
| {{Box-header/14}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/15]]
| |
| {{Box-header/15}}
| |
| {{Box-footer}}
| |
|
| |
| === H120 ===
| |
| [[Template:Box-header/16]]
| |
| {{Box-header/16}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/17]]
| |
| {{Box-header/17}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/18]]
| |
| {{Box-header/18}}
| |
| {{Box-footer}}
| |
|
| |
| === H150 ===
| |
| [[Template:Box-header/19]]
| |
| {{Box-header/19}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/20]]
| |
| {{Box-header/20}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/21]]
| |
| {{Box-header/21}}
| |
| {{Box-footer}}
| |
|
| |
| === H180 ===
| |
| [[Template:Box-header/22]]
| |
| {{Box-header/22}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/23]]
| |
| {{Box-header/23}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/24]]
| |
| {{Box-header/24}}
| |
| {{Box-footer}}
| |
|
| |
| === H210 ===
| |
| [[Template:Box-header/25]]
| |
| {{Box-header/25}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/26]]
| |
| {{Box-header/26}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/27]]
| |
| {{Box-header/27}}
| |
| {{Box-footer}}
| |
|
| |
| === H240 ===
| |
| [[Template:Box-header/28]]
| |
| {{Box-header/28}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/29]]
| |
| {{Box-header/29}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/30]]
| |
| {{Box-header/30}}
| |
| {{Box-footer}}
| |
|
| |
| === H270 ===
| |
| [[Template:Box-header/31]]
| |
| {{Box-header/31}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/32]]
| |
| {{Box-header/32}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/33]]
| |
| {{Box-header/33}}
| |
| {{Box-footer}}
| |
|
| |
| === H300 ===
| |
| [[Template:Box-header/34]]
| |
| {{Box-header/34}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/35]]
| |
| {{Box-header/35}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/36]]
| |
| {{Box-header/36}}
| |
| {{Box-footer}}
| |
|
| |
| === H330 ===
| |
| [[Template:Box-header/37]]
| |
| {{Box-header/37}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/38]]
| |
| {{Box-header/38}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/39]]
| |
| {{Box-header/39}}
| |
| {{Box-footer}}
| |
|
| |
| === H0 S0 ===
| |
|
| |
| {{center|
| |
| '''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]]
| |
| {{Box-header/40}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/41]]
| |
| {{Box-header/41}}
| |
| {{Box-footer}}
| |
|
| |
| [[Template:Box-header/42]]
| |
| {{Box-header/42}}
| |
| {{Box-footer}}
| |
|
| |
|
| == See also ==
| |
| {{Portal template list}}
| |
|
| |
|
| <includeonly> | | <includeonly> |
| [[Category:Wikipedia Portal templates]]
| |
| [[Category:Box templates]] | | [[Category:Box templates]] |
| </includeonly> | | </includeonly> |