--- title: Web templates for `$MadelineProto->start()` description: You get the web template used for the `$MadelineProto->start()` web UI thusly: image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Web templates for `$MadelineProto->start()` You get the web template used for the `$MadelineProto->start()` web UI thusly: ```php $template = $MadelineProto->get_web_template(); ``` By default, it is equal to: ```html MadelineProto

MadelineProto

%s

%s

``` To modify the web template, use: ```php $MadelineProto->set_web_template($new_template); ``` The new template must have a structure similar the the default template. Next section