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>")
 
Line 5: Line 5:
| page title = [defaults to "{{PAGENAME}}"]
| page title = [defaults to "{{PAGENAME}}"]
| subtitle =  
| subtitle =  
| text color = [defaults to #116089]
}}
}}
</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=Main Page]]</div>
<p class="custom-h0 center">{{{page title|{{PAGENAME}}}}}</p>
<p class="custom-h0 center" style="{{#if:{{{text color|}}}|{{{text color|}}};}}">{{{page title|{{PAGENAME}}}}}</p>
{{#if:{{{subtitle|}}}|<p class="custom-h2" style="{{#if:{{{text color|}}}|{{{text color|}}};}}">{{{subtitle|}}}</p>}}
</div></includeonly>
</div></includeonly>

Revision as of 11:11, 23 February 2024

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