Template:Infobox/row: Difference between revisions
From XMS Wiki
Jump to navigationJump to search
(Created page with '{{#if:{{{header|}}} |<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header|}}}</th></tr> |{{#if:{{{data|}}}{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}|...') |
m (Protected "Template:Infobox/row" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#if:{{{header|}}} | <noinclude><pre></noinclude>{{#if:{{{header|}}} | ||
|<tr><th colspan="2" style="text-align:center; {{{headerstyle|}}}">{{{header | |<tr><th colspan="2" class="{{{class|}}}" style="text-align:center; {{{headerstyle|}}}">{{{header}}}</th></tr> | ||
|{{#if:{{{data|}}} | |{{#if:{{{data|}}} | ||
|<tr class="{{{rowclass|}}}">{{#if:{{{label|}}} | |||
|<th style="{{{labelstyle|}}}">{{{label | |<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|}}}"> | |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> | ||
}}{{{data | }} | ||
{{{data}}}</td></tr> | |||
}} | }} | ||
}} | }}<noinclude></pre> | ||
[[Category:Infobox Templates]] | |||
</noinclude> |
Latest revision as of 15:20, 20 March 2017
</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|}}}"> |<td colspan="2" class="{{{class|}}}" style="text-align:center; {{{datastyle|}}}"> }} {{{data}}}</td></tr> }} }}<noinclude>