Jump to content

Template:WarningNote

From SpinetiX Wiki

Template documentation

The Warning Note template can be used to display a distinctive text block, having a warning sign icon on the left side.

It accepts the following parameters:

  • title
    Text written at the top with bigger font size.
  • description
    A longer text displayed as a separate paragraph than the title and with regular font size.
  • text
    Text to be displayed with bold characters.
  • text2
    Text to be displayed with normal characters.
  • class
    Additional CSS class. See Common.css for choices.
  • cssStyle
    Additional block styling provided as CSS code.

Deprecated parameters:

  • float
    Enter "right" or "left" to force the block to be floated on the right/left side of the page. Use class=right instead.
  • multirows
    Enter a non-empty value (like multirows=yes) to alter the CSS code to accommodate multiple rows of text (useful especially when using both text and text2 parameters). Use class=big instead.
  • width
    used to specify a certain width for the box, like width=50%. Use cssStyle=width: 50%; instead.

Examples

Warning Note with a title:

{{WarningNote|title=Please note that ...}}
Please note that ...


Warning note with two lines of text:

{{WarningNote|class=big|text=Please note that ...|text2=For more details ...}}
Please note that ...
For more details ...


Warning note with a custom text on multiple lines:

{{WarningNote|description=Here is a long warning, which is sufficiently wordy to run onto a second line and still being nicely aligned. Here is a long warning, which is sufficiently wordy to run onto a second line and still being nicely aligned.| class=big right | cssStyle=width: 50%;}}
Here is a long warning, which is sufficiently wordy to run onto a second line and still being nicely aligned. Here is a long warning, which is sufficiently wordy to run onto a second line and still being nicely aligned.

See also