Diferencia entre revisiones de «Plantilla:Imagenexterna»
Sin resumen de edición |
Sin resumen de edición |
||
(No se muestran 27 ediciones intermedias de 2 usuarios) | |||
Línea 1: | Línea 1: | ||
<includeonly> | <includeonly> | ||
{{#css: | |||
.scaled { | |||
display:flex; | |||
margin-left: auto; | |||
margin-right: auto; | |||
box-orient: horizontal; | |||
flex-direction: row; | |||
box-pack: center; | |||
justify-content: center; | |||
-webkit-box-flex: 1; | |||
-moz-box-flex: 1; | |||
box-flex: 1; | |||
-webkit-flex: 1 1 auto; | |||
padding: | flex: 1 1 auto; | ||
padding: 10px; | |||
text-align: center; | text-align: center; | ||
} | } | ||
}} | }} | ||
<div class="imagenexterna" style="text-align:center"> | |||
<p><img class=scaled src={{{1}}} alt={{{2}}} {{#if: {{{size|width="300"}}}| width="{{{size}}}"}}></p> | |||
<p>{{#if: {{{2|}}}|{{{2}}}}} </p> | |||
<!-- {{#if: {{{link}}} |<a href="{{{link}}}"></a>}} --> | |||
<br> | |||
</div> | |||
</includeonly> | </includeonly> |