Difference between revisions of "Template:Infobox/row"

From FamilyTree
Jump to navigation Jump to search
(Created page with "{{#if:{{{header|}}} |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th><...")
 
 
Line 1: Line 1:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |&lt;tr&gt;&lt;th colspan=&quot;2&quot; class=&quot;{{{class|}}}&quot; style=&quot;text-align:center; {{{headerstyle|}}}&quot;&gt;{{{header}}}&lt;/th&gt;&lt;/tr&gt;
+
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
   |&lt;tr class=&quot;{{{rowclass|}}}&quot;&gt;{{#if:{{{label|}}}
+
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |&lt;th style=&quot;text-align:left; {{{labelstyle|}}}&quot;&gt;{{{label}}}&lt;/th&gt;
+
   |<th style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
     &lt;td class=&quot;{{{class|}}}&quot; style=&quot;{{{datastyle|}}}&quot;&gt;
+
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
   |&lt;td colspan=&quot;2&quot; class=&quot;{{{class|}}}&quot; style=&quot;text-align:center; {{{datastyle|}}}&quot;&gt;
+
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
 
   }}
 
   }}
{{{data}}}&lt;/td&gt;&lt;/tr&gt;
+
{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}

Latest revision as of 15:57, 10 October 2010