ढाँचा:Portal:Box-header/कागजात
Usage
A template standardizing the portal templates and for other purposes. If used for other purposes, note that if the TOC and EDIT parameters are missing or not set to yes, the table of contents and all section editing will be suppressed.
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
Primary parameters
- editpage – by default, the "edit" link applies to the page named ढाँचा:Portal:Box-header/कागजात/. Use this parameter to specify a different page to edit. This will normally be the page where the
{{Box-header}}
is used. - noedit – by default, an "edit" link is shown towards the right-hand side. Specify
|noedit=yes
(or any non-blank value) to hide this. The "edit" link is also hidden if|EDITLINK=
is non-blank. - section – by default, the "edit" link applies to the whole page. Use this parameter to specify the number of a specific section, e.g.
|section=2
- title – the title of the box, for example
|title=Portals
- top – extra text to display after the "edit" and "view" links. Hidden if
|EDITLINK=
is non-blank. - viewpage – if non-blank, this should be a valid Wikipedia page name, it creates a "view" link after the "edit" link. Hidden if
|EDITLINK=
is non-blank.
Behaviour options
- EDIT – by default, all section edit links are suppressed. Set
|EDIT=yes
(or any non-blank value) to override this. - EDITLINK – set
|EDITLINK=no
(or any non-blank value) to hide the "edit" and "view" links, and the text after those - SPAN – by default, the box title is enclosed in
<h2>...</h2>
tags. Set|SPAN=yes
(or any non-blank value) to use<span>...</span>
tags instead. - TOC – by default, the table of contents is suppressed. Set
|TOC=yes
(or any non-blank value) to override this.
Styling options
- background –
- background-opacity –
- border –
- border-top –
- border-type –
- border-width –
- extra –
- font-family –
- font-size –
- foreground –
- padding –
- padding-top –
- padding-left –
- padding-right –
- padding-bottom –
- text-align –
- title-align –
- titlebackground –
- titleborder –
- title-font-family –
- title-font-size –
- titlefont-size –
- title-font-weight –
- titleforeground –
These are all used to set CSS styling properties, in many cases the property of the same name – for instance, |background=
is used to set the 'background' property.
See also
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 ढाँचा:Box-header/1
Template:Box-header/2 ढाँचा:Box-header/2
Template:Box-header/3 ढाँचा:Box-header/3
H30
Template:Box-header/4 ढाँचा:Box-header/4
Template:Box-header/5 ढाँचा:Box-header/5
Template:Box-header/6 ढाँचा: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 ढाँचा:Box-header/7
Template:Box-header/8 ढाँचा:Box-header/8
Template:Box-header/9 ढाँचा:Box-header/9
H60
Template:Box-header/10 ढाँचा:Box-header/10
Template:Box-header/11 ढाँचा:Box-header/11
Template:Box-header/12 ढाँचा:Box-header/12
H90
Template:Box-header/13 ढाँचा:Box-header/13
Template:Box-header/14 ढाँचा:Box-header/14
Template:Box-header/15 ढाँचा:Box-header/15
H120
Template:Box-header/16 ढाँचा:Box-header/16
Template:Box-header/17 ढाँचा:Box-header/17
Template:Box-header/18 ढाँचा:Box-header/18
H150
Template:Box-header/19 ढाँचा:Box-header/19
Template:Box-header/20 ढाँचा:Box-header/20
Template:Box-header/21 ढाँचा:Box-header/21
H180
Template:Box-header/22 ढाँचा:Box-header/22
Template:Box-header/23 ढाँचा:Box-header/23
Template:Box-header/24 ढाँचा:Box-header/24
H210
Template:Box-header/25 ढाँचा:Box-header/25
Template:Box-header/26 ढाँचा:Box-header/26
Template:Box-header/27 ढाँचा:Box-header/27
H240
Template:Box-header/28 ढाँचा:Box-header/28
Template:Box-header/29 ढाँचा:Box-header/29
Template:Box-header/30 ढाँचा:Box-header/30
H270
Template:Box-header/31 ढाँचा:Box-header/31
Template:Box-header/32 ढाँचा:Box-header/32
Template:Box-header/33 ढाँचा:Box-header/33
H300
Template:Box-header/34 ढाँचा:Box-header/34
Template:Box-header/35 ढाँचा:Box-header/35
Template:Box-header/36 ढाँचा:Box-header/36
H330
Template:Box-header/37 ढाँचा:Box-header/37
Template:Box-header/38 ढाँचा:Box-header/38
Template:Box-header/39 ढाँचा: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 ढाँचा:Box-header/40
Template:Box-header/41 ढाँचा:Box-header/41
Template:Box-header/42 ढाँचा:Box-header/42
Portal:Box-headerको कागजात
कुनै विवरण छैन।
मापदण्ड | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
Border-type | border-type | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Titleborder | titleborder | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Border | border | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Border-top | border-top | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Border-width | border-width | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Titlebackground | titlebackground | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Titleforeground | titleforeground | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Padding | padding | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Padding-top | padding-top | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Padding-left | padding-left | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Padding-right | padding-right | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Padding-bottom | padding-bottom | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Title-align | title-align | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Font-family | font-family | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Titlefont-size | titlefont-size | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
EDITLINK | EDITLINK | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Font-size | font-size | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Noedit | noedit | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Editpage | editpage | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Section | section | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Viewpage | viewpage | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Top | top | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
SPAN | SPAN | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Title-font-family | title-font-family | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Title-font-size | title-font-size | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Title-font-weight | title-font-weight | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Extra | extra | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Title | title | कुनैपनि विवरण छैन | अज्ञात | आवश्यक |
Background | background | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Background-opacity | background-opacity | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Foreground | foreground | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
Text-align | text-align | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
TOC | TOC | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
EDIT | EDIT | कुनैपनि विवरण छैन | अज्ञात | वैकल्पिक |
See also
- Main portal creation templates
- {{Box portal skeleton}}—Used to create portal main pages.
- {{Random portal component}}—Used on the portal main page to randomly display articles from the portal sub-pages.
- {{Random portal component with nominate}}—Used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.
- {{Random subpage}}—Used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.
- {{Subpage}}—Used to output a box containing a link to subpage.
- {{Numbered subpages}}—Used to create article links on portal sub-pages with 50 links.
- {{25 numbered subpages}}—As hereinbefore, but with 25 links.
- {{75 numbered subpages}}—As hereinbefore, but with 75 links.
- {{100 numbered subpages}}—As hereinbefore, but with 100 links.
- {{Random box-header subpage}}—Used to transclude a numbered subpage.
- Main portal page formatting templates
- {{Boxheader}}
- {{Box-header}}
- {{Box-header1}}
- {{Box-header2}}
- {{Box-Header II}}
- {{Box-header-blank}}
- {{Box-header-groovy}}
- {{Box-header-health}}
- {{Box-header-plain}}
- {{Box-header-round}}
- {{Box-header-square}}
- {{Box-header-watch}}
- {{Boxfooter}}
- {{Box-footer}}
- {{Box-footer2}}
- Templates that configure links
- {{Portal}}
- {{Portal bar}}
- {{Portal-inline}}
- {{Portals}}
- {{Portals browsebar}}
- {{Related portals}}
- {{Related portals2}}
- {{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages
{{Selected X}}—Generic template for situations not listed hereafter.
- {{Selected article}}
- {{Selected biography}}
- {{Selected business}}
- {{Selected DYK}}
- {{Selected ingredient}}
- {{Selected location}}
- {{Selected picture}}
- {{Selected product}}
- {{Selected publication}}
- {{Selected quote}}
- {{Selected recipe}}
- Related templates