Difference between revisions of "Template:Main menu"

Tag: Manual revert
 
(13 intermediate revisions by 3 users not shown)
Line 2: Line 2:
<pre>
<pre>
{{main menu
{{main menu
|link to German= Hauptseite
|link to German=  
|link to Spanish= Pàgina Principal
|link to Spanish=
|link to French= Page d'accueil
|link to French=
|link to Italian= Pagina Principale
|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-container full-width" id="masticationpedia-main-menu">
<div class="main-menu-dropdown-trigger">
<div class="main-menu-dropdown-trigger">
   <div class="padded">[[Main Page|Home]]</div>
   <div class="padded">[[Main Page|Home]]</div>
Line 28: Line 30:
</div>
</div>
<div class="padded">[[Lab:Intro|Ed. Lab]]</div>
<div class="padded">[[Lab:Intro|Ed. Lab]]</div>
<div class="padded">[[Donate]]</div>
<div class="padded" style="background-color: #FFF; letter-spacing: 1px; font-weight: 600">[[Donate]]</div>
<div class="padded">[[Contact]]</div>
<div class="padded">[[Contact]]</div>
<div class="main-menu-dropdown-trigger">
<div class="main-menu-dropdown-trigger">
   <div class="padded">[[File:Flag of the United Kingdom (3-5).svg|20px|link=]] [[File:Font Awesome 5 solid chevron-down.svg|12px|link=]]</div>
   <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>
   <div class="main-menu-dropdown-content>
   <div class="main-menu-dropdown-content>
     <div class="padded">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>
     <div class="padded">[[File:Flag of Germany.svg|20px|link={{{link to German|}}}]] [[{{{link to German|}}}|German]]</div>
Line 39: Line 41:
   </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