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…')
 
(Undo revision 254387 by Kemal HagemaruFRP (talk))
Tag: Undo
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!--
<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><th colspan=2 class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
  Subheader 1
  Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1|}}}}}}</td></tr>}}<!--
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
  Subheader 2
|data={{{subheader|{{{subheader1|}}}}}}
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
|datastyle={{{subheaderstyle|}}}
  Image 1
|class={{{subheaderclass|}}}
-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image|{{{image1|}}}}}} {{#if:{{{caption|{{{caption1|}}}}}}|<br />
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
<span style="{{{captionstyle|}}}">{{{caption|{{{caption1|}}}}}}</span> }}</td></tr>}}<!--
}} }}<!--
  Image 2
  Subheader2
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br />
-->{{#if:{{{subheader2|}}}|{{Infobox/row
<span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<!--
|data={{{subheader2}}}
  Image 3
|datastyle={{{subheaderstyle|}}}
-->{{#if:{{{image3|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image3}}} {{#if:{{{caption3|}}}|<br />
|class={{{subheaderclass|}}}
<span style="{{{captionstyle|}}}">{{{caption3}}}</span> }}</td></tr>}}<!--
|rowclass={{{subheaderrowclass2|}}}
  Image 4
}} }}<!--
-->{{#if:{{{image4|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image4}}} {{#if:{{{caption4|}}}|<br />
  Image1
<span style="{{{captionstyle|}}}">{{{caption3}}}</span> }}</td></tr>}}<!--
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
 
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{{{caption1}}}}}}</span>}}
  |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}}
|rowclass={{{imagerowclass1|}}}
}} }}<!--
  Image2
-->{{#if:{{{image2|}}}|{{Infobox/row
|data={{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}
  |datastyle={{{imagestyle|}}}
|class={{{imageclass|}}}
|rowclass={{{imagerowclass2|}}}
}} }}<!--
-->{{Infobox/row
-->{{Infobox/row
|header={{{header1|}}} |headerstyle={{{headerstyle|}}}
|header = {{{header1|}}}  |headerstyle = {{{headerstyle|}}}
|label={{{label1|}}}  |labelstyle={{{labelstyle|}}}
|label  = {{{label1|}}}  |labelstyle  = {{{labelstyle|}}}
|data={{{data1|}}}    |datastyle={{{datastyle|}}}
|data  = {{{data1|}}}    |datastyle  = {{{datastyle|}}}
|class={{{class1|}}}  |rowclass={{{rowclass1|}}}
|class  = {{{class1|}}}
}}{{Infobox/row
}} {{Infobox/row
|header={{{header2|}}} |headerstyle={{{headerstyle|}}}
|header = {{{header2|}}}  |headerstyle = {{{headerstyle|}}}
|label={{{label2|}}}  |labelstyle={{{labelstyle|}}}
|label  = {{{label2|}}}  |labelstyle  = {{{labelstyle|}}}
|data={{{data2|}}}    |datastyle={{{datastyle|}}}
|data  = {{{data2|}}}    |datastyle  = {{{datastyle|}}}
|class={{{class2|}}}  |rowclass={{{rowclass2|}}}
|class  = {{{class2|}}}
}}{{Infobox/row
}} {{Infobox/row
|header={{{header3|}}} |headerstyle={{{headerstyle|}}}
|header = {{{header3|}}}  |headerstyle = {{{headerstyle|}}}
|label={{{label3|}}}  |labelstyle={{{labelstyle|}}}
|label  = {{{label3|}}}  |labelstyle  = {{{labelstyle|}}}
|data={{{data3|}}}    |datastyle={{{datastyle|}}}
|data  = {{{data3|}}}    |datastyle  = {{{datastyle|}}}
|class={{{class3|}}}  |rowclass={{{rowclass3|}}}
|class  = {{{class3|}}}
}}{{Infobox/row
}} {{Infobox/row
|header={{{header4|}}} |headerstyle={{{headerstyle|}}}
|header = {{{header4|}}}  |headerstyle = {{{headerstyle|}}}
|label={{{label4|}}}  |labelstyle={{{labelstyle|}}}
|label  = {{{label4|}}}  |labelstyle  = {{{labelstyle|}}}
|data={{{data4|}}}    |datastyle={{{datastyle|}}}
|data  = {{{data4|}}}    |datastyle  = {{{datastyle|}}}
|class={{
|class  = {{{class4|}}}
}} {{Infobox/row
|header = {{{header5|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label5|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data5|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class5|}}}
}} {{Infobox/row
|header = {{{header6|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label6|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data6|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class6|}}}
}} {{Infobox/row
|header = {{{header7|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label7|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data7|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class7|}}}
}} {{Infobox/row
|header = {{{header8|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label8|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data8|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class8|}}}
}} {{Infobox/row
|header = {{{header9|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label9|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data9|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class9|}}}
}} {{Infobox/row
|header = {{{header10|}}}  |headerstyle = {{{headerstyle|}}}
|label  = {{{label10|}}}  |labelstyle  = {{{labelstyle|}}}
|data  = {{{data10|}}}    |datastyle  = {{{datastyle|}}}
|class  = {{{class10|}}}
 
  Navbar
  Navbar
-->{{#if:{{{name|}}}|<tr><td colspan=2 style="text-align:right">{{navbar|{{{name}}}|mini=1}}</td></tr>}}
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
{{#ifeq:{{{child|}}}|yes||</table>}}{{#switch:{{lc:{{{italic title|¬}}}}}
</table><noinclude>[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
|¬|no      = <!-- no italic title -->
||force|yes = {{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}
}}<includeonly>{{#ifeq:{{{decat|}}}|yes||{{#if:{{{data1|}}}{{{data2|}}}{{{data3|}}}{{{data4|}}}{{{data5|}}}{{{data6|}}}{{{data7|}}}{{{data8|}}}{{{data9|}}}{{{data10|}}}{{{data11|}}}{{{data12|}}}{{{data13|}}}{{{data14|}}}{{{data15|}}}{{{data16|}}}{{{data17|}}}{{{data18|}}}{{{data19|}}}{{{data20|}}}{{{data21|}}}{{{data22|}}}{{{data23|}}}{{{data24|}}}{{{data25|}}}{{{data26|}}}{{{data27|}}}{{{data28|}}}{{{data29|}}}{{{data30|}}}{{{data31|}}}{{{data32|}}}{{{data33|}}}{{{data34|}}}{{{data35|}}}{{{data36|}}}{{{data37|}}}{{{data38|}}}{{{data39|}}}{{{data40|}}}{{{data41|}}}{{{data42|}}}{{{data43|}}}{{{data44|}}}{{{data45|}}}{{{data46|}}}{{{data47|}}}{{{data48|}}}{{{data49|}}}{{{data50|}}}{{{data51|}}}{{{data52|}}}{{{data53|}}}{{{data54|}}}{{{data55|}}}{{{data56|}}}{{{data57|}}}{{{data58|}}}{{{data59|}}}{{{data60|}}}{{{data61|}}}{{{data62|}}}{{{data63|}}}{{{data64|}}}{{{data65|}}}{{{data66|}}}{{{data67|}}}{{{data68|}}}{{{data69|}}}{{{data70|}}}{{{data71|}}}{{{data72|}}}{{{data73|}}}{{{data74|}}}{{{data75|}}}{{{data76|}}}{{{data77|}}}{{{data78|}}}{{{data79|}}}{{{data80|}}}||{{namespace detect|main=[[category:articles which use infobox templates with no data rows]]}}}}}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 13:52, 21 August 2022