Difference between revisions of "Template:Header"
(Created page with "<noinclude> <pre> {{Header | cover class = [defaults to "scientific-community-cover"] | page title = [defaults to "{{PAGENAME}}"] | subtitle = }} </pre> </noinclude><includeonly><div class="cover {{{cover class|scientific-community-cover}}} full-width"> <div class="homepage-logo-container">200px|class=rounded-logo|link=Main Page</div> <p class="custom-h0 center">{{{page title|{{PAGENAME}}}}}</p> </div></includeonly>") |
|||
(3 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"] | |||
| 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=" | <div class="content-page-logo-container">[[File:Logo Masticationpedia (da Wix).png|200px|class=rounded-logo|link={{#switch: {{{language|}}} | ||
<p class="custom-h0 center">{{{page title|{{PAGENAME}}}}}</p> | | 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> | |||
{{#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"] }}