You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Template:Note

From Wikitech-static
Jump to navigation Jump to search

Usage

{{Note|Example}}
{{Note|type=nutshell|content=Example}}
{{Note|type=warning|content=Example}}
{{Note|type=error|content=Example}}
{{Note|type=error|content=Example|image=Example.svg}}
content=
Content.
type=
One of "notice", "warning" or "error" (optional, defaults to notice).
image=
Optional. E.g. "Example.svg"

See also

<templatedata> { "params": { "type": { "label": "type", "description": "Type of notice being given", "type": "line", "example": "\"notice\", \"warning\" or \"error\"", "default": "notice" }, "content": { "aliases": [ "1" ], "label": "content", "description": "Content to display in notice", "type": "content", "required": true }, "image": { "label": "image", "description": "Custom image", "type": "wiki-file-name" } }, "format": "inline" } </templatedata>