Template:Section: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>__NOTOC__<table cellspacing="0" cellpadding="0" style="width:{{{Widths|100%}}}; padding: 0; margin: 0; font-size: 1em; line-height: 1.5em; border: 1px #000 solid; border-bottom: none; border-sapcing: 0;{{{SectionSty|}}}" {{{Attr|}}}>
<includeonly>__NOTOC__<table cellspacing="0" cellpadding="0" style="position: relative; width:{{{Widths|100%}}}; padding: 0; margin: 0; font-size: 1em; line-height: 1.5em; border: 1px #000 solid; border-bottom: none; border-sapcing: 0;{{{SectionSty|}}}" {{{Attr|}}}>
   <tr style="width: 100%; text-align: center; vertical-align: middle; height: 2em;{{{TitleStys|}}}">{{#forargs:Title
   <tr style="width: 100%; text-align: center; vertical-align: middle; height: 2em;{{{TitleStys|}}}">{{#forargs:Title
| key
| key
Line 7: Line 7:
| key
| key
| value
| value
| {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<td id="{{#var:key}}" style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var:key|}}|}}}</td>}}}}</tr>
| {{#ifexpr:{{#if:{{#var:value|}}|1|0}} and {{Isnumeric|{{#var:key|}}}}|<td style="padding: 0.5em;{{{Style|}}};{{{Style{{#var:key|}}|}}}">{{{Content{{#var:key|}}|}}}</td>}}}}</tr>
</table></includeonly><noinclude>__TOC__{{DISPLAYTITLE:Section}}
</table></includeonly><noinclude>__TOC__<br>{{DISPLAYTITLE:Section}}
{{Section
{{Section
| Color0=lightgreen
| Color0=lightgreen