Diferencia entre revisiones de «Plantilla:Lozenge»

De WikiEducator
Saltar a: navegación, buscar
(Página creada con '<includeonly><div style="margin:0;font-size:120%;font-weight:bold;border:none;border-radius: 5px;text-align:left;color:#000;padding:0.2em 0.4em;{{{style|}}}">{{{text|}}}</div></…')
 
(Sin diferencias)

Última revisión de 23:00 7 feb 2014


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