Template:Menu bar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 48: Line 48:
</div>
</div>
{{#ifeq:{{PAGENAME}}|All texts|'''<span style="display: inline-block; float: left; color: #fbf0a4; text-align: center; padding: 14px 16px;">All texts</span>'''|[[Project:All texts|All texts]]}}<!--
{{#ifeq:{{PAGENAME}}|All texts|'''<span style="display: inline-block; float: left; color: #fbf0a4; text-align: center; padding: 14px 16px;">All texts</span>'''|[[Project:All texts|All texts]]}}<!--
-->{{#if:{{{lang1|}}}|<div class="dropdown separator">
-->{{#switch: {{{work|}}}
| TLP = <div class="dropdown separator">
<html><p class="dropbtn" onclick="toggleLanguageLinks(); hideDownloadLinks();">Change language</p></html>
<div id="navbar-language-links" class="dropdown-content"><html><img class="close-language-links" src="https://wittgensteinproject.org/w/images/7/75/White-cross-padding.png" width="25" onclick="toggleLanguageLinks()"></html>
[[Logisch-philosophische Abhandlung|German]] <span class="dropdown-content-alt">[[Logisch-philosophische Abhandlung (Darstellung in Baumform)|tree-like view]]</span>
[[Tractatus Logico-Philosophicus (English)|English]] <span class="dropdown-content-alt">[[Tractatus Logico-Philosophicus (tree-like view)|tree-like view]]</span>
[[Tractatus logico-philosophicus (français)|French]] <span class="dropdown-content-alt">[[Tractatus logico-philosophicus (version arborescente interactive)|tree-like view]]</span>
[[Tractatus logico-philosophicus (italiano)|Italian]] <span class="dropdown-content-alt">[[Tractatus logico-philosophicus (visualizzazione ad albero)|tree-like view]]</span>
[[Tractatus Logico-Philosophicus (multilingual side-by-side view)|Multilingual side-by-side view]]
</div>
</div>
| {{#if:{{{lang1|}}}|<div class="dropdown separator">
<html><p class="dropbtn" onclick="toggleLanguageLinks(); hideDownloadLinks();">Change language</p></html>
<html><p class="dropbtn" onclick="toggleLanguageLinks(); hideDownloadLinks();">Change language</p></html>
<div id="navbar-language-links" class="dropdown-content"><html><img class="close-language-links" src="https://wittgensteinproject.org/w/images/7/75/White-cross-padding.png" width="25" onclick="toggleLanguageLinks()"></html>
<div id="navbar-language-links" class="dropdown-content"><html><img class="close-language-links" src="https://wittgensteinproject.org/w/images/7/75/White-cross-padding.png" width="25" onclick="toggleLanguageLinks()"></html>
Line 61: Line 72:
-->{{#if:{{{lang9|}}}|[[{{{target9}}}|{{{lang9|}}}]]|}}<!--
-->{{#if:{{{lang9|}}}|[[{{{target9}}}|{{{lang9|}}}]]|}}<!--
-->{{#if:{{{lang10|}}}|[[{{{target10}}}|{{{lang10|}}}]]|}}</div>
-->{{#if:{{{lang10|}}}|[[{{{target10}}}|{{{lang10|}}}]]|}}</div>
</div>|}}<!--
</div>|}}
}}<!--
-->{{#if:{{{export links|}}}|<div class="dropdown {{#if:{{{lang1|}}}||separator}}">
-->{{#if:{{{export links|}}}|<div class="dropdown {{#if:{{{lang1|}}}||separator}}">
<html><p class="dropbtn" onclick="toggleDownloadLinks(); hideLanguageLinks();">Download/export</p></html>
<html><p class="dropbtn" onclick="toggleDownloadLinks(); hideLanguageLinks();">Download/export</p></html>