Template:Hatnote: Difference between revisions
From Space Station 14 Wiki
defaultloadout-wikigg>Mr Pie 5 +Cat |
add to template starter-kit |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><templatestyles src="Template:Hatnote/styles.css"></templatestyles><!-- | ||
--><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!-- | --><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!-- | ||
--></includeonly>< | -->[[Category:Pages with hatnotes]]</includeonly><noinclude> | ||
{{docs|bb= | |||
{{uses template styles}} | |||
}} | |||
- | [[Category:Hatnote templates]] | ||
[[Category:Template starter-kit]] | |||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"label": "Text", | |||
"type": "line" | |||
}, | |||
"icon": { | |||
"label": "Icon", | |||
"description": "An optional icon.", | |||
"type": "wiki-file-name" | |||
} | |||
}, | |||
"description": "Short note meant to be placed at the top of an article or section to direct users to related pages. This is the base template — see its template page for the list of hatnote templates.", | |||
"paramOrder": [ | |||
"1", | |||
"icon" | |||
], | |||
"format": "inline" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 00:31, 20 May 2025
Uses template styles
This template uses template styles found in:
List of hatnote templates
{{Disambiguation}}
{{Distinguish}}
{{For}}
{{Main}}
Source
Based on Hatnote template from defaultloadout.wiki.gg under CC BY-SA 4.0.<Short note meant to be placed at the top of an article or section to direct users to related pages. This is the base template — see its template page for the list of hatnote templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 | no description | Line | optional |
Icon | icon | An optional icon. | File | optional |