Template:Note/Doc: Difference between revisions
Appearance
No edit summary |
Hide templatedata from doc page, make note message required |
||
Line 14: | Line 14: | ||
{{note|leading=For your information.|This information is important and highlighted to you.}} | {{note|leading=For your information.|This information is important and highlighted to you.}} | ||
<includeonly> | |||
=== Template data === | === Template data === | ||
Line 24: | Line 24: | ||
"label": "Note content", | "label": "Note content", | ||
"description": "The message to be included in the note", | "description": "The message to be included in the note", | ||
"type": "string" | "type": "string", | ||
"required": true | |||
}, | }, | ||
"leading": { | "leading": { | ||
Line 34: | Line 35: | ||
} | } | ||
</templatedata> | </templatedata> | ||
</includeonly> |
Latest revision as of 14:15, 11 June 2025
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.