Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Note: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
add template data
Tag: 2017 source edit
get template data'd
 
Line 8: Line 8:
"1": {
"1": {
"type": "content",
"type": "content",
"required": true
"required": true,
"label": "content",
"description": "The text displayed in the note.",
"example": "You should be aware of this."
},
},
"color": {},
"color": {
"icon": {},
"description": "The color to use for the line and tag.",
"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.",
"description": "Displays an indented note.",

Latest revision as of 21:55, 9 October 2024

ⓘ Note

{{{1}}}

Displays an indented note.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
content1

The text displayed in the note.

Example
You should be aware of this.
Contentrequired
iconicon

The symbol to display in the header.

Default
Example
Stringoptional
tagtag

The type of note to display.

Default
Note
Example
Warning
Stringoptional
colorcolor

The color to use for the line and tag.

Default
#5ea5ff
Stringoptional