Extension:HTMLTemplates

The HTMLTemplates extension allows admins to make raw html templates in the HTMLTemplate namespace, which other users can use. The templates use wikitext style paramaters (e.g. ) which are automatically escaped. This is designed to be a safer alternative than Extension:Widgets, which has a lot of gotchas for non-technical users.

To use, simply create a page in the HTMLTemplate: namespace, then include it on a page with

The extension is a work in progress, and not all contexts are properly supported yet.

User rights
You need the  right to edit HTMLTemplates. By default the editinterface group is given this.