More actions
Created page with "<div style="border-left: 6q solid #5ea5ff; border-radius: 6q; padding-left: 8q"> <div style="color: #5ea5ff">🛈 Note</div> {{{1}}} </div>" |
get template data'd |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div style="border-left: | <div style="border-left: 6px solid {{{color|#5ea5ff}}}; border-radius: 6px; padding-left: 7.5px"> | ||
<div style="color: #5ea5ff"> | <div style="color: {{{color|#5ea5ff}}}">{{{icon|ⓘ}}} {{{tag|Note}}}</div> | ||
{{{1}}} | {{{1}}} | ||
</div> | </div><noinclude> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"1": { | |||
"type": "content", | |||
"required": true, | |||
"label": "content", | |||
"description": "The text displayed in the note.", | |||
"example": "You should be aware of this." | |||
}, | |||
"color": { | |||
"description": "The color to use for the line and tag.", | |||
"type": "string", | |||
"default": "#5ea5ff" | |||
}, | |||
"icon": { | |||
"description": "The symbol to display in the header.", | |||
"example": "⊗", | |||
"type": "string", | |||
"default": "ⓘ" | |||
}, | |||
"tag": { | |||
"description": "The type of note to display.", | |||
"example": "Warning", | |||
"type": "string", | |||
"default": "Note" | |||
} | |||
}, | |||
"description": "Displays an indented note.", | |||
"paramOrder": [ | |||
"1", | |||
"icon", | |||
"tag", | |||
"color" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
Latest revision as of 21:55, 9 October 2024
ⓘ Note
{{{1}}}
Displays an indented note.
Parameter | Description | Type | Status | |
---|---|---|---|---|
content | 1 | The text displayed in the note.
| Content | required |
icon | icon | The symbol to display in the header.
| String | optional |
tag | tag | The type of note to display.
| String | optional |
color | color | The color to use for the line and tag.
| String | optional |