|
|
| (2 intermediate revisions by the same user not shown) |
| Line 29: |
Line 29: |
| serde = { version = "1.0", features = ["derive"] } | | serde = { version = "1.0", features = ["derive"] } |
| </syntaxhighlight> | | </syntaxhighlight> |
|
| |
|
| |
|
| |
| {{MessageBox
| |
| | title = This is a normal message box
| |
| | text = With helpful and descriptive subtext
| |
| }}
| |
|
| |
|
| |
| {{MessageBox
| |
| | mini = 1
| |
| | icon = 8
| |
| | text = This has an information icon using [[Template:CommentSprite]]
| |
| }}
| |
|
| |
|
| |
| {{MessageBox
| |
| | bgcol = rgba(203, 203, 249, 0.2)
| |
| | linecol = rgba(107, 107, 253, 0.2)
| |
| | title = This is a blue message box
| |
| | text = It has a discuss link, some custom CSS and a custom image
| |
| | discuss = 1
| |
| | image = Comment_done.svg
| |
| | css = box-shadow: 10px 10px 2px #787878;
| |
| }}
| |
|
| |
|
| |
|
| |
|
| |
| {{MessageBox
| |
| | mini = 1
| |
| | image = Comment_done.svg
| |
| | bgcol = rgba(147, 122, 85, 0.2)
| |
| | linecol = rgba(187, 116, 13, 0.2)
| |
| | css = box-shadow: 0px 0px 6px #787878;
| |
| | text = This is using similar settings as the advanced example above.
| |
| }}
| |