Difference between revisions of "Template:Header"

Line 10: Line 10:
</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=Main Page]]</div>
<p class="custom-h0 center" style="{{#if:{{{text 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|}}}|{{{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 11:13, 23 February 2024

{{Header
| cover class = [defaults to "scientific-community-cover"]
| page title = [defaults to "{{PAGENAME}}"]
| subtitle = 
| text color = [defaults to #116089]
}}