More actions
No edit summary |
No edit summary |
||
(6 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}} | <includeonly>{{disambig}}__NOEDITSECTION__{{clear}} | ||
{{#if: {{{tab|}}}{{{tab1|}}} | | |||
<!-- engage nested tab mode --> | |||
{{#tag:tabber| | {{#tag:tabber| | ||
{{#forargs:tab|key|tabname|{{#var:tabname}}= | {{#forargs:tab|key|tabname|{{#var:tabname}}= | ||
{{#tag:tabber| | {{#tag:tabber| | ||
{{#forargs:subtab|tabnumber|value| | {{#forargs:subtab|tabnumber|value| | ||
{{#ifeq:{{#var:key}}|{{#sub:{{#var:tabnumber}}|1}}|{{#ifexist:{{#var:value}}|{{#var:value}}={{:{{#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> | ||
{{#forargs: subtab|tabnumb|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