Template:Infobox: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with '{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{title|}}}|<caption class="{{{titl…') |
(Just trying something) |
||
Line 1: | Line 1: | ||
<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="{{{titlestyle|}}}">{{{title}}}</caption>}}<!-- | -->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}} | ||
<!-- | |||
Header | Header | ||
-->{{#if:{{{above|}}}|<tr>< | -->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!-- | ||
Subheader 1 | |||
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1|}}}}}}</td></tr>}}<!-- | |||
-->{{#if:{{{subheader|{{{subheader1|}}}}}}| | Subheader 2 | ||
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!-- | |||
Image 1 | |||
-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image|{{{image1|}}}}}} {{#if:{{{caption|{{{caption1|}}}}}}|<br /> | |||
<span style="{{{captionstyle|}}}">{{{caption|{{{caption1|}}}}}}</span> }}</td></tr>}}<!-- | |||
Image 2 | |||
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br /> | |||
-->{{#if:{{{subheader2|}}}| | <span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<!-- | ||
-->{{#if:{{{image|{{{image1|}}}}}}|{{ | |||
-->{{Infobox/row | -->{{Infobox/row | ||
|header = {{{header1|}}} |headerstyle = {{{headerstyle|}}} | |||
|label = {{{label1|}}} |labelstyle = {{{labelstyle|}}} | |||
|data = {{{data1|}}} |datastyle = {{{datastyle|}}} | |||
|class = {{{class1|}}} | |||
}} {{Infobox/row | |||
|header = {{{header2|}}} |headerstyle = {{{headerstyle|}}} | |||
|label = {{{label2|}}} |labelstyle = {{{labelstyle|}}} | |||
|data = {{{data2|}}} |datastyle = {{{datastyle|}}} | |||
|class = {{{class2|}}} | |||
}} {{Infobox/row | |||
|header = {{{header3|}}} |headerstyle = {{{headerstyle|}}} | |||
|label = {{{label3|}}} |labelstyle = {{{labelstyle|}}} | |||
|data = {{{data3|}}} |datastyle = {{{datastyle|}}} | |||
|class = {{{class3|}}} | |||
}} {{Infobox/row | |||
|header = {{{header4|}}} |headerstyle = {{{headerstyle|}}} | |||
|label = {{{label4|}}} |labelstyle = {{{labelstyle|}}} | |||
|data = {{{data4|}}} |datastyle = {{{datastyle|}}} | |||
|class = {{{class4|}}} | |||
}} {{Infobox/ | |||
Navbar | Navbar | ||
-->{{#if:{{{name|}}}|<tr><td | -->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}} | ||
</table><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude> | |||