Difference between revisions of "Template:Infobox"
(undo: adding parameters to a highly used meta-template should probably be discussed, the second image was only added after much debate) |
(add {{{aboveimage}}}, to insert an image directly above {{{above}}}) |
||
Line 2: | Line 2: | ||
Caption | Caption | ||
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | ||
+ | Aboveimage | ||
+ | -->{{#if:{{{aboveimage|}}}|{{Infobox/row | ||
+ | |data={{{aboveimage|}}}{{#if:{{{abovecaption|}}}|<br /><span style="{{{captionstyle|}}}">{{{abovecaption|}}}</span>}} |datastyle={{{imagestyle|}}} | ||
+ | |class={{{imageclass|}}} |rowclass={{{aboveimagerowclass|}}} | ||
+ | }} }}<!-- | ||
Header | Header | ||
-->{{#if:{{{above|}}}|{{Infobox/row | -->{{#if:{{{above|}}}|{{Infobox/row |
Revision as of 00:44, 9 June 2010
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. |