Template:Print Button alt: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 16: Line 16:
<pre>|tree-like view=Tractatus Logico-Philosophicus (tree-like view) |audiobook=Tractatus Logico-Philosophicus (English audiobook)</pre>
<pre>|tree-like view=Tractatus Logico-Philosophicus (tree-like view) |audiobook=Tractatus Logico-Philosophicus (English audiobook)</pre>


</noinclude><includeonly>
</noinclude><includeonly><p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="openExportOptions();" href="#">Download/export</a></html>{{#if:{{{tree-like view|}}}|&nbsp;· [[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{audiobook|}}}|&nbsp;· [[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{epub|}}}|&nbsp;· <span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p>
<html>
<style>
.export-options {
  background-color: rgba(0,0,0,0.6);
  color: white;
  padding-top: .5em .5em .5em 1em;
  border-radius: .3em;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -.5em);
  box-shadow: 0 3px 6px rgba(0,0,0,0.6);
  transition: .2s;
}
.export-options a {
  color: white;
}
.export-options a.external:hover {
  color: white;
}
.export-options:hover {
box-shadow: 0 6px 10px rgba(0,0,0,0.6);
}
.export-options-close-button {
  float: right;
  margin-left: .5em;
}
.export-options-close-button:hover {
  cursor: pointer;
}
</style>
</html>
<p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="openExportOptions();" href="#">Download/export</a></html>{{#if:{{{tree-like view|}}}|&nbsp;· [[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{audiobook|}}}|&nbsp;· [[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{epub|}}}|&nbsp;· <span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p>
<div class="export-options" style="display: none;" id="export-options"><html><img src="images/0/03/White-cross.png" class="export-options-close-button" width="10px" onclick="closeExportOptions()"><a onclick="print();" href="#">Customisable PDF</a></html> · {{#if:{{{external export|}}}|
<div class="export-options" style="display: none;" id="export-options"><html><img src="images/0/03/White-cross.png" class="export-options-close-button" width="10px" onclick="closeExportOptions()"><a onclick="print();" href="#">Customisable PDF</a></html> · {{#if:{{{external export|}}}|
[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] ·&nbsp;|}}<span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span> · [[Private:Downloading, exporting, and manipulating the texts|Help]]
[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] ·&nbsp;|}}<span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span> · [[Private:Downloading, exporting, and manipulating the texts|Help]]</div></includeonly>
</div>
</includeonly>