Jump to content

Template:Hint

From Wikitech
{{{1}}}
Template documentation

Usage

{{Hint|Foo}}
{{Hint|Foo|info}}
{{Hint|Foo|algorithm}}
{{Hint|Foo|question}}
{{Hint|Foo|history}}
{{Hint|Foo|reminder}}
{{Hint|Foo|warn}}
{{Hint|Foo|error}}
{{Hint}} Loose test

* Text {{Hint|Foo|block=1}}
Foo
Foo
Foo
Foo
Foo
Foo
Foo
Foo

Hint  Hint:

Loose test
  • Text
    Foo


TemplateData

Show a hint in a box. Based on Template:Note.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

Payload

Default
Just icon and keyword related to type
Contentsuggested
Type2

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

Default
info
Lineoptional
Large text block formattingblock

Show template with the icon arranged neatly at the top left if any value provided.

Default
No
Lineoptional