Template:Print Button: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
<pre>{{Print Button|epub=Note_sulla_logica_-_Ludwig_Wittgenstein.epub |audiobook=Tractatus Logico-Philosophicus (English audiobook)}}</pre>
<pre>{{Print Button|epub=Note_sulla_logica_-_Ludwig_Wittgenstein.epub |audiobook=Tractatus Logico-Philosophicus (English audiobook)}}</pre>


If tree-like view available:
If tree-like view and audiobook available:


<pre>{{Print Button|epub=Note_sulla_logica_-_Ludwig_Wittgenstein.epub |tree-like view=Tractatus Logico-Philosophicus (tree-like view) |audiobook=Tractatus Logico-Philosophicus (English audiobook)}}</pre>
<pre>{{Print Button|epub=Note_sulla_logica_-_Ludwig_Wittgenstein.epub |tree-like view=Tractatus Logico-Philosophicus (tree-like view) |audiobook=Tractatus Logico-Philosophicus (English audiobook)}}</pre>


</noinclude><includeonly><p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="print();" href="#">Download/print PDF</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>|}} · <span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span></p></includeonly>
</noinclude><includeonly><p class="noprint" style="text-align:center; margin-top:20px;"><html><a onclick="print();" href="#">Download/print PDF</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>|}} · <span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span></p></includeonly>