Page is a draft due to changes in included resources
No categories assigned
Notification Box2
-
- Last edited 3 years ago by MLR
-
-
- This page is a draft but has an approved version
< Manual:Template | Example
Revision as of 10:26, 17 February 2021 by Mlink-rodrigue (talk | contribs)
Just like Notification Box, but with different styles. The necessary pages to create this notification box can be downloaded and then imported into your own wiki.
Note: This is a note.
Tip: This is a tip.
Example: This is an example.
Warning: This is a warning.
Important! This is important.
This is a box without label.
Create the template Box note first. Then add this (different) css for page Template:Box_note/styles.css:
.notification-note {
border-left: solid 4px #3498db;
background:#d9edf7;
}
.notification-tip {
border-left: solid 4px #f2c412;
background:#FFF5C9;
}
.notification-warning {
border-left: solid 4px #c23c2b;
background: #f2dede
}
.notification-important {
border-left: solid 4px #ffa406;
background: #fedb9c;
}
.notification-example {
border-left: solid 4px #00b241;
background: #dff0d8;
}
.notification-backgroundbox {
background:#ffd67f;
padding:12px;
}
.notification-backgroundbox .boxlabel {
display:none;
}