Jump to content

Template:Tip

From Meta, a Wikimedia project coordination wiki
{{{text}}}
Template documentation

Usage

[edit]
{{Tip|text=Foo}}
{{Tip|type=info|text=Foo}}
{{Tip|type=reminder|text=Foo}}
{{Tip|type=reminder|text=Multiple<br>lines<br>of<br>text}}
{{Tip|type=warn|text=Foo}}
{{Tip|type=error|text=Foo}}
{{Tip}} Loose test

* Text {{Tip|inline=1|text=Foo}}
Foo
Foo
Foo
Multiple
lines
of
text
Foo
Foo

 Tip: Loose test

  • Text
    Foo

Parameters

[edit]

Adds a framed tip/notice/warning with an icon .

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Contentcontent text 1

Text to display as a tip.

Contentrequired
Typetype 2

Kind of tip importance. That changes the background color and the icon.

Suggested values
info reminder warn error
Stringsuggested
Inlineinline

Whether to allow some text to be displayed on the same line.

Example
1
Booleanoptional

See also

[edit]
  • {{warn}}, shortcut for this template with type=warning.
  • {{mbox}}, and in particular the namespace-agnostic {{ombox}}, which by default resembles a typical "info" template.