Template:WarningNote
From SpinetiX Support 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.
- 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.
- Enter "right" or "left" to force the block to be floated on the right/left side of the page. Use
- multirows
- Enter a non-empty value (like
multirows=yes
) to alter the CSS code to accommodate multiple rows of text (useful especially when using bothtext
andtext2
parameters). Useclass=big
instead.
- Enter a non-empty value (like
- width
- used to specify a certain width for the Download box, like
width=50%
. UsecssStyle=width: 50%;
instead.
- used to specify a certain width for the Download box, like
Examples
- Without a custom text on one line:
{{WarningNote|title=Please note that ...}}
Please note that ...
- With a custom text on two lines:
{{WarningNote|class=big|text=Please note that ...|text2=For more details ...}}
Please note that ...
For more details ...
- With a custom text on multiple lines:
{{WarningNote|text=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.