Difference between revisions of "Template:Infobox"
From Timelines
(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 16:44, 8 June 2010
Template documentation[create]
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. |