Difference between revisions of "Template:Main menu"

Tag: Reverted
Tag: Manual revert
 
(22 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<pre>
<pre>
{{main menu
{{main menu
|link to English=
|link to German=  
|link to German=
|link to Spanish=
|link to Spanish=
|link to French=
|link to French=
|link to Italian=
|link to Italian=
|no title = [insert any value to hide the page title below the navigation menu]
}}
}}
</pre>
</pre>
</noinclude><templatestyles src="Main menu/styles.css" />
</noinclude><div class="full-width" id="main-menu-open">[[File:Font Awesome 5 solid bars.svg|20px|link=]]</div>
<div class="main-menu-container full-width">
<div class="full-width" id="main-menu-close">[[File:Black close x.svg|20px|link=]]</div>
  <div class="main-menu-home">[[Main Page|Home]]
<div class="main-menu-container full-width" id="masticationpedia-main-menu">
    <div class="main-menu-dropdown-content">
<div class="main-menu-dropdown-trigger">
[[Scientific project]]
  <div class="padded">[[Main Page|Home]]</div>
[[Social project]]
  <div class="main-menu-dropdown-content">
[[Our story]]
    <div class="padded">[[Scientific project]]</div>
    </div>
    <div class="padded">[[Social project]]</div>
    <div class="padded">[[Our story]]</div>
   </div>
   </div>
  <div class="main-menu-scientific-community">[[Scientific community]]</div>
</div>
  <div class="main-menu-book-index">[[Book index]]</div>
<div class="padded">[[Scientific community]]</div>
  <div class="main-menu-our-network">[[Our network]]
<div class="padded">[[Book index]]</div>
    <div class="main-menu-dropdown-content">
<div class="main-menu-dropdown-trigger">
[[Frisardi Masticationpedia Network]]
  <div class="padded">[[Our network]]</div>
[[Fontana Masticationpedia Network]]
  <div class="main-menu-dropdown-content">
    </div>
    <div class="padded">[[Frisardi Masticationpedia Network]]</div>
    <div class="padded">[[Fontana Masticationpedia Network]]</div>
   </div>
   </div>
  <div class="main-menu-edlab">[[Lab:Intro|Ed. Lab]]</div>
</div>
  <div class="main-menu-donate">[[Masticationpedia:Donate|Donate]]</div>
<div class="padded">[[Lab:Intro|Ed. Lab]]</div>
  <div class="main-menu-contact">[[Contact]]</div>
<div class="padded" style="background-color: #FFF; letter-spacing: 1px; font-weight: 600">[[Donate]]</div>
  <div class="main-menu-change-language"><span>{{#switch: {{PAGELANGUAGE}}
<div class="padded">[[Contact]]</div>
  | en = [[File:Flag of the United Kingdom (3-5).svg|20px|link=]]
<div class="main-menu-dropdown-trigger">
  | de = [[File:Flag of Germany.svg|20px|link=]]
  <div class="padded"><span class="desktop-only">[[File:Flag of the United Kingdom (3-5).svg|20px|link=]] [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</span><span class="mobile-only">Change language</span></div>
  | es = [[File:Flag of Spain.svg|20px|link=]]
  <div class="main-menu-dropdown-content>
  | fr = [[File:Flag of France.svg|20px|link=]]
    <div class="padded">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>
  | it = [[File:Flag of Italy.svg|20px|link=]]
    <div class="padded">[[File:Flag of Spain.svg|20px|link={{{link to Spanish|}}}]] [[{{{link to Spanish|}}}|Spanish]]</div>
  }} [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</span>
    <div class="padded">[[File:Flag of France.svg|20px|link={{{link to French|}}}]] [[{{{link to French|}}}|French]]</div>
    <div class="main-menu-dropdown-content">
    <div class="padded">[[File:Flag of Italy.svg|20px|link={{{link to Italian|}}}]] [[{{{link to Italian|}}}|Italian]]</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>}}
{{#ifeq: {{PAGELANGUAGE}} | de ||<div class="language-link">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>}}
{{#ifeq: {{PAGELANGUAGE}} | es ||<div class="language-link">[[File:Flag of Spain.svg|20px|link={{{link to Spanish|}}}]] [[{{{link to Spanish|}}}|Spanish]]</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>{{#if: {{{no title|}}} ||<p class="custom-page-title">'''{{PAGENAME}}'''</p>}}

Latest revision as of 18:34, 6 November 2024

{{main menu
|link to German= 
|link to Spanish=
|link to French=
|link to Italian=
|no title = [insert any value to hide the page title below the navigation menu]
}}

Main menu