Template:Tabnav/v2: Difference between revisions

Template page
(test)
(tweak)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#tag:tabber|
<includeonly>{{#tag:tabber|
{{#foreach: $n$|{{#vardefine:tabname|{{{$n$}}}}}{{tabswitch|{{#var:tabname}}}}}}
{{#fornumargs: number
{{#foreach: episode$n$|{{!}}-{{!}}
|value
Subjects: {{{episode$n$}}}={{Episode Subjects|{{{episode$n$}}}}}
| {{tabswitch|{{#var:value}}}}
{{!}}-{{!}}
}}
}}
{{#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