Template:Other versions: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 6: Line 6:
If tree-like view and audiobook available:
If tree-like view and audiobook available:


<pre>{{Other versions |tree-like view=Tractatus Logico-Philosophicus (tree-like view) |audiobook=Tractatus Logico-Philosophicus (English audiobook)}}</pre>
<pre>{{Other versions|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;">{{#if:{{{tree-like view|}}}|[[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{tree-like view|}}}|{{#if:{{{audiobook|}}}|&nbsp;·&nbsp;|}}|}}{{#if:{{{audiobook|}}}|[[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{audiobook|}}}|{{#if:{{{epub|}}}|&nbsp;·&nbsp;|}}|}}{{#if:{{{epub|}}}|<span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p></includeonly>
In the page of the tree-like view, only include the link to the linear view:
 
<pre>{{Other versions|linear view=Tractatus Logico-Philosophicus (English) }}</pre>
 
</noinclude><includeonly><p class="noprint" style="text-align:center; margin-top:20px;">{{#if:{{{tree-like view|}}}|[[{{{tree-like view|}}}|Go to tree-like view]]|}}{{#if:{{{linear view|}}}|[[{{{linear view|}}}|Go to linear view]]|}}{{#if:{{{tree-like view|}}}|{{#if:{{{audiobook|}}}|&nbsp;·&nbsp;|}}|}}{{#if:{{{audiobook|}}}|[[{{{audiobook|}}}|Go to audiobook]]|}}{{#if:{{{audiobook|}}}|{{#if:{{{epub|}}}|&nbsp;·&nbsp;|}}|}}{{#if:{{{epub|}}}|<span class="plainlinks">[https://wittgensteinproject.org/ebooks/{{{epub}}} Downolad EPUB]</span>|}}</p></includeonly>