Difference between revisions of "User:Canine/Template:Wut"
Jump to navigation
Jump to search
m (1 revision) |
|
(No difference)
|
Latest revision as of 15:56, 3 January 2010
I am a box
I contain lots of interesting things |
Generic box template
Parameters:
- title - The box title. Default: "I am a box"
- style - CSS that isn't defined by other parameters goes here. Experimental, expect it to probably not work. End it with ";" Default: Blank.
- text - The box text. Default: "I contain lots of interesting things "
- image - The image on the left of the box. Default: "delayclose.jpg"
- img_border - CSS for the border around the image. Default: "1px solid rgb(127,127,127)"
- img_width - The images desired width. Default: "100"
- border - Colour for the box border. Default: "rgb(125, 106, 141)"
- head_bg - Colour of the box head. Default: Same as border
- bg - Background colour of the box. Default: "rgb(224, 190, 253)"
- width - Width of the box. Default: "450"
- color - Text color for the box text. Default: "rgb(0, 0, 0)"
Example Box
{{box |title=Example Box |bg_image=delayclose.jpg |text='''This box.''' It is an ''example''. |img_border=2px solid rgb(224, 190, 253) |img_width=120 |border=rgb(0, 43, 184) |head_bg=rgb(231, 165, 86) |bg=rgb(186, 0, 0) |width=300 |color=rgb(186, 215, 134) }}
Will create...
Example Box
This box. It is an example.
|
Use in sidebar
<div style="clear:right; float:right; width:220px;"> {{Box |bg = #4149D7 |head_bg = #5D68FE |border = #3EA9FE |title = ⑨ |text = ⑨ |image = cirno.png |img_width = 74 |img_border = 1px solid #42AEFE |width = 220 |color = #3EA9FE }}</div>
⑨
⑨
|
Will look like this ▶
220px is the de facto standard sidebar width. Don't change it if it is not necessary.