Diferencia entre revisiones de «Plantilla:Code»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
m
(add optional scroll parameter for displaying longer code samples)
Línea 1: Línea 1:
<div style="display:block;border:1px dashed darkblue;padding:.8em;margin-top:.5em;margin-bottom:.5em;background:#fafafa;"><includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude></div><noinclude>
+
<div style="display:block;border:1px dashed darkblue;padding:.8em;margin-top:.5em;margin-bottom:.5em;background:#fafafa;{{ #ifeq: {{2}}  | scroll |height:10em;overflow-y:auto; }}"><includeonly>{{{1}}}</includeonly><noinclude>{{Lorem Ipsum}}</noinclude></div><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revisión del 13:02 23 feb 2008

Plantilla:Lorem Ipsum
50px Template documentation[create]