Template:Navbox with collapsible groups: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Nmajdan
testing
meta>Nmajdan
rename section > group
Line 4: Line 4:
{{#if:{{{image|}}}|{{!}} width="100" valign="middle" {{!}} [[{{{image}}}]] }}
{{#if:{{{image|}}}|{{!}} width="100" valign="middle" {{!}} [[{{{image}}}]] }}
| <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
| <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section1}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group1}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section1abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section1content}}}
{{#ifeq:{{{param|}}}|{{{group1abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group1content}}}
</div>
</div>
</div>
</div>
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section2}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group2}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section2abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section2content}}}
{{#ifeq:{{{param|}}}|{{{group2abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group2content}}}
</div>
</div>
</div>
</div>
{{#if:{{{section3|}}}|
{{#if:{{{group3|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section3}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group3}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section3abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section3content}}}
{{#ifeq:{{{param|}}}|{{{group3abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group3content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section4|}}}|
-->{{#if:{{{group4|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section4}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group4}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section4abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section4content}}}
{{#ifeq:{{{param|}}}|{{{group4abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group4content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section5|}}}|
-->{{#if:{{{group5|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section5}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group5}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section5abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section5content}}}
{{#ifeq:{{{param|}}}|{{{group5abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group5content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section6|}}}|
-->{{#if:{{{group6|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section6}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group6}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section6abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section6content}}}
{{#ifeq:{{{param|}}}|{{{group6abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group6content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section7|}}}|
-->{{#if:{{{group7|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section7}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group7}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section7abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section7content}}}
{{#ifeq:{{{param|}}}|{{{group7abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group7content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section8|}}}|
-->{{#if:{{{group8|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section8}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group8}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section8abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section8content}}}
{{#ifeq:{{{param|}}}|{{{group8abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group8content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section9|}}}|
-->{{#if:{{{group9|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section9}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group9}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section9abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section9content}}}
{{#ifeq:{{{param|}}}|{{{group9abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group9content}}}
</div>
</div>
</div> }}<!--
</div> }}<!--
-->{{#if:{{{section10|}}}|
-->{{#if:{{{group10|}}}|
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
<div class="NavHead" style="padding:1px; background-color:{{{sectionbgcolor|#DDDDFF}}};"><font color={{{sectionfontcolor|}}}>{{{section10}}}</font></div>
<div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group10}}}</font></div>
{{#ifeq:{{{param|}}}|{{{section10abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{section10content}}}
{{#ifeq:{{{param|}}}|{{{group10abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group10content}}}
</div>
</div>
</div> }}
</div> }}
|}
|}
<noinclude>{{template doc}}</noinclude>
<noinclude>{{template doc}}</noinclude>

Revision as of 18:34, 18 October 2007