Template:Menu bar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
<pre>
<pre>
{{menu bar
{{menu bar
|lang1=
|lang1= English
|target1=
|target1= Tractatus Logico-Philosophicus
|lang1alt= tree
|target1alt= Tractatus Logico-Philosophicus (tree-like view)
|lang2=
|lang2=
|target2=
|target2=
|lang2alt=
|target2alt=
|lang3=
|lang3=
|target3=
|target3=
|lang3alt=
|target3alt=
|lang4=
|lang4=
|target4=
|target4=
Line 31: Line 37:
<p class="dropbtn">Change language</p>
<p class="dropbtn">Change language</p>
<div class="dropdown-content">
<div class="dropdown-content">
[[{{{target1}}}|{{{lang1|}}}]]<!--
[[{{{target1}}}|{{{lang1|}}}]] {{#if:{{{lang1alt|}}}|([[{{{target1alt|}}}|{{{lang1alt|}}}]])|}}<!--
-->{{#if:{{{lang2|}}}|[[{{{target2}}}|{{{lang2|}}}]]|}}<!--
-->{{#if:{{{lang2|}}}|[[{{{target2}}}|{{{lang2|}}}]]|}}  {{#if:{{{lang2alt|}}}|([[{{{target2alt|}}}|{{{lang2alt|}}}]])|}}<!--
-->{{#if:{{{lang3|}}}|[[{{{target3}}}|{{{lang3|}}}]]|}}<!--
-->{{#if:{{{lang3|}}}|[[{{{target3}}}|{{{lang3|}}}]]|}}  {{#if:{{{lang3alt|}}}|([[{{{target3alt|}}}|{{{lang3alt|}}}]])|}}<!--
-->{{#if:{{{lang4|}}}|[[{{{target4}}}|{{{lang4|}}}]]|}}<!--
-->{{#if:{{{lang4|}}}|[[{{{target4}}}|{{{lang4|}}}]]|}}<!--
-->{{#if:{{{lang5|}}}|[[{{{target5}}}|{{{lang5|}}}]]|}}<!--
-->{{#if:{{{lang5|}}}|[[{{{target5}}}|{{{lang5|}}}]]|}}<!--