Template:Navbox with collapsible groups: Difference between revisions
From Vigyanwiki
Template>Nmajdan (testing) |
Template>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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group1}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group2}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group2abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group2content}}} | ||
</div> | </div> | ||
</div> | </div> | ||
{{#if:{{{ | {{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group3}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group3abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group3content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group4}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group4abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group4content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group5}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group5abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group5content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group6}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group6abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group6content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group7}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group7abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group7content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group8}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group8abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group8content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group9}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#ifeq:{{{param|}}}|{{{group9abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group9content}}} | ||
</div> | </div> | ||
</div> }}<!-- | </div> }}<!-- | ||
-->{{#if:{{{ | -->{{#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:{{{ | <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group10}}}</font></div> | ||
{{#ifeq:{{{param|}}}|{{{ | {{#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 00:04, 19 October 2007
{{{title}}} |
---|
{{{group1}}}
{{{group2}}}
|
Template documentation
[create]