Template:Note: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
Content deleted Content added
No edit summary
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 31: Line 31:


{{Note/doc}}
{{Note/doc}}

[[Category:Templates]]
[[Category:Formatting]]

Latest revision as of 02:56, 24 October 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 (default)
Foo ('info')
Foo ('reminder')
Foo ('warn')
Foo ('error')

Note Note: Loose test

  • Text Note Note:

Parameters

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

Template parameters[Edit template data]

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