Jump to content

Template:Note: Difference between revisions

From NixOS Wiki
DoggoBit (talk | contribs)
No edit summary
DoggoBit (talk | contribs)
No edit summary
 
Line 1: Line 1:
<includeonly>{{Notice|icon={{{icon|{{#ifeq:{{{big|}}}|yes|ⓘ|}}}}}|color=var(--color-progressive)|padding={{#ifeq:{{{big|}}}|yes|30px|10px}}|'''Note:''' {{{1}}}}}</includeonly><noinclude>
<includeonly>{{Notice
{{Template}}
  |color=var(--color-progressive)
 
  |small=yes
== About ==
  |'''{{{leading|Note:}}}''' {{{1}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
A ''note'' box used to emphasize important information.
 
==Usage==
 
{{ic|<nowiki>{{Note|This text should be noted.}}</nowiki>}}
 
==Example==
 
{{Note|This text should be noted.}}</noinclude>

Latest revision as of 19:52, 5 June 2025

Template Documentation [edit source| uses| help]

This template can be used for displaying important information that shouldn't disrupt the normal reading flow.

Note: This information is important and highlighted to you.

Usage

You can simply include this template, along with a message to be displayed:

{{note|This information is important and highlighted to you.}}

You can also change the leading text (the "Note" part):

{{note|leading=For your information.|This information is important and highlighted to you.}}
For your information. This information is important and highlighted to you.

Template data

Display an important message without disrupting the normal reading flow

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Note content1

The message to be included in the note

Stringrequired
Leading textleading

If set, this will replace the 'Note:' text at the beginning of the note

Stringoptional