Difference between revisions of "Template:Note"

From RobotX
Jump to navigation Jump to search
Mediawiki>Kghbln
(de-clutter the docu, this should have been done years ago)
 
(Created page with "<languages/> <onlyinclude>{{#switch:<translate></translate> | = {{#if: {{#if:{{{1|}}}|{{{1}}}|{{#if:<noinclude>demo</noinclude>|demo|{{{demo|}}}}} }} | <templatestyles src="No...")
(No difference)

Revision as of 04:07, 14 December 2019

{{{1}}}
Template documentation

Usage

{{Note|Foo}}
{{Note|Foo|reminder}}
{{Note|Foo|error}}
{{Note|Foo|gotcha}}
{{Note}} Loose test

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

Note Note: Loose test

  • Text
    Foo

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Text1

no description

Contentrequired
Type2

'reminder', 'error', 'gotcha' or nothing. Will affect formatting.

Lineoptional
Inline formattinginline

Show the template without line breaks before and after it

Lineoptional