Difference between revisions of "Template:Header"

 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
| page title = [defaults to "{{PAGENAME}}"]
| page title = [defaults to "{{PAGENAME}}"]
| subtitle =  
| subtitle =  
| text color = [defaults to #116089]
| text color = [defaults to "#116089"]
| language ["en", "fr", "de", "es", or "it"]
}}
}}
</pre>
</pre>
</noinclude><includeonly><div class="cover {{{cover class|scientific-community-cover}}} full-width">
</noinclude><includeonly><div class="cover {{{cover class|scientific-community-cover}}} full-width">
<div class="homepage-logo-container">[[File:Logo Masticationpedia (da Wix).png|200px|class=rounded-logo|link=Main Page]]</div>
<div class="content-page-logo-container">[[File:Logo Masticationpedia (da Wix).png|200px|class=rounded-logo|link={{#switch: {{{language|}}}
<p class="custom-h0 center" style="{{#if:{{{text color|}}}|{{{text color|}}};}}">{{{page title|{{PAGENAME}}}}}</p>
| en = Main Page
{{#if:{{{subtitle|}}}|<p class="custom-h2" style="{{#if:{{{text color|}}}|{{{text color|}}};}}">{{{subtitle|}}}</p>}}
| fr = Page d'accueil
| de = Hauptseite
| es = Página principal
| it = Pagina principale
| Main Page
}}]]</div>
<p class="custom-h0 center" style="{{#if:{{{text color|}}}|color: {{{text color|}}};}}">{{{page title|{{PAGENAME}}}}}</p>
{{#if:{{{subtitle|}}}|<p class="custom-h2" style="{{#if:{{{text color|}}}|color: {{{text color|}}};}}">{{{subtitle|}}}</p>}}
</div></includeonly>
</div></includeonly>

Latest revision as of 12:33, 26 February 2024

{{Header
| cover class = [defaults to "scientific-community-cover"]
| page title = [defaults to "{{PAGENAME}}"]
| subtitle = 
| text color = [defaults to "#116089"]
| language ["en", "fr", "de", "es", or "it"]
}}