Difference between revisions of "Template:Navigation"
From Twinsuniverse
m |
m |
||
Line 1: | Line 1: | ||
<div class="NavFrame" style="clear: both; {{ #if: {{{width|}}} | width: {{{width}}}; | width: 90%; }} margin: 0.5em {{ #ifeq: {{{align|}}} | left | ; float: left; |{{ #ifeq: {{{align|}}} | right | ; float: right; | auto; }}}} margin-top: 0.5em; margin-bottom: 0.5em; padding: 0.2em;"> | <div class="NavFrame" style="clear: both; {{ #if: {{{width|}}} | width: {{{width}}}; | width: 90%; }} margin: 0.5em {{ #ifeq: {{{align|}}} | left | ; float: left; |{{ #ifeq: {{{align|}}} | right | ; float: right; | auto; }}}} margin-top: 0.5em; margin-bottom: 0.5em; padding: 0.2em;"> | ||
− | <div | + | <div style="padding-top: 0.1em; padding-bottom: 0.1em; text-align: center; color: {{{color|black}}}; background: {{{background|#ccccff}}}; font-weight: bold;"> |
{{{title}}}</div> | {{{title}}}</div> | ||
<div {{#ifeq: {{{hide|}}} | yes | class="NavContent" |}} style="padding: 0.5em 1em 0.5em 1em; background-color: #f9f9f9; font-size: 95%"> | <div {{#ifeq: {{{hide|}}} | yes | class="NavContent" |}} style="padding: 0.5em 1em 0.5em 1em; background-color: #f9f9f9; font-size: 95%"> | ||
{| style="width: 100%; background-color: transparent; margin: 0; padding: 0; text-align: {{ #ifeq: {{{align|}}} | right | right | {{ #ifeq: {{{align|}}} | left | left | center }}}};" cellpadding="0" cellspacing="0" | {| style="width: 100%; background-color: transparent; margin: 0; padding: 0; text-align: {{ #ifeq: {{{align|}}} | right | right | {{ #ifeq: {{{align|}}} | left | left | center }}}};" cellpadding="0" cellspacing="0" | ||
− | {{ #if: {{{image|}}} | <td style="padding-left: 1em;"> | <td> }} {{{contents}}} {{ #if: {{{image|}}} | <td style="text-align: left;"> {{{image|}}} </td> |}} | + | {{ #if: {{{image|}}} | <td style="padding-left: 1em;"> | <td> }} {{{contents}}} {{#if: {{{image|}}} | <td style="text-align: left;"> {{{image|}}} </td>|}} |
|} | |} | ||
− | </div></div> | + | </div></div> |
Revision as of 05:51, 16 April 2007
{{{title}}}