Difference between revisions of "Template:Infobox"

From PinWiki
Jump to navigation Jump to search
(Created page with "{{#ifeq:{{{child|}}}|yes||<table class="infobox {{{bodyclass|}}}" cellspacing="5" style="width:22em; {{{bodystyle|}}}"><!-- Caption -->{{#if:{{{title|}}}|<caption class="{{{titl...")
 
 
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
 
-->{{#if:{{{title|}}}|<caption class="{{{titleclass|}}}" style="{{{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:{{{title|}}}|<tr><td colspan="2" class="{{{titleclass|}}}" style="text-align:center; font-size: 125%; font-weight: bold; {{{titlestyle|}}}">{{{title}}}</td></tr>}}<!--
}}{{#ifeq:{{{child|}}}|yes|{{#if:{{{title|}}}|'''{{{title}}}'''}}}}<!--
+
<!--
Subheader1
+
Subheader
-->{{#if:{{{subheader|{{{subheader1|}}}}}}|{{Infobox/row
+
-->{{#if:{{{above|}}}|<tr><td colspan="2" class="{{{aboveclass|}}}" style="text-align:center; font-weight: bold; {{{abovestyle|}}}">{{{above}}}</td><
|data={{{subheader|{{{subheader1|}}}}}}
 
|datastyle={{{subheaderstyle|}}}
 
|class={{{subheaderclass|}}}
 
|rowclass={{{subheaderrowclass|{{{subheaderrowclass1|}}}}}}
 
}} }}<!--
 
Subheader2
 
-->{{#if:{{{subheader2|}}}|{{Infobox/row
 
|data={{{subheader2}}}
 
|datastyle={{{subheaderstyle|}}}
 
|class={{{subheaderclass|}}}
 
|rowclass={{{subheaderrowclass2|}}}
 
}} }}<!--
 
Image1
 
-->{{#if:{{{image|{{{image1|}}}}}}|{{Infobox/row
 
|data={{{image|{{{image1}}} }}}{{#if:{{{caption|{{{caption1|}}}}}}|<br /><span style="{{{captionstyle|}}}">{{{caption|{
 

Latest revision as of 21:01, 30 June 2017