Template:Box1: Difference between revisions

From KDE Community Wiki
(Replacement for box template to go with neverland)
(No difference)

Revision as of 06:22, 27 August 2012

{{{3}}}
 
{{{2}}}
{{{1}}}

Info


Use this template for content that needs to be specially emphasized. Syntax:

{{Box1|2=Title|3=Image|4=color|1=text}}
Image
 
Title
text

Info


The template takes four arguments:

  1. The text of the main body of the box
  2. The title of the box
  3. An image file to be displayed in the top left of the box - the image size should be 40 x 40
  4. The background color (optional): possible values
    • default is yellow
    • alert-info gives blue - use with care; it doesn't work well with links
    • alert-success gives green
    • alert-error gives red

Please avoid using this template directly in pages. If you need something that doesn't already exist, consider making a new template based on this template. That way it will be much easier to maintain TechBase, and the risk of introducing unintended effects on your page is reduced considerably.

Existing templates based on this template: Template:Info, Template:Note, Template:Tip, Template:Warning, Template:Remember.