User:UzEE/Display box
From Wikipedia, the free encyclopedia
The contents of the template go here. You can place almost anything you like here.
This template is designed to create display boxes on user pages. It can be configured to display almost anything within the box.
Usage
The display box always fills the entire horizontal width. You can modify its size and position by using tags <div></div>
and CSS styles. This template takes the following parameters:
More information Parameter, Description ...
Parameter | Description | Example |
---|---|---|
border | The color for the border around the box. | border=green, border=#61AD23 |
text_back | The background color for the main box. | text_back=white, text_back=#fffff |
title_back | The background color of the caption/title box. | text_back=blue, text_back=#adbeff |
icon | The icon image for the box. | icon=tick.svg |
title | The caption text for the box. | This can include any WikiCode. |
contents | The contents of the box. | This can include any WikiCode. |
Close
Note: Leaving any of the above parameters would set them to the default values. The result can be seen above.
Examples
- Default with no parameters:
{{User:UzEE/Display box}}
The contents of the template go here. You can place almost anything you like here.
- Changing the colors with default text:
{{User:UzEE/Display box|border=#6CD100|text_back=#ffffff|title_back=#E6FFCC}}
The contents of the template go here. You can place almost anything you like here.
- This is the Navigation Box I am using on my Userpage:
{{User:UzEE/Display box|border=#B1CDEB|text_back=#ffffff|title_back=#cedff2|icon=Crystal_noatun.png|title=Navigation|contents={{User:UzEE/Navigator}}}}
{| style="font-size:10pt;text-align:center; font-family:Arial, Calibri, Vandara; font-decoration:bold; padding:10px 0px 15px 0px; margin-bottom:20px;background-color:transparent;margin:auto;" align="center"
| | | | | | | |- | | | | | | | |- |My User Page |Leave a Message |My Userboxes |Article Reviews |My Toybox |My Awards |Email Me
|}See also
The above documentation is transcluded from User:UzEE/Display box/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this page.