Difference between revisions of "Template:Infobox"

From Timelines
Jump to: navigation, search
m (moved noinclude up a line to prevent excess whitespace)
(pass rowclass parameters to /row)
Line 1: Line 1:
<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; {{{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="font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</caption>}}
+
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="font-size:125%; font-weight:bold; {{{titlestyle|}}}">{{{title}}}</caption>}}<!--
<!--
 
 
  Header
 
  Header
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td></tr>}}<!--
+
-->{{#if:{{{above|}}}|<tr><th colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-size:125%; font-weight:bold; {{{abovestyle|}}}">{{{above}}}</th></tr>}}<!--
  Subheader 1
+
  Subheader1
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1|}}}}}}</td></tr>}}<!--
+
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader|{{{subheader1}}}}}}</td></tr>}}<!--
  Subheader 2
+
  Subheader2
 
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
 
-->{{#if:{{{subheader2|}}}|<tr><td colspan="2" class="{{{subheaderclass|}}}" style="text-align:center; {{{subheaderstyle|}}}">{{{subheader2}}}</td></tr>}}<!--
  Image 1
+
  Image1
-->{{#if:{{{image|{{{image1|}}}}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image|{{{image1|}}}}}} {{#if:{{{caption|{{{caption1|}}}}}}|<br />
+
-->{{#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>}}<!--
<span style="{{{captionstyle|}}}">{{{caption|{{{caption1|}}}}}}</span> }}</td></tr>}}<!--
+
  Image2
  Image 2
+
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}">{{{image2}}}{{#if:{{{caption2|}}}|<br /><span style="{{{captionstyle|}}}">{{{caption2}}}</span>}}</td></tr>}}<!--
-->{{#if:{{{image2|}}}|<tr><td colspan="2" class="{{{imageclass|}}}" style="text-align:center; {{{imagestyle|}}}"> {{{image2}}} {{#if:{{{caption2|}}}|<br />
 
<span style="{{{captionstyle|}}}">{{{caption2}}}</span> }}</td></tr>}}<!--
 
 
 
 
-->{{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|}}}
+
|class={{{class1|}}}  |rowclass={{{rowclass1|}}}
}} {{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|}}}
+
|class={{{class2|}}}  |rowclass={{{rowclass2|}}}
}} {{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|}}}
+
|class={{{class3|}}}  |rowclass={{{rowclass3|}}}
}} {{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  = {{{class4|}}}
+
|class={{
}} {{Infobox/
 
 
  Navbar
 
  Navbar
-->{{#if:{{{name|}}}|<tr><td style="text-align:right;" colspan="2">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
+
-->{{#if:{{{name|}}}|<tr><td colspan="2" style="text-align:right">{{navbar|{{{name}}}|noedit={{{noedit|0}}}}}</td></tr>}}
 
</table><noinclude>
 
</table><noinclude>
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 07:57, 6 September 2009

Template:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/rowTemplate:Infobox/row

Lua error in Module:Effective_protection_level at line 60: attempt to index field 'TitleBlacklist' (a nil value).

Template documentation[create]