Template:Print Button: Difference between revisions

no edit summary
No edit summary
No edit summary
 
Line 16: Line 16:
<pre>{{Print Button|no plain html=1}}</pre>
<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>
</noinclude><includeonly><p class="noprint" style="text-align:center; margin-top:20px;"><span id="print-button">Download/print PDF</span>{{#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>