Difference between revisions of "Template:Infobox"
(fixing, thanks Izno!) |
(Updating per talkpage request) |
||
Line 1: | Line 1: | ||
− | <table class="infobox {{{bodyclass|}}} | + | <table class="infobox {{{bodyclass|}}}" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border-spacing: 5px {{{bodystyle|}}}"><!-- |
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>}} | ||
Line 5: | Line 5: | ||
Header | Header | ||
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!-- | -->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!-- | ||
+ | Subheader | ||
+ | -->{{#if:{{{subheader|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader}}}</td></tr>}}<!-- | ||
Image | Image | ||
-->{{#if:{{{image|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> | -->{{#if:{{{image|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image}}} {{#if:{{{caption|}}}|<br /> |
Revision as of 01:58, 10 November 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. |