Template:Navbox with collapsible groups: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Pomte
allow for standard state param; standardize title bar size; increase content padding for readability
meta>Ms2ger
m titlefontcolor; cleanup
Line 1: Line 1:
{| class="navbox collapsible {{{start|{{{state|}}}}}} nowraplinks" style="clear:both; width:100%; margin:auto;"
{| class="navbox collapsible {{{start|{{{state|}}}}}} nowraplinks" style="clear:both; width:100%; margin:auto;"
! {{#if:{{{image|}}}|colspan="2"}} style="background-color:{{{titlebgcolor|#ccf}}};" | <div style="float:left; width:6em; text-align:left;">{{Tnavbar|{{{name<noinclude>|Navigation with collapsible groups</noinclude>}}}|nodiv=1|mini=1|fontcolor={{{titlefontcolor|}}}}}</div><span style="font-size:1.1em;">{{#if:{{{titlefontcolor|}}}|<font color="{{{titlefontcolor|}}}">{{{title}}}</font>|{{{title}}} }}</span>
! {{#if:{{{image|}}}|colspan="2"}} style="background-color:{{{titlebgcolor|#ccf}}}; {{#if:{{{titlefontcolor|}}}|color:{{{titlefontcolor|}}};}}" | <div style="float:left; width:6em; text-align:left;">{{Tnavbar|{{{name<noinclude>|Navigation with collapsible groups</noinclude>}}}|nodiv=1|mini=1|fontcolor={{{titlefontcolor|}}}}}</div><span style="font-size:1.1em;">{{#if:{{{titlefontcolor|}}}|<font color="{{{titlefontcolor|}}}">{{{title}}}</font>|{{{title}}} }}</span>
|-
|-
{{#if:{{{image|}}}|{{!}} width="100" valign="middle" {{!}} {{{image}}} }}
{{#if:{{{image|}}}|{{!}} style="width:100px; vertical-align:middle;" {{!}} {{{image}}} }}
| <div class="NavFrame" style="border:0; margin:-1px -1px 3px -1px; padding:0;">
| <div class="NavFrame" style="border:0; margin:-1px -1px 3px -1px; padding:0;">
<div class="NavHead" style="padding:0 0 1px 0; background-color:{{{groupbgcolor|#ddf}}};"><font color="{{{groupfontcolor|}}}">{{{group1}}}</font></div>
<div class="NavHead" style="padding:0 0 1px 0; background-color:{{{groupbgcolor|#ddf}}};"><font color="{{{groupfontcolor|}}}">{{{group1}}}</font></div>

Revision as of 14:08, 2 March 2008