Template:Info

From WikiEducator
Jump to: navigation, search

Usage

 {{Info
 |title= Title text goes here
 |text= 
 Text goes here
 *etc.
 *etc.
 |theme = sandyblueslate
 }}

produces:

Farm-Fresh information.png Title text goes here
Text goes here

  • etc.
  • etc.

No theme:

 {{Info
 |title= Title text goes here
 |text= 
 Text goes here
 *etc.
 *etc.
 }}

produces:

Farm-Fresh information.png Title text goes here
Text goes here

  • etc.
  • etc.

Parameters

  • title: a line of text
  • text: lines of text as shown above
  • theme: a theme name (see Sample Themes) - only uses text and background colours.

Suggestions

  • Merge with (or adapt one or the other) Template:tcb and parameterise the styles.
  • This scheme (div, not a table) may eliminate the problem of WYSIWYG editor with headings in tables.