Difference between revisions of "Template:Infobox"
(Adding class parameters to support hCard microformats) |
(add class parameters for title and above, since some vcard infoboxes out there use these for data) |
||
Line 1: | Line 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> |
Revision as of 20:22, 13 March 2008
The above documentation is transcluded from Template:Infobox/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (edit) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |