Difference between revisions of "Template:Main menu"

no edit summary
Tag: Reverted
Tags: Manual revert Reverted
Line 10: Line 10:
</pre>
</pre>
</noinclude><templatestyles src="Main menu/styles.css" />
</noinclude><templatestyles src="Main menu/styles.css" />
<div class="main-menu-container full-width">
<div class="main-menu-container">
   <div class="main-menu-home">[[Main Page|Home]]
   <div class="main-menu-home">[[Main Page|Home]]
     <div class="main-menu-dropdown-content">
     <div class="main-menu-dropdown-content">
Line 26: Line 26:
     </div>
     </div>
   </div>
   </div>
  <div class="main-menu-edlab">[[Lab:Intro|Ed. Lab]]</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>[[File:Flag of the United Kingdom (3-5).svg|20px|link=]] [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</span>
   <div class="main-menu-change-language"><span>{{#switch: {{PAGELANGUAGE}}
  | 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">
<div class="language-link">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>
{{#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 Spain.svg|20px|link={{{link to Spanish|}}}]] [[{{{link to Spanish|}}}|Spanish]]</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 France.svg|20px|link={{{link to French|}}}]] [[{{{link to French|}}}|French]]</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 Italy.svg|20px|link={{{link to Italian|}}}]] [[{{{link to Italian|}}}|Italian]]</div>
{{#ifeq: {{PAGELANGUAGE}} | fr ||<div class="language-link">[[File:Flag of France.svg|20px|link={{{link to French|}}}]] [[{{{link to French|}}}|French]]</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>