This template is designed to create display boxes on user pages. It can be configured to display almost anything within the box.
Usage
editThe 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.
Examples
edit- Default with no parameters:
{{User:UzEE/Display box}}
- Changing the colors with default text:
{{User:UzEE/Display box|border=#6CD100|text_back=#ffffff|title_back=#E6FFCC}}
- 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}}}}
|width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |width=14% style="padding-left:8px; padding-right:8px;" align="center"| |- | | | | | | | |- |My User Page |Leave a Message |My Userboxes |Article Reviews |My Toybox |My Awards |Email Me
|}