Difference between revisions of "Template:Sidebar"

From DMARC Wiki
Jump to navigation Jump to search
m (Undo revision 1289398 by Nahiyan8 (talk): problem on RTL languages pages)
(dir)
Line 1: Line 1:
<table class="vertical-navbox {{#if: {{{wraplinks|}}}|{{#ifeq: {{{wraplinks|}}}|true||nowraplinks}}|nowraplinks}} {{{bodyclass|{{{class|}}}}}}" cellspacing="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|right}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|right}}}}; background-color: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; {{#switch:{{{float|}}}|left = margin: 0 1em 1em 0;| none | right | #default = margin: 0 0 1em 1em;}} padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{#if:{{{cellpadding|}}}|{{{cellpadding}}}|0}}">{{#if: {{{outertitle|}}}|<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="{{#if:{{{cellspacing|}}}|{{{cellspacing}}}|5}}" style="float: {{#if:{{{float|}}}|{{{float}}}|{{dir|{{pagelang}}|left|right}}}}; clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|{{dir|{{pagelang}}|left|right}}}}}}; background-color: #f9f9f9; border: 1px solid #aaa; width:{{#if:{{{width|}}}|{{{width}}}|22em}}; {{#switch:{{{float|}}}|left = margin: 0 1em 1em 0;| none | right | #default = margin: 0 0 1em 1em;}} padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; {{{bodystyle|{{{style|}}}}}}" cellpadding="{{#if:{{{cellpadding|}}}|{{{cellpadding}}}|0}}">{{#if: {{{outertitle|}}}|<caption class="{{{outertitleclass|}}}" style="padding-bottom: 0.2em; font-size: 125%; line-height: 1.2em; font-weight: bold; {{{outertitlestyle|}}}">{{{outertitle}}}</caption>
 
}}{{#if: {{{topimage|}}}|
 
}}{{#if: {{{topimage|}}}|
 
<tr>
 
<tr>
Line 382: Line 382:
 
|none |off=
 
|none |off=
 
|#default=<tr>
 
|#default=<tr>
<td style="text-align: right; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td>
+
<td style="text-align: {{dir|{{pagelang}}|left|right}}; font-size: 115%; {{{navbarstyle|{{{tnavbarstyle|}}}}}}">{{navbar|{{{name|{{PAGENAME}}}}}|mini=1|fontstyle={{{navbarfontstyle|{{{tnavbarfontstyle|}}}}}}}}</td>
 
</tr>}}
 
</tr>}}
 
</table><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template: Sidebar/doc, not here --></noinclude>
 
</table><noinclude>{{documentation}}<!-- Please add categories and interwikis to the bottom of Template: Sidebar/doc, not here --></noinclude>

Revision as of 09:07, 11 March 2015

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