PagePropertiesButton
Jump to navigation
Jump to search
{{PagePropertiesButton
|label =
|value =
|callback =
|preload =
|icon =
}}
Attention! VisualEditor won't handle the template correctly if it contains new lines!!
A parser function to print a button with value or data submitted to a (javascript) callback
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| label | label | button label
| String | required |
| value | value | value string
| String | optional |
| callback | callback | (javascript) callback function
| String | required |
| preload | preload | pagename with json data
| String | optional |
| icon | icon | icon name (Mediawiki's OOUI)
| String | optional |