Template:Hatnote: Difference between revisions

From Space Station 14 Wiki
Copied from default loadout
Aliser (talk | contribs)
add to template starter-kit
 
(6 intermediate revisions by 3 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}}
}}


--><noinclude>{{doc}}[[Category:Hatnote templates| ]]</noinclude>
[[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

Template documentation
view or edit this documentation about template documentation
Uses template styles
This template uses template styles found in:

List of hatnote templates

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

no description

Lineoptional
Iconicon

An optional icon.

Fileoptional