Difference between revisions of "Template:Infobox/row"

From Yugipedia
Jump to: navigation, search
 
m (Protected "Template:Infobox/row": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{#if:{{{header|}}}
+
<noinclude><pre></noinclude>{{#if:{{{header|}}}
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr>
+
  |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}
 +
</th></tr>
 
  |{{#if:{{{data|}}}
 
  |{{#if:{{{data|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
 
   |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}</th>
+
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}
 +
</th>
 
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
 
     <td class="{{{class|}}}" style="{{{datastyle|}}}">
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">
+
{{{data}}}
  }}
+
</td>
{{{data}}}</td></tr>
+
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}
 +
</td>
 +
  }}</tr>
 
  }}
 
  }}
}}
+
}}<noinclude></pre></noinclude>

Latest revision as of 18:20, 3 June 2019

</noinclude>{{#if:{{{header|}}}
 |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}
</th></tr>
 |{{#if:{{{data|}}}
  |<tr class="{{{rowclass|}}}">{{#if:{{{label|}}}
   |<th scope="row" style="text-align:left; {{{labelstyle|}}}">{{{label}}}
</th>
    <td class="{{{class|}}}" style="{{{datastyle|}}}">
{{{data}}}
</td>
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}
</td>
  }}</tr>
 }}
}}<noinclude>