Template:DisambigTab/Nested: Difference between revisions

Template page
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>Nested DisambigTab test</noinclude>
<noinclude>Nested DisambigTab test</noinclude>
<includeonly>{{disambig}}__NOEDITSECTION__{{clear}}&nbsp;
<includeonly>{{disambig}}__NOEDITSECTION__{{clear}}&nbsp;
{{#if: {{{tab|}}}{{{tab1|}}} |
<!-- engage nested tab mode -->
{{#tag:tabber|
{{#tag:tabber|
     {{#forargs:tab|key|tabname|{{#var:tabname}}=
     {{#forargs:tab|key|tabname|{{#var:tabname}}=
         Key: {{#var:key}}{{#tag:tabber|
         {{#tag:tabber|
             {{#forargs:subtab|tabnumber|value|
             {{#forargs:subtab|tabnumber|value|
                 {{#ifeq:{{#var:key}}|{{#explode:{{#var:tabnumber}}|_|1}}|{{#ifexist:{{#var:value}}|{{#var:value}}={{#var:key}}--{{#explode:{{#var:tabnumber}}|_|1}}{{:{{#var:value}}}}{{!}}-{{!}}|<!--void-->}}}}
                 {{#ifeq:{{#var:key}}|{{#sub:{{#var:tabnumber}}|0|1}}|{{#ifexist:{{#var:value}}|{{#var:value}}={{:{{#var:value}}}}{{!}}-{{!}}|<!--void-->}}}}
             }}
             }}
         }}{{!}}-{{!}}
         }}{{!}}-{{!}}
     }}
     }}
}}
|<!-- not nested-->
{{#tag:tabber|{{#fornumargs: number|value|{{#ifexist:{{#var:value}}|{{#var:value}}={{:{{#var:value}}}}{{!}}-{{!}}|<!--void-->}}}}}}
}}
}}
For direct navigation sans the tabbed navigational aid above, please select one of the following article links:
For direct navigation sans the tabbed navigational aid above, please select one of the following article links:
<ul>
<ul>
{{#fornumargs: number|value|{{#ifexist:{{#var:value}}|<li>[[{{#var:value}}]]</li>|<!--ignore-->}}}}
{{#if: {{{tab|}}}{{{tab1|}}}|
<!-- engage nested tab mode -->
{{#forargs: subtab|tabnumb|value|{{#ifexist:{{#var:value}}|<li>[[{{#var:value}}]]</li>|<!--ignore-->}}}}|{{#fornumargs: number|value|{{#ifexist:{{#var:value}}|<li>[[{{#var:value}}]]</li>|<!--ignore-->}}}}
}}
</ul>
</ul>
</includeonly>
</includeonly>

Latest revision as of 17:01, 28 January 2023

Nested DisambigTab test