Difference between revisions of "Template:Header"

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="homepage-logo-container">[[File:Logo Masticationpedia (da Wix).png|200px|class=rounded-logo|link={{#switch: {{{language|}}}
| en = Main Page
| 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>
<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>}}
{{#if:{{{subtitle|}}}|<p class="custom-h2" style="{{#if:{{{text color|}}}|color: {{{text color|}}};}}">{{{subtitle|}}}</p>}}
</div></includeonly>
</div></includeonly>

Revision as of 12:42, 23 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"]
}}