Notice
Fello' pirrates, be awarrre some featurrres may not work fer us in this trrranslat'n. Like table of rrramblings, some Merrrmaids and stuff.
Th' notice
shorrrtcode shows various types o' disclaimers wit' adjust'ble color, title an' ay'con t' help ye structure yer plank.
It be all about th' boxes.
Usage
While th' examples be us'n named parameter ye be free t' use positional aswell.
{{% notice style="primary" title="There may be pirates" ay'con="skull-crossbones" %}}
It be all about th' boxes.
{{% /notice %}}
{{% notice primary "There may be pirates" "skull-crossbones" %}}
It be all about th' boxes.
{{% /notice %}}
Parameter
Name | Posit'n | Optional | Default | Notes |
---|---|---|---|---|
style | 1 | yes | default |
Th' color scheme used t' highlight th' box rrrambl'n. - by severity: info , note , tip , warning - by brand color: primary , secondary - by color: blue , green , grey , orange , red - by special color: default , transparent |
title | 2 | yes | see notes | Arbitray text fer th' box title. Depend'n on th' style there may be a default title. Any given value will overwrite th' default. - fer severity styles: th' match'n title fer th' severity - fer all other colors: no title If ye want no title fer a severity style, ye have t' set this parameter t' " " (a non empty str'n filled wit' spaces) |
ay'con | 3 | yes | see notes | Font Awesome ay'con name set t' th' left o' th' title. Depend'n on th' style there may be a default ay'con. Any given value will overwrite th' default. - fer severity styles: a nice match'n ay'con fer th' severity - fer all other colors: no ay'con If ye want no ay'con fer a severity style, ye have t' set this parameter t' " " (a non empty str'n filled wit' spaces) |
Examples
By Severity
Ahoi wit' marrrkup
An informat'n disclaimer
Ye can add standard markdown rules:
- multiple paragraphs
- bullet point lists
- emphasized, bold an' even bold emphasized text
- links
- etc.
...and even source code
th' possiblities be endless (almost - includ'n other shorrrtcodes may or may not work)
Avast
A notice disclaimer
Smarrrt Arrrse
A tip disclaimer
Arrr
A warning disclaimer
Arrr wit' non-default title an' ay'con
A warning disclaimer
Arrr without a title an' ay'con
A warning disclaimer
By Brand Colors
Primary wit' title only
A primary disclaimer
Secondary wit' ay'con only
A secondary disclaimer
By Color
Blue without a title an' ay'con
A blue disclaimer
Green wit' title only
A green disclaimer
Grey wit' ay'con only
A grey disclaimer
Orange wit' title an' ay'con
A orange disclaimer
Red
A red disclaimer
By Special Color
Default wit' title an' ay'con
Some serious informat'n.
Transparent wit' title an' ay'con
Some serious informat'n.