Template:Infobox: Difference between revisions

From WikiLectures

mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly><table class="infobox {{{body class|}}}" cellspacing="2" style="width: 270px; text-align: left; font-size: 88%; line-height: 1.5em; {{{body style|}}}">
<includeonly><table class="infobox {{{body class|}}}" cellspacing="2" style="width: 270px; text-align: left; font-size: 88%; line-height: 1.5em; {{{body style|}}}">
{{#if:{{{name|}}}|<caption style="font-size: 125%; font-weight: bold;">{{{name|}}}</caption>}}{{#if:{{{Header|}}}|<tr><td colspan="2" style="text-align:center; font-size: 125%; font-weight: bold; {{{Header style|}}}">{{{Header|}}}</td></tr>}}{{#if:{{{subheader1|}}}|<tr><td colspan="2" style="text-align:center; {{{subheader style1|}}}">{{{subheader1|}}}</td></tr>}}{{#if:{{{subheader2|}}}|<tr><td colspan="2" style="text-align:center; {{{subheader style2|}}}">{{{subheader2|}}}</td></tr>}}{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{image style|}}}">{{{image|}}}{{#if:{{{caption|}}}|<br /><span style="text-align:center; font-style: italic; {{{caption style|}}}">{{{caption|}}}</span>}}</td></tr>}}
{{#if:{{{name|}}}|<caption style="font-size: 125%; font-weight: bold;">{{{name|}}}</caption>}}{{#if:{{{Header|}}}|<tr><td colspan="2" style="text-align:center; font-size: 125%; font-weight: bold; {{{Header style|}}}">{{{Header|}}}</td></tr>}}{{#if:{{{subheading1|}}}|<tr><td colspan="2" style="text-align:center; {{{subheading style1|}}}">{{{subheading1|}}}</td></tr>}}{{#if:{{{subheading2|}}}|<tr><td colspan="2" style="text-align:center; {{{subheading style2|}}}">{{{subheading2|}}}</td></tr>}}{{#if:{{{image|}}}|<tr><td colspan="2" style="text-align:center; {{{image style|}}}">{{{image|}}}{{#if:{{{caption|}}}|<br /><span style="text-align:center; font-style: italic; {{{caption style|}}}">{{{caption|}}}</span>}}</td></tr>}}
  {{Infobox/row
  {{Infobox/row
  |name = {{{name1|}}}
  |name = {{{name1|}}}

Revision as of 21:30, 8 April 2023