Template:Menu bar: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<!--<div style="background-color: #4c4c4c; color: #fbf0a4; padding: 8px 24px;">
<noinclude>
Home · All texts <div style="display: inline; position: relative;">{{#if:{{{lang1|}}}|· <html><a href="#" onclick="dropdownToggle()">This text in...</a></html>&nbsp;}}<div id="dropdown" style="position: absolute; width: 20em; background-color: #4c4c4c; color: #fbf0a4; padding: 8px 24px;">{{{lang1|}}}</div></div>· About
<pre>
</div>
{{menu bar
-->
|lang1=
<div class="navbar">
|target1=
[[Main page|Home]]
|lang2=
target2=
}}
</pre>
</noinclude><includeonly><div class="navbar">
[[Main Page|Home]]
[[Project:About|About]]
[[Project:About|About]]
[[All texts]]
[[All texts]]
  <div class="dropdown">
{{#if:{{{lang1|}}}|<div class="dropdown">
    <p class="dropbtn">This text is also available in...
<p class="dropbtn">This text is also available in...
    </p>
</p>
    <div class="dropdown-content">
<div class="dropdown-content">
[[German]]
[[{{{target1}}}|{{{lang1|}}}]]
[[English]]
{{#if:{{{lang2|}}}|[[{{{target2}}}|{{{lang2|}}}]]|}}
    </div>
{{#if:{{{lang3|}}}|[[{{{target3}}}|{{{lang3|}}}]]|}}
  </div>
{{#if:{{{lang4|}}}|[[{{{target4}}}|{{{lang4|}}}]]|}}
{{#if:{{{lang5|}}}|[[{{{target5}}}|{{{lang5|}}}]]|}}
{{#if:{{{lang6|}}}|[[{{{target6}}}|{{{lang6|}}}]]|}}
{{#if:{{{lang7|}}}|[[{{{target7}}}|{{{lang7|}}}]]|}}
{{#if:{{{lang8|}}}|[[{{{target8}}}|{{{lang8|}}}]]|}}
{{#if:{{{lang9|}}}|[[{{{target9}}}|{{{lang9|}}}]]|}}
{{#if:{{{lang10|}}}|[[{{{target10}}}|{{{lang10|}}}]]|}}
</div>
</div>
</div>|}}
</div></includeonly>