You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Navigation sidebar: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>Krinkle
No edit summary
imported>Tacsipacsi
(get rid of all inline CSS so that TemplateStyles can be made responsive without !important overrides)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<templatestyles src="Navigation sidebar/styles.css"/><div role="navigation" class="tpl-navsidebar {{{class|}}}" style="
<templatestyles src="Navigation sidebar/styles.css"/><div role="navigation" class="tpl-navsidebar {{#switch:{{{float|}}}|left|right|none=tpl-navsidebar-float{{{float}}}}} {{{class|}}}" style="{{{style|}}}">{{#if: {{{topimage|<noinclude>demo</noinclude>}}}|
  float: {{#if:{{{float|}}}|{{{float}}}|{{dir|{{pagelang}}|left|right}}}};
  clear: {{#ifeq:{{{float|}}}|none|both|{{#if:{{{float|}}}|{{{float}}}|{{dir|{{pagelang}}|left|right}}}}}};
  {{#switch: {{{float|}}}|left = margin: 0.5em 1em 1em 0;| none = margin: 0.5em 0; | right | #default = margin: 0.5em 0 1em 1em;}}
  {{{style|}}}
">{{#if: {{{topimage|<noinclude>demo</noinclude>}}}|
<div class="tpl-navsidebar-topimage">{{{topimage}}}</div>
<div class="tpl-navsidebar-topimage">{{{topimage}}}</div>
}}{{#if: {{{title|<noinclude>demo</noinclude>}}}|
}}{{#if: {{{title|<noinclude>demo</noinclude>}}}|
Line 59: Line 54:
{{#if: {{{heading9|<noinclude>demo</noinclude>}}}|<p class="tpl-navsidebar-heading">{{{heading9}}}<p>}}
{{#if: {{{heading9|<noinclude>demo</noinclude>}}}|<p class="tpl-navsidebar-heading">{{{heading9}}}<p>}}
{{{content9}}}
{{{content9}}}
</div>
}}{{#if: {{{heading10|}}}{{{content10|}}}<noinclude>demo</noinclude> |
<div class="tpl-navsidebar-content">
{{#if: {{{heading10|<noinclude>demo</noinclude>}}}|<p class="tpl-navsidebar-heading">{{{heading10}}}<p>}}
{{{content10}}}
</div>
</div>
}}<!-- end of contents --></div><!--
}}<!-- end of contents --></div><!--

Revision as of 19:17, 19 July 2022

Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.