Шаблон:Sidebar: различия между версиями

27 байт убрано ,  03:40, 26 февраля 2012
simplifiy cellspacing logic
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))
en>Uzume
(simplifiy cellspacing logic)
Строка 1: Строка 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>
Анонимный участник