साँचा:Divbox
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
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
See also
संपादित करें- {{divhide}} (for hiding things)
There are several meta-templates in the mbox family:
- {{ambox}} – For article message boxes.
- {{tmbox}} – For talk page message boxes.
- {{imbox}} – For file (image) page message boxes.
- {{cmbox}} – For category message boxes.
- {{ombox}} – For other pages message boxes.
- {{mbox}} – Has namespace detection, for message boxes that are used on several types of pages and thus need to change style depending on what page they are used on.
Closely related meta-templates:
ऊपर दिए गए निर्देश साँचा:Divbox/doc से लिए गए है।(संपादन | इतिहास) संपादक इस साँचे के प्रयोगस्थल व प्रयोग पन्नों में प्रयोग कर सकते है। sandbox (create) and testcases (create) pages. कृपया /doc उपपृष्ठ पर श्रेणियाँ व विकियों के बिच की कड़ियाँ जोड़े। इस साँचे के उपपृष्ठ। |