Jump to content

Do not begin to migrate content here, it may be wiped without notice. More info.

Template:Note: Difference between revisions

From Debian wiki2025 alpha
Create note template
 
mok0>Morten Kjeldgaard
Automatically converted from MoinMoin
Line 1: Line 1:
<onlyinclude>{{#if: {{{1|{{{content|{{{text|{{{demo|<noinclude>demo</noinclude>}}}}}}}}}}}} | <templatestyles src="Note/styles.css" /><div role="note" class="note note-{{#switch: {{{2|{{{type|}}}}}}
<noinclude>
    |gotcha=error
 
    |warning=warn
A "Note" box used to emphasize important information.
    |notice=info
 
    |=info
== Usage ==
    |#default={{{2|{{{type|}}}}}}
 
    }} {{#ifeq:{{{inline|}}}|1|note-inline}}">{{{1|{{{content|{{{text}}}}}}}}}</div>
<nowiki>{{Note|When you update Debian you may have to reboot.}}</nowiki>
  | [[https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg|18px|alt=<translate>Note</translate>|link=]]&nbsp;'''<translate>Note:</translate>''' }}<!--
 
--></onlyinclude>
== Example ==
 
{{Note|When you update Debian you may have to reboot.}}
</noinclude>
 
<pre>
<onlyinclude>
{{#invoke:DebianBox|makeBox|type=Note|text={{{1}}} }}
</onlyinclude>
</pre>


[[Category:Templates]]

Revision as of 14:21, 31 August 2026


A "Note" box used to emphasize important information.

Usage

{{Note|When you update Debian you may have to reboot.}}

Example

💬 ️When you update Debian you may have to reboot.


<onlyinclude>
{{#invoke:DebianBox|makeBox|type=Note|text={{{1}}} }}
</onlyinclude>