Template:Note: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div class="mw-collapsible {{#ifeq:{{{collapsed}}}|true|mw-collapsed}}" style="{{#if:{{{position|}}}|float: {{{position}}};}} display: block; border: 1px solid #ddd; background-color: #fff9ea; margin-top: 14px; margin-bottom: 14px; padding: 14px;">{{#if:{{{title|}}}|'''{{{title}}}'''}}<div class="mw-collapsible-content"><div>{{{content}}}</div>{{#if:{{{ref_doc|}}}|<div style="font-size:85%; margin-top: 14px;">Reference: {{#if:{{{ref_link|}}}|[{{{ref_link}}}...") |
(→Usage) |
||
Line 25: | Line 25: | ||
<!-- Right positioned --> | <!-- Right positioned --> | ||
{{Note|position=right|title=Third Test|content=Right positioned note.}} | {{Note|position=right|title=Third Test|content=Right positioned note.}} | ||
</source> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:24, 20 November 2024
Overview
This template provides a customizable note box.
Preview
Preview - Simple
This is a simple test note without a title.
Simple note
This is a simple test note with a title.
Usage
<!-- Simplest form -->
{{Note|content=This is a simple test note without a title.}}
{{Note|title=Simple note|content=This is a simple test note with a title.}}
<!-- Collapsed by default and multi-lined -->
{{Note|collapsed=true|title=Second Test|content=
This is a ''advanced'' test note over multiple lines.
This is a ''advanced'' test note over multiple lines.
This is a ''advanced'' test note over multiple lines.
}}
<!-- Right positioned -->
{{Note|position=right|title=Third Test|content=Right positioned note.}}