Template:Section: Difference between revisions

From Elwiki
No edit summary
m (Reverted edits by Ritsu (talk) to last revision by Boxsnake)
Tag: Rollback
 
Line 1: Line 1:
__NOTOC__<includeonly><div
__NOTOC__<includeonly><table
   style="
   style="
     {{#if:{{{Widths|}}}|width:{{{Widths|}}};}}
     {{#if:{{{Widths|}}}|width:{{{Widths|}}};}}
Line 10: Line 10:
   {{{Attr|}}}
   {{{Attr|}}}
>
>
<div style="{{{hStyles|}}}" class="textfloat
  <tr
    style="{{{hStyles|}}}"
    class="
      textfloat
       {{{hClses|}}}
       {{{hClses|}}}
       {{#ifeq:{{{Color|}}}|Rainbow|rainbow}}">
       {{#ifeq:{{{Color|}}}|Rainbow|rainbow}}
    ">
     {{#forargs:Title
     {{#forargs:Title
       | key
       | key
       | value
       | value
       | {{#if:{{#var:value|}}
       | {{#if:{{#var:value|}}
           |<div
           |<th
             style="
             style="
               {{#if:{{{Width|}}}|width:{{{Width}}};}}
               {{#if:{{{Width|}}}|width:{{{Width}}};}}
Line 23: Line 27:
               {{#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|}}|}}}
             "
             "
             class="
             class="
               {{{hCls{{#var:key|}}|{{{hCls|}}}}}}
               {{{hCls{{#var:key|}}|{{{hCls|}}}}}}
               {{#ifeq:{{{Color{{#var:key|}}|}}}|Rainbow|rainbow}} section-header
               {{#ifeq:{{{Color{{#var:key|}}|}}}|Rainbow|rainbow}}
             "
             "
             {{{hAttr{{#var:key|}}|{{{hAttr|}}}}}}
             {{{hAttr{{#var:key|}}|{{{hAttr|}}}}}}
Line 36: Line 40:
               |{{#var:value|}}
               |{{#var:value|}}
             }}<!--
             }}<!--
           --></div>
           --></th>
         }}
         }}
     }}
     }}
    </div>
  </tr>
     <div class="mw-collapsible-content {{{Clses|}}}" style="{{{Styles|}}}">
  <tr
     style="{{{Styles|}}}"
    class="{{{Clses|}}}"
  >
     {{#forargs:Title
     {{#forargs:Title
       | key
       | key
       | value
       | value
       | {{#if:{{#var:value|}}
       | {{#if:{{#var:value|}}
           |<div
           |<td
             style="
             style="
               {{#if:{{{Width|}}}|width:{{{Width}}};}}
               {{#if:{{{Width|}}}|width:{{{Width}}};}}
Line 52: Line 59:
               {{{Style{{#var:key|}}|}}}
               {{{Style{{#var:key|}}|}}}
             "
             "
             class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}} mw-collapsible-content section-content"
             class="{{{Cls{{#var:key|}}|{{{Cls|}}}}}}"
             {{{Attr{{#var:key|}}|{{{Attr|}}}}}}
             {{{Attr{{#var:key|}}|{{{Attr|}}}}}}
           ><!--
           ><!--
             -->{{{Content{{#var:key|}}|}}}<!--
             -->{{{Content{{#var:key|}}|}}}<!--
           --></div>
           --></td>
         }}
         }}
     }}
     }}
    </div>
  </tr>
</div><includeonly><noinclude>{{Doc}}</noinclude>
</table><includeonly><noinclude>{{Doc}}</noinclude>

Latest revision as of 11:59, 2 May 2022