Template:Tabnav/v2: Difference between revisions

Template page
(test)
(tweak)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#tag:tabber|
<includeonly>{{#tag:tabber|
{{#foreach: $n$|{{#vardefine:subject|{{{$n$}}}}}{{tabswitch/v2|subject={{#var:subject}}}} {{#var:subject}}
{{#fornumargs: number
{{!}}-{{!}}}}
|value
{{#foreach: episode$n$|{{!}}-{{!}}
| {{tabswitch|{{#var:value}}}}
Subjects: {{{episode$n$}}}={{Episode Subjects|{{{episode$n$}}}}}
{{!}}-{{!}}
}}
}}
{{#if:{{{episode|}}}|
{{#forargs: episode | key | value |  
{{#if:{{{1|}}}|{{!}}-{{!}}|{{void}}}}
Subjects: {{#var:value}}={{Episode Subjects|{{#var:value}}}}
Subjects: {{{episode}}}={{Episode Subjects|{{{episode}}}}}
{{!}}-{{!}}
}}
}}
}}</includeonly>
}}</includeonly>
<noinclude>[[Category: Buck Wiki Templates]]</noinclude>
<noinclude>[[Category: Buck Wiki Templates]]</noinclude>

Latest revision as of 00:25, 21 February 2021