Difference between revisions of "Template:Main menu"

no edit summary
Tag: Reverted
Tag: Reverted
Line 29: Line 29:
   <div class="main-menu-donate">[[Masticationpedia:Donate|Donate]]</div>
   <div class="main-menu-donate">[[Masticationpedia:Donate|Donate]]</div>
   <div class="main-menu-contact">[[Contact]]</div>
   <div class="main-menu-contact">[[Contact]]</div>
   <div class="main-menu-change-language"><span>{{#switch: {{PAGELANGUAGE}}
   <div class="main-menu-change-language"><span>[[File:Flag of the United Kingdom (3-5).svg|20px|link=]] [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</span>
  | en = [[File:Flag of the United Kingdom (3-5).svg|20px|link=]]
  | de = [[File:Flag of Germany.svg|20px|link=]]
  | es = [[File:Flag of Spain.svg|20px|link=]]
  | fr = [[File:Flag of France.svg|20px|link=]]
  | it = [[File:Flag of Italy.svg|20px|link=]]
  }} [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</span>
     <div class="main-menu-dropdown-content">
     <div class="main-menu-dropdown-content">
{{#ifeq: {{PAGELANGUAGE}} | en ||<div class="language-link">[[File:Flag of the United Kingdom (3-5).svg|20px|link={{{link to English|}}}]] [[{{{link to English|}}}|English]]</div>}}
<div class="language-link">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>
{{#ifeq: {{PAGELANGUAGE}} | de ||<div class="language-link">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>}}
<div class="language-link">[[File:Flag of Spain.svg|20px|link={{{link to Spanish|}}}]] [[{{{link to Spanish|}}}|Spanish]]</div>
{{#ifeq: {{PAGELANGUAGE}} | es ||<div class="language-link">[[File:Flag of Spain.svg|20px|link={{{link to Spanish|}}}]] [[{{{link to Spanish|}}}|Spanish]]</div>}}
<div class="language-link">[[File:Flag of France.svg|20px|link={{{link to French|}}}]] [[{{{link to French|}}}|French]]</div>
{{#ifeq: {{PAGELANGUAGE}} | fr ||<div class="language-link">[[File:Flag of France.svg|20px|link={{{link to French|}}}]] [[{{{link to French|}}}|French]]</div>}}
<div class="language-link">[[File:Flag of Italy.svg|20px|link={{{link to Italian|}}}]] [[{{{link to Italian|}}}|Italian]]</div>
{{#ifeq: {{PAGELANGUAGE}} | it ||<div class="language-link">[[File:Flag of Italy.svg|20px|link={{{link to Italian|}}}]] [[{{{link to Italian|}}}|Italian]]</div>}}
     </div>
     </div>
   </div>
   </div>
</div>
</div>