Template:Sidebar: Difference between revisions

From Skulepedia
Jump to navigation Jump to search
w:en>Uzume
do not need both bodyclass and class as well as bodystyle and style so make "body" versions override (one can still use either but no longer can one use both)
w:en>Uzume
simplifiy cellspacing logic
Line 1: Line 1:
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: {{#if:{{{width|}}}|{{{width}}}|22em}}; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{{cellpadding|0}}}">{{#if: {{{outertitle<includeonly>|</includeonly>}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{{cellspacing|5}}}" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: {{#if:{{{width|}}}|{{{width}}}|22em}}; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{{cellpadding|0}}}">{{#if: {{{outertitle<includeonly>|</includeonly>}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
}}{{#if: {{{topimage<includeonly>|</includeonly>}}}|
}}{{#if: {{{topimage<includeonly>|</includeonly>}}}|
<tr>
<tr>

Revision as of 06:40, 26 February 2012

{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}