Translations:Manual:$wgRawHtml/25/en

allows pre-defined HTML snippets with $code.