Template:Hatnote: Difference between revisions
Template page
More actions
Content deleted Content added
Tesinormed (talk | contribs) No edit summary |
Tesinormed (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<templatestyles src="Hatnote/styles.css"/> |
<templatestyles src="Hatnote/styles.css"/> |
||
| ⚫ | |||
<div class="hatnote noexcerpt" style="{{#if:{{{color|}}}|--color-amaranth-legacy-scope:#{{{color}}}|}}"> |
<div class="hatnote noexcerpt" style="{{#if:{{{color|}}}|--color-amaranth-legacy-scope:#{{{color}}}|}}"> |
||
| ⚫ | |||
<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> |
||
</ |
<hr/> |
||
< |
</div><!-- |
||
--><noinclude> |
--><noinclude> |
||
== Example == |
== Example == |
||
Revision as of 00:45, December 3, 2024
Page Template:Hatnote/styles.css has no content.
Example
Page Template:Hatnote/styles.css has no content.
Adds a [[wikipedia:Wikipedia:Hatnote|]]
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| File | file | The file to put on the left as a 80px thumbnail
| File | suggested |
| A color | color | no description | Unknown | optional |
| font | font | no description | Unknown | optional |
| primary | primary | no description | Unknown | optional |
| secondary | secondary | no description | Unknown | optional |
{{Hatnote|file=Glypht.png|color=ababab|primary=Glypht Glypht glypht|secondary=Amarant}}
Adds a [[wikipedia:Wikipedia:Hatnote|]]
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| File | file | The file to put on the left as a 80px thumbnail
| File | suggested |
| A color | color | no description | Unknown | optional |
| font | font | no description | Unknown | optional |
| primary | primary | no description | Unknown | optional |
| secondary | secondary | no description | Unknown | optional |