Template:Navbox with collapsible groups: Difference between revisions

    From Nonbinary Wiki
    (Rm redundant parameter)
     
    (38 intermediate revisions by 17 users not shown)
    Line 1: Line 1:
    {| class="navbox collapsible {{{start|}}} nowraplinks" style="clear:both; width:100%; margin:auto; font-size:.9em;"
    {{#invoke:Navbox with collapsible groups|navbox}}<noinclude>
    ! {{#if:{{{image|}}}|colspan="2"}} style="background-color:{{{titlebgcolor|#CCCCFF}}}; font-size:1.1em;" | <div style="float:left; width:6em; text-align:left;">{{Tnavbar|{{{name<noinclude>|Navigation with collapsible groups</noinclude>}}}|nodiv=1|mini=1|fontcolor={{{titlefontcolor|}}}}}</div>{{#if:{{{titlefontcolor|}}}|<font color={{{titlefontcolor|}}}>{{{title}}}</font>|{{{title}}} }}
    {{documentation}}
    |-
    </noinclude>
    {{#if:{{{image|}}}|{{!}} width="100" valign="middle" {{!}} {{{image}}} }}
    | <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group1}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group1abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group1content}}}
    </div>
    </div>
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group2}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group2abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group2content}}}
    </div>
    </div>
    {{#if:{{{group3|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group3}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group3abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group3content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group4|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group4}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group4abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group4content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group5|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group5}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group5abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group5content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group6|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group6}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group6abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group6content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group7|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group7}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group7abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group7content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group8|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group8}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group8abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group8content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group9|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group9}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group9abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group9content}}}
    </div>
    </div> }}<!--
    -->{{#if:{{{group10|}}}|
    <div class="NavFrame" style="border:0; margin:-1px -1px 2px -1px; padding:0">
    <div class="NavHead" style="padding:1px; background-color:{{{groupbgcolor|#DDDDFF}}};"><font color={{{groupfontcolor|}}}>{{{group10}}}</font></div>
    {{#ifeq:{{{param|}}}|{{{group10abbr}}}|<div class="NavContent">|<div class="NavContent" style="display:none; line-height:1.4em;">}}{{{group10content}}}
    </div>
    </div> }}
    |}<noinclude>{{template doc}}</noinclude>

    Latest revision as of 11:40, 21 May 2021

    Template documentation[create]