This template is designed to create display boxes on user pages. It can be configured to display almost anything within the box.

Usage

edit

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.

Examples

edit
  • 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
{| 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"

|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

|}

See also

edit