Template:Note: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 10: Line 10:
   
 
<pre>
 
<pre>
{{Note|Foo}}
+
{{Note|Foo (default)}}
{{Note|Foo|info}}
+
{{Note|Foo ('info')|info}}
{{Note|Foo|reminder}}
+
{{Note|Foo ('reminder')|reminder}}
{{Note|Foo|warn}}
+
{{Note|Foo ('warn')|warn}}
{{Note|Foo|error}}
+
{{Note|Foo ('error')|error}}
 
{{Note}} Loose test
 
{{Note}} Loose test
   
* Text {{Note|Foo|inline=1}}
+
* Text {{Note|Foo (with inline=1)|inline=1}}
 
</pre>
 
</pre>
 
{{Note|Foo}}
 
{{Note|Foo}}

Revision as of 22:04, 9 February 2025

{{{text}}}

Usage

{{Note|Foo (default)}}
{{Note|Foo ('info')|info}}
{{Note|Foo ('reminder')|reminder}}
{{Note|Foo ('warn')|warn}}
{{Note|Foo ('error')|error}}
{{Note}} Loose test

* Text {{Note|Foo (with inline=1)|inline=1}}
Foo
Foo
Foo
Foo
Foo

Note Note: Loose test

  • Text Foo

Parameters

Show a note in a box (e.g. a top-of-the-page warning).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Typetype 2

One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.

Suggested values
info reminder warn error
Default
info
Stringoptional
Texttext 1

no description

Contentrequired
Inline formattinginline

Show the template without line breaks before and after it

Booleanoptional