Template:Note

From edegan.com
Revision as of 15:47, 27 August 2020 by mediawiki>Krinkle (fix usage so that inline=0 works as expected. generally it's simply not specified if "no" is intended, but might as well be explicit.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

<languages/> Note Note:

Template documentation

<translate>

Usage

</translate>

{{Note|Foo}}
{{Note|Foo|info}}
{{Note|Foo|reminder}}
{{Note|Foo|warn}}
{{Note|Foo|error}}
{{Note}} <translate><!--T:6--> Loose test</translate>

* Text {{Note|Foo|inline=1}}
Foo
Foo
Foo
Foo
Foo

Note Note: <translate> Loose test</translate>

  • Text
    Foo

Parameters

<templatedata> { "params": { "inline": { "label": "Inline formatting", "description": "Show the template without line breaks before and after it", "type": "boolean" }, "text": { "aliases": [ "1" ], "label": "Text", "type": "content", "required": true }, "type": { "aliases": [ "2" ], "label": "Type", "description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.", "type": "line", "default": "info" } }, "format": "inline", "description": "Show a note in a box (e.g. a top-of-the-page warning).", "paramOrder": [ "type", "text", "inline" ] } </templatedata>

[[Category:Template documentation pages{{#translation:}}]]

[[Category:Templates{{#translation:}}|Note]]