Jump to content

Template:Note: Difference between revisions

From Bath Wiki
Remove reference to documentation template
Add noinclude around docs
 
Line 10: Line 10:
--></onlyinclude>
--></onlyinclude>


<noinclude>
== Usage ==
== Usage ==


Line 41: Line 42:
* <code>text</code> (content) - Informative note.
* <code>text</code> (content) - Informative note.
* <code>type</code> (string) - One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. Default "info"
* <code>type</code> (string) - One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. Default "info"
</noinclude>

Latest revision as of 16:35, 3 June 2026

{{{text}}}


Usage

{{Note|text=Foo}}
{{Note|type=info|text=Foo}}
{{Note|type=reminder|text=Foo}}
{{Note|type=warn|text=Foo}}
{{Note|type=error|text=Foo}}
{{Note}} Loose test

* Text {{Note|inline=1|text=Foo}}
Foo
Foo
Foo
Multiple
lines
of
text
  • Multiple paragraphs.
Of text.
Foo
Foo

Note Note: Loose test

  • Text
    Foo

Parameters

  • Inline (boolean) - Show the template without line breaks before and after it. Default 0
  • text (content) - Informative note.
  • type (string) - One of “info”, “reminder”, “warn”, or “error”. This setting affects the color and icon. Default "info"