Template:Menu bar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 50: Line 50:
-->{{#if:{{{lang1|}}}|<div class="dropdown separator">
-->{{#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="30px" 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="40" onclick="toggleLanguageLinks()"></html>
[[{{{target1}}}|{{{lang1|}}}]] {{#if:{{{lang1alt|}}}|<span class="dropdown-content-alt">[[{{{target1alt|}}}|({{{lang1alt|}}})]]</span>|}}<!--
[[{{{target1}}}|{{{lang1|}}}]] {{#if:{{{lang1alt|}}}|<span class="dropdown-content-alt">[[{{{target1alt|}}}|({{{lang1alt|}}})]]</span>|}}<!--
-->{{#if:{{{lang2|}}}|[[{{{target2}}}|{{{lang2|}}}]]|}} {{#if:{{{lang2alt|}}}|<span class="dropdown-content-alt">[[{{{target2alt|}}}|({{{lang2alt|}}})]]</span>|}}<!--
-->{{#if:{{{lang2|}}}|[[{{{target2}}}|{{{lang2|}}}]]|}} {{#if:{{{lang2alt|}}}|<span class="dropdown-content-alt">[[{{{target2alt|}}}|({{{lang2alt|}}})]]</span>|}}<!--
Line 64: Line 64:
-->{{#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>
<div id="navbar-download-links" class="dropdown-content"><html><img class="close-download-links" src="https://wittgensteinproject.org/w/images/7/75/White-cross-padding.png" width="30px" onclick="toggleDownloadLinks()"></html>
<div id="navbar-download-links" class="dropdown-content"><html><img class="close-download-links" src="https://wittgensteinproject.org/w/images/7/75/White-cross-padding.png" width="40" onclick="toggleDownloadLinks()"></html>
<html><a onclick="print();" href="#">Customisable PDF</a></html>
<html><a onclick="print();" href="#">Customisable PDF</a></html>
[https://github.com/wittgenstein-project/wittgenstein-published-works/raw/main/pdf/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}.pdf Static PDF]
[https://github.com/wittgenstein-project/wittgenstein-published-works/raw/main/pdf/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}.pdf Static PDF]