Difference between revisions of "Template:Infobox"
Jump to navigation
Jump to search
(Created page with "{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em...") |
|||
Line 1: | Line 1: | ||
− | {{#ifeq:{{{child|}}}|yes|| | + | {{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; text-align:left; font-size:88%; line-height:1.5em; {{{bodystyle|}}}"><!-- |
Caption | Caption | ||
− | -- | + | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!-- |
Header | Header | ||
− | -- | + | -->{{#if:{{{above|}}}|{{Infobox/row |
|header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}} | |header={{{above}}} |headerstyle=text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}} | ||
|class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}} | |class={{{aboveclass|}}} |rowclass={{{aboverowclass|}}} | ||
− | }} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}} | + | }} }} }}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!-- |
Subheader1 | Subheader1 | ||
− | -- | + | -->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row |
|data={{{subheader|{{{subheader1|}}}}}} | |data={{{subheader|{{{subheader1|}}}}}} | ||
|datastyle={{{subheaderstyle|}}} | |datastyle={{{subheaderstyle|}}} | ||
|class={{{subheaderclass|}}} | |class={{{subheaderclass|}}} | ||
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | |rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}} | ||
− | }} }} | + | }} }}<!-- |
Subheader2 | Subheader2 | ||
− | -- | + | -->{{#if:{{{subheader2|}}}|{{Infobox/row |
|data={{{subheader2}}} | |data={{{subheader2}}} | ||
|datastyle={{{subheaderstyle|}}} | |datastyle={{{subheaderstyle|}}} | ||
|class={{{subheaderclass|}}} | |class={{{subheaderclass|}}} | ||
|rowclass={{{subheaderrowclass2|}}} | |rowclass={{{subheaderrowclass2|}}} | ||
− | }} }} | + | }} }}<!-- |
Image1 | Image1 | ||
− | -- | + | -->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row |
− | |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}| | + | |data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}} |
|datastyle={{{imagestyle|}}} | |datastyle={{{imagestyle|}}} | ||
|class={{{imageclass|}}} | |class={{{imageclass|}}} | ||
|rowclass={{{imagerowclass1|}}} | |rowclass={{{imagerowclass1|}}} | ||
− | }} }} | + | }} }}<!-- |
Image2 | Image2 | ||
− | -- | + | -->{{#if:{{{image2|}}}|{{Infobox/row |
− | |data={{{image2}}}{{#if:{{{caption2|}}}| | + | |data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}} |
|datastyle={{{imagestyle|}}} | |datastyle={{{imagestyle|}}} | ||
|class={{{imageclass|}}} | |class={{{imageclass|}}} | ||
|rowclass={{{imagerowclass2|}}} | |rowclass={{{imagerowclass2|}}} | ||
− | }} }} | + | }} }}<!-- |
− | -- | + | -->{{Infobox/row |
|header={{{header1|}}} |headerstyle={{{headerstyle|}}} | |header={{{header1|}}} |headerstyle={{{headerstyle|}}} | ||
|label={{{label1|}}} |labelstyle={{{labelstyle|}}} | |label={{{label1|}}} |labelstyle={{{labelstyle|}}} | ||
Line 435: | Line 435: | ||
|data={{{data80|}}} |datastyle={{{datastyle|}}} | |data={{{data80|}}} |datastyle={{{datastyle|}}} | ||
|class={{{class80|}}} |rowclass={{{rowclass80|}}} | |class={{{class80|}}} |rowclass={{{rowclass80|}}} | ||
− | }} | + | }}<!-- Below |
− | -- | + | -->{{#if:{{{below|}}}|<tr><td colspan="2" class="{{{belowclass|}}}" style="text-align:center; {{{belowstyle|}}}">{{{below}}}</td></tr>}}<!-- |
Navbar | Navbar | ||
− | -- | + | -->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}} |
− | {{#ifeq:{{{child|}}}|yes|| | + | {{#ifeq:{{{child|}}}|yes||</table>}}<noinclude> |
{{documentation}} | {{documentation}} | ||
− | + | </noinclude> |