From Wikipedia, the free encyclopedia
This is a documentation subpage for User:UzEE/Display box (see that page for the user itself).
It contains usage information,
categories and other content that is not part of the original user page.
This template is designed to create display boxes on user pages. It can be configured to display almost anything within the box.
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:
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. |
Note: Leaving any of the above parameters would set them to the default values. The result can be seen above.
[edit] Examples
- Default with no parameters:
{{User:UzEE/Display box}}
Display Box by UzEE
|
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}}
Display Box by UzEE
|
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}}}}
Navigation
|
|
|
[edit] See also