Difference between revisions of "Template:Infobox/row"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(create row subtemplate)
 
m (Protected "Template:Infobox/row": Excessive vandalism (‎[edit=autoconfirmed] (indefinite) ‎[move=autoconfirmed] (indefinite)))
 
(13 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{#if:{{{header|}}}
 
{{#if:{{{header|}}}
  |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr>
+
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
  |{{#if:{{{label|}}}
+
  |{{#if:{{{data|}}}
   |{{#if:{{{data|}}}
+
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<tr>
+
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
    <th style="{{{labelstyle|}}}">{{{label|}}}</th>
+
    <td class="{{{class|}}}" style="{{{datastyle|}}}">
    <td class="{{{class|}}}" style="{{{datastyle|}}}">{{{data|}}}</td>
+
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
    </tr>
 
  }}
 
  |{{#if:{{{data|}}}
 
   |<tr><td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data|}}}</td></tr>
 
 
   }}
 
   }}
 +
{{{data}}}</td></tr>
 
  }}
 
  }}
 
}}
 
}}
 +
<noinclude>
 +
This page is copied from Wikipedia's [http://en.wikipedia.org/w/index.php?title=Template:Infobox/row Template:Infobox/row].
 +
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 22:13, 25 August 2017


This page is copied from Wikipedia's Template:Infobox/row.