Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Template:Hatnote: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
<templatestyles src="Hatnote/styles.css"/>
<templatestyles src="Hatnote/styles.css"/>
<hr/>
<div class="hatnote noexcerpt" style="{{#if:{{{color|}}}|--color-amaranth-legacy-scope:#{{{color}}}|}}">
<div class="hatnote noexcerpt" style="{{#if:{{{color|}}}|--color-amaranth-legacy-scope:#{{{color}}}|}}">
<hr/>
<div>[[File:{{{file|Unknown.png}}}|80px|class=notpageimage]]</div>
<div>[[File:{{{file|Unknown.png}}}|80px|class=notpageimage]]</div>
<div><span style="color:var(--color-amaranth-legacy-scope);font-size:var(--font-size-xx-large);font-family:{{{font|Cinzel}}}">{{{primary}}}</span><!--
<div><span style="color:var(--color-amaranth-legacy-scope);font-size:var(--font-size-xx-large);font-family:{{{font|Cinzel}}}">{{{primary}}}</span><!--
--><br/><i>{{{secondary}}}</i></div>
--><br/><i>{{{secondary}}}</i></div>
</div>
<hr/>
<hr/><!--
</div><!--
--><noinclude>
--><noinclude>
== Example ==
== Example ==

Revision as of 00:45, December 3, 2024

Page Template:Hatnote/styles.css has no content.


{{{primary}}}
{{{secondary}}}

Example

Page Template:Hatnote/styles.css has no content.


Glypht Glypht glypht
Amarant

Adds a [[wikipedia:Wikipedia:Hatnote|]]

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Filefile

The file to put on the left as a 80px thumbnail

Default
Unknown.png
Example
Glypht.png
Filesuggested
A color color

no description

Unknownoptional
fontfont

no description

Unknownoptional
primaryprimary

no description

Unknownoptional
secondarysecondary

no description

Unknownoptional

{{Hatnote|file=Glypht.png|color=ababab|primary=Glypht Glypht glypht|secondary=Amarant}}

Adds a [[wikipedia:Wikipedia:Hatnote|]]

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Filefile

The file to put on the left as a 80px thumbnail

Default
Unknown.png
Example
Glypht.png
Filesuggested
A color color

no description

Unknownoptional
fontfont

no description

Unknownoptional
primaryprimary

no description

Unknownoptional
secondarysecondary

no description

Unknownoptional
Contents