Contenedores (Wrappers) para los formateadores

Es posible asignar a cualquier formateador un contenedor o "wrapper" mediante el parámetro wrapper .


Los tipos de contenedores (wrappers) disponibles son:


%%(formatter
[wrapper="box | shade | page | text"]
[wrapper_align= "left | center | right | justify"]
[wrapper_title="Titel"]
[wrapper_type="default | error | example | important | note | question | quote | success | warning"]
[wrapper_width="pixel"]
[col=1 | 2 | 3 | 4 | 5]
[clear])
Text%%

box shade page text
type + + -
title + + -
alignment + 1 2 +
clear + +
width + 1 + 3
column + +
frame + +
automatic line feed + + +

1 Esta opción no tiene sentido, porque el ancho del bloque es siempre igual al ancho de la página.
2 Sólo a la izquierda.
3 Si no pones la línea de alimentación tú mismo, el ancho del bloque es fijado por el motor en aproximadamente el 90% del ancho de la página.


Grammar = [FORMATTER | FORMAT WRAPPER | FORMAT WRAPPER OPTION | Text]


FORMATTER = [ cl | comment | css | email | hl * | html | info | ini | java | pascal | php | sql | wacko ]


FORMAT WRAPPER = box, shade, page und text


TEXT = todo, libre.

box

%%(css wrapper=box wrapper_align=left wrapper_width=270)
.d { font-size: 70% }
%%


shade

%%(css wrapper=shade)
.d2 { font-size: 70% }
%%

.d2 { font-size: 70% } 	

text

%%(wacko wrapper=text wrapper_align=center) text on to center %%
text on to center

text is derived the "floating" (float) block of text.

page

%%(wacko wrapper=page wrapper_width=200) this text cannot be wider than two hundred pixel%%
this text cannot be wider than two hundred pixel

page it makes it possible to regulate the width of the usual block of text.

Ejemplo

%%(wacko wrapper=box wrapper_type="quote" wrapper_width=300 wrapper_title="Box")
«A hundred times every day I remind myself that my inner and outer life depend upon the labors of other men, living and dead, and that I must exert myself in order to give in the measure as I have received and am still receiving.» – Albert Einstein
%%


Comments