Diferencia entre revisiones de «Plantilla:Infobox»
De Familia Sanchez Arjona
(Adding class parameters to support hCard microformats) |
(add class parameters for title and above, since some vcard infoboxes out there use these for data) |
||
Línea 1: | Línea 1: | ||
<table class="infobox {{{bodyclass|}}}" style="width:25em; text-align: left; font-size: 90%; {{{bodystyle|}}}"><!-- Caption | <table class="infobox {{{bodyclass|}}}" style="width:25em; text-align: left; font-size: 90%; {{{bodystyle|}}}"><!-- Caption | ||
− | -->{{#if:{{{title|}}}|<caption style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header | + | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: large; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- Header |
-->{{#if:{{{above|}}}|<tr> | -->{{#if:{{{above|}}}|<tr> | ||
− | <td colspan="2" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}}">{{{above}}}</td> | + | <td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: large; background:#ccf; {{{abovestyle|}}}">{{{above}}}</td> |
</tr>}}<!-- Image | </tr>}}<!-- Image | ||
-->{{#if:{{{image|}}}|<tr> | -->{{#if:{{{image|}}}|<tr> |
Revisión del 21:22 13 mar 2008
Plantilla:Tnavbar |
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |