साँचा:Divbox/doc
< साँचा:Divbox
नेविगेशन पर जाएँ
खोज पर जाएँ
imported>Mayur द्वारा परिवर्तित १८:४६, २५ जुलाई २०११ का अवतरण (1 अवतरण: Imported missing template per special:Wantedtemplates)
This template is used to create coloured text background.
Usage
{{divbox|color of box|Headtitle|Message}}
The parameter radius may be added for rounded corners using standard units, for example radius=8px. This parameter is considered a complex style and is unsuitable for articles.
Available styles
amber
black
bloodred
blue
brown
forest
gold
gray
green
navy
none
orange
plain
purple
lilac
red
white
yellow
fawn
tt
greenv
grayh
email
double
wordperfect
- Notes
- The color names are case-dependent; they will not work if upper-case letters are used.
- plain, double, tt and none inherit the page background colour whilst white forces a pure white background.
- Note that complex styles should only be used on user pages, essays and project pages.
Examples
- Code
{{divbox|orange|Orange example|This is only an example of how this template works.}}
- Result
- Code
{{divbox|navy|radius=4em|Navy example|This is only an example of how this template works.}}
- Result
साँचा:divbox साँचा:div col end
See also
- साँचा:tl (for hiding things)
साँचा:view There are seven metatemplates in the Module:Message box family:
- साँचा:tl, for messageboxes on article pages.
- साँचा:tl, for messageboxes on category pages.
- साँचा:tl, for messageboxes on file (image) pages.
- साँचा:tl, for messageboxes on talk pages.
- साँचा:tl, for header and footer messageboxes.
- साँचा:tl, for messageboxes on other types of page.
- साँचा:tl, for messageboxes that are used in different namespaces and change their presentation accordingly.
Closely related metatemplates:
- साँचा:tl, for messageboxes in article stubs.
- साँचा:tl, for messageboxes on disambiguation or set-index pages.
- साँचा:tla, a simple full-width box with default ivory background intended to frame important messages or notices.