Difference between revisions of "Template:Infobox/row"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Protected Template:Infobox/row: Highly visible template ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(sync with sandbox.)
Line 1: Line 1:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
+
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
  |{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|1}}|example}}
+
  |{{#if:{{{data|}}}
  |<tr>{{#if:{{{label|}}}
+
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th style="{{{labelstyle|}}}">{{{label|}}}</th>
+
   |<th style="{{{labelstyle|}}}">{{{label}}}</th>
 
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
 
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
 
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
 
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
   }}{{{data|}}}</td></tr>
+
   }}{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}

Revision as of 19:18, 5 September 2009