Template:Lozenge

From WikiEducator
Jump to: navigation, search


Purpose

Create a standard lozenge (rounded corner div) for headings, typically with background color and other styling.

Usage

{{Lozenge|style=xxx|text=yyy}}

style
string to be added to div's style attribute
text
text of the lozenge heading

Example

{{Lozenge|style=background-color: lightblue; width: 40%;|text=Example Lozenge}}

Example Lozenge