Template:Hatnote: Difference between revisions

From Space Station 14 Wiki
defaultloadout-wikigg>RheingoldRiver
No edit summary
Aliser (talk | contribs)
Created page with "<includeonly><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!-- -->Category:Pages with hatnotes<</includeonly><noinclude> {{docs}} Category:Hatnote templates <templatedata> { "params": { "1": { "label": "Text", "type": "line" }, "icon": { "label": "Icon", "description": "An optional icon.", "type": "wiki-file-name" } }, "description": "Short note meant to be..."
Line 1: Line 1:
<includeonly><!--
<includeonly><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!--  


-->[[Category:Pages with hatnotes]]<!--
-->[[Category:Pages with hatnotes]]<</includeonly><noinclude>
--><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!--
{{docs}}


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

Revision as of 02:10, 19 March 2025

Template documentation
view or edit this documentation about template documentation

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