Difference between revisions of "Template:Infobox/row"

From Yugipedia
Jump to: navigation, search
(self-documenting)
(Longer, but the old way might be causing some autocorrect problems.)
Line 4: Line 4:
 
   |<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|}}}">{{{data}}}</td></tr>
   |<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>
 
 
  }}
 
  }}
 
}}<noinclude></pre></noinclude>
 
}}<noinclude></pre></noinclude>

Revision as of 01:00, 27 November 2012

</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></tr>
   |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}">{{{data}}}</td></tr>
  }}
 }}
}}<noinclude>