Diferencia entre revisiones de «Plantilla:Ficha»
Apariencia
mSin resumen de edición |
mSin resumen de edición |
||
| Línea 1: | Línea 1: | ||
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="float: right; clear: right; margin-bottom: 0.5em; margin-left: 0.5em; border: 1px solid #aaa; width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{bodystyle|}}}"> | |||
<!-- titulo --> | |||
{{ #if: {{{titulo|}}} | | |||
<caption style="font-size: 124%; font-weight: bold; {{{titulostyle|}}}"> | |||
{{{titulo}}}</caption>}} | |||
<!-- header --> | |||
{{ #if: {{{above|}}} | | |||
<tr><td colspan="2" style="text-align: center; font-size: 124%; {{{abovestyle|}}}"> | |||
{{{above}}}</th></tr>}} | |||
<!-- imagen --> | |||
{{ #if: {{{image|}}} | | |||
<tr> | |||
<td colspan="2" style="width: auto; text-align: center; {{{imagestyle|}}}">{{{image}}}{{ #if: {{{caption|}}} | <div style="font-size:smaller; {{{captionstyle|}}}">{{{caption}}}</div> }} | |||
</tr> }}<!-- | |||
row 1 | |||
-->{{ #if: {{{header1|}}} | | |||
<tr> | |||
<th colspan="2" style="text-align: center; {{{headerstyle|}}}"> | |||
{{{header1}}}</th> | |||
</tr> | {{ #if: {{{data1|}}} | | |||
<tr> | |||
{{ #if: {{{label1|}}} | <th style="white-space: nowrap; {{{labelstyle|}}}"> | |||
{{{label1}}}</th> }}<td {{ #if: {{{label1|}}} || colspan="2" }} style="{{ #if: {{{label1|}}} || text-align: center; }} {{{datastyle|}}}"> | |||
{{{data1}}}</td> | |||
</tr> }} }}<!-- | |||
row 2 | |||
-->{{ #if: {{{header2|}}} | | |||
<tr> | |||
<th colspan="2" style="text-align: center; {{{headerstyle|}}}"> | |||
{{{header2}}}</th> | |||
</tr> | {{ #if: {{{data2|}}} | | |||
<tr> | |||
{{ #if: {{{label2|}}} | <th style="white-space: nowrap; {{{labelstyle|}}}"> | |||
{{{label2}}}</th> }}<td {{ #if: {{{label2|}}} || colspan="2" }} style="{{ #if: {{{label2|}}} || text-align: center; }} {{{datastyle|}}}"> | |||
{{{data2}}}</td> | |||
</tr> }} }}<!-- | |||
row 3 | |||
-->{{ #if: {{{header3|}}} | | |||
<tr> | |||
<th colspan="2" style="text-align: center; {{{headerstyle|}}}"> | |||
{{{header3}}}</th> | |||
</tr> | {{ #if: {{{data3|}}} | | |||
<tr> | |||
{{ #if: {{ | |||
<noinclude> | <noinclude> | ||