Difference between revisions of "Template:Box"

From Sugar Labs
Jump to navigation Jump to search
m (moved Template:Quote to Template:Box: make more general)
Line 11: Line 11:
  
 
'''Example'''
 
'''Example'''
  <nowiki>{{Quote|margin=120px|indent=12px|bgcolor=lightyellow|This text will be highlighted in a box.}}</nowiki>
+
  <nowiki>{{Box|margin=120px|indent=12px|bgcolor=lightyellow|This text will be highlighted in a box.}}</nowiki>
  
{{Quote|margin=120px|indent=12px|bgcolor=lightyellow|This text will be highlighted in a box.}}
+
{{Box|margin=120px|indent=12px|bgcolor=lightyellow|This text will be highlighted in a box.}}

Revision as of 22:40, 5 March 2011

{{{1}}}

Usage

Options

  • margin - default: 30px (left and right)
  • indent - default: none
  • background-color - default: none

Example

{{Box|margin=120px|indent=12px|bgcolor=lightyellow|This text will be highlighted in a box.}}

This text will be highlighted in a box.