Template:Box

From MegaDrumWiki
Revision as of 20:18, 28 June 2010 by Firelord (Talk | contribs)

Jump to: navigation, search
Noicon.png

Text content

Documentation

Inserting the box template is a good way to focus the attention of the reader on some important information by displaying an image and some text. Such a message is usually added to the top (bottom) of the page. In some cases it may also be added to the body of the page (i.e. somewhere in the text).

Usage:

{{box|
bgcolor= box_background_color|
color= box_text_content_color|
icon= name_of_uploaded_image|
text= Displayed text
}}

Please use 50x50 px images for icons.

For example, consider the video box template code:

{{box|
bgcolor=#ECEEFD|
color=black|
icon=Camera_icon.png|
text='''''Watch the video:''' [{{{url|http://www.youtube.com/watch?v=1s9sNnWizdc}}} {{{desc|Another MegaDrum Video}}}]''
}}

Which renders:

Camera icon.png

Watch the video: Another MegaDrum Video