Template:Section: Difference between revisions
From Elwiki
mNo edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
| key | | key | ||
| value | | value | ||
| <th | | {{#if:{{#var:value|}} | ||
|<th | |||
style="{{#if:{{{Width|}}}|width:{{{Width}}};}} | style="{{#if:{{{Width|}}}|width:{{{Width}}};}} | ||
{{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | {{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | ||
Line 19: | Line 20: | ||
|<h{{{header|}}} id="{{anchorencode:{{#var:value|}}}}">{{#var:value|}}</h{{{header|}}}> | |<h{{{header|}}} id="{{anchorencode:{{#var:value|}}}}">{{#var:value|}}</h{{{header|}}}> | ||
|{{#var:value|}}}}</th> | |{{#var:value|}}}}</th> | ||
}}</tr><tr | }}}}</tr><tr | ||
style="{{{Styles|}}}" | style="{{{Styles|}}}" | ||
class="{{{Clses|}}}">{{#forargs:Title | class="{{{Clses|}}}">{{#forargs:Title | ||
| key | | key | ||
| value | | value | ||
| <td | | {{#if:{{#var:value|}} | ||
|<td | |||
style="{{#if:{{{Width|}}}|width:{{{Width}}};}} | style="{{#if:{{{Width|}}}|width:{{{Width}}};}} | ||
{{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | {{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | ||
Line 31: | Line 33: | ||
{{{Attr{{#var:key|}}|{{{Attr|}}}}}} | {{{Attr{{#var:key|}}|{{{Attr|}}}}}} | ||
class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}">{{{Content{{#var:key|}}|}}}</td> | class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}">{{{Content{{#var:key|}}|}}}</td> | ||
}}</tr></table> | }}}}</tr></table> |