Template:Note: Difference between revisions

From DDraceNetwork
Import "note" template from arch wiki: https://wiki.archlinux.org/index.php?title=Template:Note&oldid=706197
 
no need for translation tags
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
<languages/>
<translate>
<!--T:1-->
A "Note" box used to emphasize important information.
A "Note" box used to emphasize important information.


== Usage ==
== Usage == <!--T:2-->


<code><nowiki>{{Note|This text should be noted.}}</nowiki></code>
</translate>
<pre>
<nowiki>{{Note|This text should be noted.}}</nowiki>
</pre>
<translate>


== Example ==
== Example == <!--T:3-->


{{Note|This text should be noted.}}</noinclude><includeonly><div class="archwiki-template-box archwiki-template-box-note"><strong>Note:</strong> {{{1}}}</div></includeonly>
</translate>
{{Note|<translate><!--T:4--> This text should be noted.</translate>}}
<translate>
 
== See also == <!--T:5-->
</translate>
{{Template:NotifyBoxesList}}
 
[[Category:Templates{{#translation:}}]]
</noinclude><includeonly><div class="template-box template-box-note"><translate><!--T:6--> '''Note:'''</translate> {{{1}}}</div></includeonly><noinclude>
<templatedata>
{
"params": {
"1": {
"label": "Text",
"description": "The text to display.",
"example": "This text should be noted.",
"type": "string",
"required": true
}
},
"description": "A \"Note\" box used to emphasize important information.",
"format": "inline"
}
</templatedata>
</noinclude>

Latest revision as of 23:30, 3 March 2023

A "Note" box used to emphasize important information.

Usage

{{Note|This text should be noted.}}

Example

Note: This text should be noted.

See also

A "Note" box used to emphasize important information.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

The text to display.

Example
This text should be noted.
Stringrequired