Template:Collapsible navfobox: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
no edit summary
No edit summary
Tag: Manual revert
No edit summary
Line 1: Line 1:
<div class="collapsible-navfobox">{{#tag:infobox|{{#if:{{{header|}}}|{{#if:{{{headerNotOnPage|}}}|{{#ifeq:{{PAGENAME}}|{{{headerNotOnPage}}}|<header><div style="margin:3px;"><center style="{{{altHeaderStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{altHeader}}}</span><span class="mw-customtoggle-navfoboxAll" title="Show/hide" style="float:right;">+</span></center></div></header>|<header><div style="margin:3px;"><center style="{{{headerStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{header}}}</span><span class="mw-customtoggle-navfoboxAll" title="Show/hide" style="float:right;">+</span></center></div></header>}}|<header><div style="margin:3px;"><center style="{{{headerStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{header}}}</span><span class="mw-customtoggle-navfoboxAll" title="Show/hide" style="float:right;">+</span></center></div></header>}}}}
<div class="collapsible-navfobox">{{#tag:infobox|{{#if:{{{header|}}}|{{#if:{{{headerNotOnPage|}}}|{{#ifeq:{{PAGENAME}}|{{{headerNotOnPage}}}|<header><div style="margin:3px;"><center style="{{{altHeaderStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{altHeader}}}</span><span class="mw-customtoggle-navfoboxAll-{{#vardefineecho:id|{{#expr:{{#var:id|0}}+1}}}}" title="Show/hide" style="float:right;">+</span></center></div></header>|<header><div style="margin:3px;"><center style="{{{headerStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{header}}}</span><span class="mw-customtoggle-navfoboxAll-{{#var:id}}" title="Show/hide" style="float:right;">+</span></center></div></header>}}|<header><div style="margin:3px;"><center style="{{{headerStyle|font-weight:500;}}}"><span style="padding-top:10px;">{{{header}}}</span><span class="mw-customtoggle-navfoboxAll-{{#var:id}}" title="Show/hide" style="float:right;">+</span></center></div></header>}}}}
{{#fornumargs: num
{{#fornumargs: num
| value
| value
|{{#if:{{{t{{#var:num}}|}}}|<header><div class="mw-collapsible {{#if:{{{collapsed|}}}{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxAll" style="margin:3px;"><center style="{{{titleStyle|font-weight:500;font-size:75%;}}}">{{{t{{#var:num}}}}}<span class="mw-customtoggle-navfoboxS{{#var:num}}" title="Show/hide" style="float:right;">+</span></center></div></header>}}
|{{#if:{{{t{{#var:num}}|}}}|<header><div class="mw-collapsible {{#if:{{{collapsed|}}}{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxAll-{{#var:id}}" style="margin:3px;"><center style="{{{titleStyle|font-weight:500;font-size:75%;}}}">{{{t{{#var:num}}}}}<span class="mw-customtoggle-navfoboxS{{#var:num}}-{{#var:id}}" title="Show/hide" style="float:right;">+</span></center></div></header>}}
<navigation><div class="mw-collapsible {{#if:{{{collapsed|}}}{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxAll"><div class="mw-collapsible {{#if:{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxS{{#var:num}}"><center style="{{{section{{#var:num}}Style|font-weight:normal;}}}">{{#var:value}}</center></div></div></navigation>
<navigation><div class="mw-collapsible {{#if:{{{collapsed|}}}{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxAll-{{#var:id}}"><div class="mw-collapsible {{#if:{{{fullCollapsed|}}}|mw-collapsed}}" id="mw-customcollapsible-navfoboxS{{#var:num}}-{{#var:id}}"><center style="{{{section{{#var:num}}Style|font-weight:normal;}}}">{{#var:value}}</center></div></div></navigation>
}}
}}
|theme="infobox"}}</div><noinclude>{{Documentation}}[[Category:Navigation templates]]</noinclude>
|theme="infobox"}}</div><noinclude>{{Documentation}}[[Category:Navigation templates]]</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.