Template:Hatnote: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<templatestyles src="Hatnote/styles.css"/><div role="note" class="hatnote {{{extraclasses|}}}">{{{1|{{{text}}}}}}</div> <noinclude> <templatedata> { "params": { "extraclasses": { "label": "Extra Classes", "description": "Add any more CSS classes if necessary", "type": "string" }, "text": { "label": "Text", "description": "The text that will appear on the hatnote", "type": "string", "required": true } }, "description": "Imported from MediaW...") |
No edit summary |
||
Line 1: | Line 1: | ||
<templatestyles src="Hatnote/styles.css"/><div role="note" class="hatnote {{{extraclasses|}}}">{{{1|{{{text}}}}}}</div> | <templatestyles src="Hatnote/styles.css"/><div role="note" class="hatnote {{{extraclasses|}}}">{{{1|{{{text}}}}}}</div> | ||
<noinclude> | <noinclude> | ||
<code><nowiki>{{Hatnote|Example text}}</nowiki></code> produces {{Hatnote|Example text}} | |||
<templatedata> | <templatedata> | ||
{ | { |
Latest revision as of 09:13, 1 October 2024
{{{text}}}
{{Hatnote|Example text}}
produces
Example text
Imported from MediaWiki, includes a subtext at the top of the article to make sure reader is on the right website.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Extra Classes | extraclasses | Add any more CSS classes if necessary | String | optional |
Text | text | The text that will appear on the hatnote | String | required |