Template:Menu bar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 32: Line 32:
|lang10=
|lang10=
|target10=
|target10=
|export links= [populate this field with any string (e.g. "1" to display the export options)
}}
}}
</pre>
</pre>
Line 46: Line 47:
</div>
</div>
</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">
-->{{#if:{{{lang1|}}}|<span class="dropdown" style="color: #fbf0a4; padding: 14px 0;">{{!}}</span>|}}<!--
-->{{#if:{{{lang1|}}}|<div class="dropdown">
<p class="dropbtn">Change language</p>
<p class="dropbtn">Change language</p>
<div class="dropdown-content">
<div class="dropdown-content">
Line 60: Line 62:
-->{{#if:{{{lang9|}}}|[[{{{target9}}}|{{{lang9|}}}]]|}}<!--
-->{{#if:{{{lang9|}}}|[[{{{target9}}}|{{{lang9|}}}]]|}}<!--
-->{{#if:{{{lang10|}}}|[[{{{target10}}}|{{{lang10|}}}]]|}}</div>
-->{{#if:{{{lang10|}}}|[[{{{target10}}}|{{{lang10|}}}]]|}}</div>
</div>|}}
</div>|}}<!--
-->{{#if:{{{lang1|}}}||<span class="dropdown" style="color: #fbf0a4; padding: 14px;">{{!}}</span>}}<!--
--><div class="dropdown">
<p class="dropbtn">Download/export</p>
<div class="dropdown-content">
<html><a onclick="print();" href="#">Customisable PDF</a></html>
{{#if:{{{export links|}}}|
[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/epub/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}.epub EPUB]
[https://github.com/wittgenstein-project/wittgenstein-published-works/blob/main/markdown/{{lc:{{#language:{{PAGELANGUAGE}}|en}}}}/{{#replace:{{PAGENAMEE}}|_|%20}}/{{#replace:{{PAGENAMEE}}|_|%20}}.md Markdown]
|}}
[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]
[[Private:Downloading, exporting, and manipulating the texts|About these options]]
</div>
</div>
</div></includeonly>
</div></includeonly>