Template:Print Button: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 12: Line 12:
<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>
To opt out of the "Plain HTML" link:
 
<pre>{{Print Button|no plain html=1}}</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>|}}{{#if:{{{no plain html||&nbsp;· <span class="plainlinks">[{{fullurl:{{PAGENAME}}|action=render}} Plain HTML]</span>}}</p></includeonly>