Template:Note style

From OpenGL Wiki
Revision as of 21:52, 15 February 2013 by Alfonse (talk | contribs) (Better multiline support.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template is a basic template used for formatting block-level notifications. It takes two named parameters:

  • type: A simple string containing the kind of notification. Simple words like "Note" or "Warning" are expected. Long sentences are not.
  • text: The text that describes the admonition. This is expected to be sentences or even paragraphs.

Example:

{{note style | type = Warning | text = This is a warning!}}

becomes:

Warning: This is a warning!