Template:Note/doc: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
Content deleted Content added
move TemplateData here
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
"label": "Type",
"label": "Type",
"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.",
"description": "One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.",
"type": "line",
"type": "string",
"default": "info"
"default": "info",
"suggestedvalues": [
"info",
"reminder",
"warn",
"error"
]
}
}
},
},

Latest revision as of 20:01, 9 February 2025

Show a note in a box (e.g. a top-of-the-page warning).

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Typetype 2

One of 'info', 'reminder', 'warn', or 'error'. This setting affects the color and icon.

Suggested values
info reminder warn error
Default
info
Stringoptional
Texttext 1

no description

Contentrequired
Inline formattinginline

Show the template without line breaks before and after it

Booleanoptional