Difference between revisions of "Template:Note style"

From OpenGL.org
Jump to: navigation, search
m (categorization)
m (categorization)
Line 16: Line 16:
| text = This is a warning!}}
| text = This is a warning!}}
</noinclude><includeonly><div style="margin-left: 3em;">'''{{{type}}}:''' {{{text}}}</div><includeonly>
[[Category:Template Annotations]]</noinclude><includeonly><div style="margin-left: 3em;">'''{{{type}}}:''' {{{text}}}</div><includeonly>
[[Category:Template Annotations]]

Revision as of 01:09, 8 November 2012

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.


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


Warning: This is a warning!