Template:Hatnote: Difference between revisions

From Space Station 14 Wiki
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..."
Aliser (talk | contribs)
add to template starter-kit
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div class="hatnote {{#if:{{{icon|}}}|icon}}">{{#if:{{{icon|}}}|[[File:{{{icon}}}|x22px]]<nowiki> </nowiki>}}{{{1|}}}</div><!--  
<includeonly><templatestyles src="Template:Hatnote/styles.css"></templatestyles><!--


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


[[Category:Hatnote templates]]
[[Category:Hatnote templates]]
[[Category:Template starter-kit]]
<templatedata>
<templatedata>
{
{

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