Template:Note: Difference between revisions
m (Removed an unnecesary break.) |
m (Update after fixing Box) |
||
(10 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Box|2={{#if: {{{2|}}} | {{{2}}} | Note }} | ||
|3=[[Image:Note-box-icon.png|left|40px|link=]] | |||
|1={{{1}}} | |||
}}<noinclude> | |||
---- | |||
Displays an information box. Parameters | |||
# Text of the main body | |||
# (optional) Title of the box (default: Note) | |||
Example: <nowiki>{{Note|This is a note}}</nowiki> gives | |||
{{Note|This is a note}} | |||
{{Note| | |||
Example 2: <nowiki>{{Note|This is a note|Please note}}</nowiki> gives | |||
{{Note|This is a note|Please note}} | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 14:57, 26 August 2023
Displays an information box. Parameters
- Text of the main body
- (optional) Title of the box (default: Note)
Example: {{Note|This is a note}} gives
Example 2: {{Note|This is a note|Please note}} gives