Template:Section: Difference between revisions
From Elwiki
mNo edit summary |
Tag: Rollback |
||
(217 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__<includeonly><table | |||
| | style=" | ||
| style=" | {{#if:{{{Widths|}}}|width:{{{Widths|}}};}} | ||
|- | {{{SectionSty|}}} | ||
| style=" | " | ||
class=" | |||
section | |||
{{{SectionCls|}}} | |||
" | |||
{{{Attr|}}} | |||
> | |||
<tr | |||
style="{{{hStyles|}}}" | |||
class=" | |||
textfloat | |||
{{{hClses|}}} | |||
{{#ifeq:{{{Color|}}}|Rainbow|rainbow}} | |||
"> | |||
{{#forargs:Title | |||
| key | |||
| value | |||
| {{#if:{{#var:value|}} | |||
|<th | |||
style=" | |||
{{#if:{{{Width|}}}|width:{{{Width}}};}} | |||
{{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | |||
{{#if:{{{Color|}}}|background-color:{{{Color}}};}} | |||
{{#if:{{{Color{{#var:key|}}|}}}|background-color:{{{Color{{#var:key|}}}}};}} | |||
{{{hStyle|}}}; | |||
{{{hStyle{{#var:key|}}|}}} | |||
" | |||
class=" | |||
{{{hCls{{#var:key|}}|{{{hCls|}}}}}} | |||
{{#ifeq:{{{Color{{#var:key|}}|}}}|Rainbow|rainbow}} | |||
" | |||
{{{hAttr{{#var:key|}}|{{{hAttr|}}}}}} | |||
><!-- | |||
-->{{#if:{{{header|}}} | |||
|<h{{{header|}}} id="{{anchorencode:{{#var:value|}}}}">{{#var:value|}}</h{{{header|}}}> | |||
|{{#var:value|}} | |||
}}<!-- | |||
--></th> | |||
}} | |||
}} | |||
</tr> | |||
<tr | |||
style="{{{Styles|}}}" | |||
class="{{{Clses|}}}" | |||
> | |||
{{#forargs:Title | |||
| key | |||
| value | |||
| {{#if:{{#var:value|}} | |||
|<td | |||
style=" | |||
{{#if:{{{Width|}}}|width:{{{Width}}};}} | |||
{{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | |||
{{{Style|}}}; | |||
{{{Style{{#var:key|}}|}}} | |||
" | |||
class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}" | |||
{{{Attr{{#var:key|}}|{{{Attr|}}}}}} | |||
><!-- | |||
-->{{{Content{{#var:key|}}|}}}<!-- | |||
--></td> | |||
}} | |||
}} | |||
</tr> | |||
</table><includeonly><noinclude>{{Doc}}</noinclude> |