Template:Section: Difference between revisions
From Elwiki
Tag: Undo |
No edit summary |
||
Line 1: | Line 1: | ||
__NOTOC__<includeonly>< | __NOTOC__<includeonly><div | ||
style=" | style=" | ||
{{#if:{{{Widths|}}}|width:{{{Widths|}}};}} | {{#if:{{{Widths|}}}|width:{{{Widths|}}};}} | ||
Line 10: | Line 10: | ||
{{{Attr|}}} | {{{Attr|}}} | ||
> | > | ||
<div> | |||
{{#forargs:Title | {{#forargs:Title | ||
| key | | key | ||
| value | | value | ||
| {{#if:{{#var:value|}} | | {{#if:{{#var:value|}} | ||
|< | |<div | ||
style=" | style=" | ||
{{#if:{{{Width|}}}|width:{{{Width}}};}} | {{#if:{{{Width|}}}|width:{{{Width}}};}} | ||
Line 27: | Line 21: | ||
{{#if:{{{Color|}}}|background-color:{{{Color}}};}} | {{#if:{{{Color|}}}|background-color:{{{Color}}};}} | ||
{{#if:{{{Color{{#var:key|}}|}}}|background-color:{{{Color{{#var:key|}}}}};}} | {{#if:{{{Color{{#var:key|}}|}}}|background-color:{{{Color{{#var:key|}}}}};}} | ||
{{{hStyle|}}} | {{{hStyle|}}} | ||
{{{hStyle{{#var:key|}}|}}} | {{{hStyle{{#var:key|}}|}}} | ||
{{{hStyles|}}} | |||
" | " | ||
class=" | class=" | ||
{{{hCls{{#var:key|}}|{{{hCls|}}}}}} | {{{hCls{{#var:key|}}|{{{hCls|}}}}}} | ||
{{#ifeq:{{{Color{{#var:key|}}|}}}|Rainbow|rainbow}} | {{#ifeq:{{{Color{{#var:key|}}|}}}|Rainbow|rainbow}} | ||
{{{hClses|}}} section-header | |||
" | " | ||
{{{hAttr{{#var:key|}}|{{{hAttr|}}}}}} | {{{hAttr{{#var:key|}}|{{{hAttr|}}}}}} | ||
Line 40: | Line 36: | ||
|{{#var:value|}} | |{{#var:value|}} | ||
}}<!-- | }}<!-- | ||
--></ | --></div> | ||
}} | }} | ||
}} | }} | ||
</div> | |||
<div class="mw-collapsible-content"> | |||
{{#forargs:Title | {{#forargs:Title | ||
| key | | key | ||
| value | | value | ||
| {{#if:{{#var:value|}} | | {{#if:{{#var:value|}} | ||
|< | |<div | ||
style=" | style=" | ||
{{#if:{{{Width|}}}|width:{{{Width}}};}} | {{#if:{{{Width|}}}|width:{{{Width}}};}} | ||
{{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | {{#if:{{{Width{{#var:key|}}|}}}|width:{{{Width{{#var:key|}}}}};}} | ||
{{{Style|}}}; | {{{Style|}}}; | ||
{{{Style{{#var:key|}}|}}} | {{{Style{{#var:key|}}|}}}{{{Styles|}}} | ||
" | " | ||
class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}" | class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}{{{Clses|}}} mw-collapsible-content section-content" | ||
{{{Attr{{#var:key|}}|{{{Attr|}}}}}} | {{{Attr{{#var:key|}}|{{{Attr|}}}}}} | ||
><!-- | ><!-- | ||
-->{{{Content{{#var:key|}}|}}}<!-- | -->{{{Content{{#var:key|}}|}}}<!-- | ||
--></ | --></div> | ||
}} | }} | ||
}} | }} | ||
</div> | |||
</ | </div><includeonly><noinclude>{{Doc}}</noinclude> |