More actions
m 'q' -> 'px' (round); where did you copy this from anyway? Tag: 2017 source edit |
get template data'd |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
<div style="color: {{{color|#5ea5ff}}}">{{{icon|ⓘ}}} {{{tag|Note}}}</div> | <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 |