Difference between revisions of "Template:Infobox"
Line 5: | Line 5: | ||
} | } | ||
}} | }} | ||
− | <table class="infobox" cellspacing="5" style="width: {{{width|260px}}}; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: | + | <table class="infobox" cellspacing="5" style="width: {{{width|260px}}}; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: rgba(0,0,0,0.6); padding: .2em; margin: .5em 0 .5em 10em; float: right;"><!-- |
− | Title -->{{#if:{{{title|}}}|<tr><th colspan="2" style=" | + | Title -->{{#if:{{{title|}}}|<tr><th colspan="2" class="title" style="font-size: 1.25em; padding: .3em 0;">{{{title}}}</th></tr>}}<!-- |
Image -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}}<!-- | Image -->{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}}<!-- | ||
Imagetext -->{{#if:{{{imagetext|}}}|<div>{{{imagetext}}}</div>}}</td></tr>}}<!-- | Imagetext -->{{#if:{{{imagetext|}}}|<div>{{{imagetext}}}</div>}}</td></tr>}}<!-- | ||
− | + | Symbol -->{{#if:{{{symbol|}}}|<tr><td colspan="2" style="text-align: center;">{{{symbol}}}<!-- | |
− | Row 2 -->{{#if:{{{heading2|}}}|<tr><th colspan="2" | + | Symboltext -->{{#if:{{{symboltext|}}}|<div>{{{symboltext}}}</div>}}</td></tr>}}<!-- |
− | Row 3 -->{{#if:{{{heading3|}}}|<tr><th colspan="2" | + | Row 1 -->{{#if:{{{heading1|}}}|<tr><th colspan="2" class="title">{{{heading1|}}}</th></tr>|{{#if:{{{label1|}}}|{{#if:{{{content1|}}}|<tr><th>{{{label1|}}}</th><td>{{{content1|}}}</td></tr>}}|{{#if:{{{content1|}}}|<tr><td colspan="2" style="text-align:center;">{{{content1|}}}</td></tr>}} }} }}<!-- |
− | Row 4 -->{{#if:{{{heading4|}}}|<tr><th colspan="2" | + | Row 2 -->{{#if:{{{heading2|}}}|<tr><th colspan="2" class="title">{{{heading2|}}}</th></tr>|{{#if:{{{label2|}}}|{{#if:{{{content2|}}}|<tr><th>{{{label2|}}}</th><td>{{{content2|}}}</td></tr>}}|{{#if:{{{content2|}}}|<tr><td colspan="2" style="text-align:center;">{{{content2|}}}</td></tr>}} }} }}<!-- |
− | Row 5 -->{{#if:{{{heading5|}}}|<tr><th colspan="2" | + | Row 3 -->{{#if:{{{heading3|}}}|<tr><th colspan="2" class="title">{{{heading3|}}}</th></tr>|{{#if:{{{label3|}}}|{{#if:{{{content3|}}}|<tr><th>{{{label3|}}}</th><td>{{{content3|}}}</td></tr>}}|{{#if:{{{content3|}}}|<tr><td colspan="2" style="text-align:center;">{{{content3|}}}</td></tr>}} }} }}<!-- |
− | Row 6 -->{{#if:{{{heading6|}}}|<tr><th colspan="2" | + | Row 4 -->{{#if:{{{heading4|}}}|<tr><th colspan="2" class="title">{{{heading4|}}}</th></tr>|{{#if:{{{label4|}}}|{{#if:{{{content4|}}}|<tr><th>{{{label4|}}}</th><td>{{{content4|}}}</td></tr>}}|{{#if:{{{content4|}}}|<tr><td colspan="2" style="text-align:center;">{{{content4|}}}</td></tr>}} }} }}<!-- |
− | Row 7 -->{{#if:{{{heading7|}}}|<tr><th colspan="2" | + | Row 5 -->{{#if:{{{heading5|}}}|<tr><th colspan="2" class="title">{{{heading5|}}}</th></tr>|{{#if:{{{label5|}}}|{{#if:{{{content5|}}}|<tr><th>{{{label5|}}}</th><td>{{{content5|}}}</td></tr>}}|{{#if:{{{content5|}}}|<tr><td colspan="2" style="text-align:center;">{{{content5|}}}</td></tr>}} }} }}<!-- |
+ | Row 6 -->{{#if:{{{heading6|}}}|<tr><th colspan="2" class="title">{{{heading6|}}}</th></tr>|{{#if:{{{label6|}}}|{{#if:{{{content6|}}}|<tr><th>{{{label6|}}}</th><td>{{{content6|}}}</td></tr>}}|{{#if:{{{content6|}}}|<tr><td colspan="2" style="text-align:center;">{{{content6|}}}</td></tr>}} }} }}<!-- | ||
+ | Row 7 -->{{#if:{{{heading7|}}}|<tr><th colspan="2" class="title">{{{heading7|}}}</th></tr>|{{#if:{{{label7|}}}|{{#if:{{{content7|}}}|<tr><th>{{{label7|}}}</th><td>{{{content7|}}}</td></tr>}}|{{#if:{{{content7|}}}|<tr><td colspan="2" style="text-align:center;">{{{content7|}}}</td></tr>}} }} }} | ||
</table> | </table> | ||
<noinclude> | <noinclude> |
Revision as of 13:55, 22 September 2020
This is a meta template supposed to be used only on other templates.