Template:Page style
Jump to navigation
Jump to search
Template documentation
Add CSS to a page.
This is a thin wrapper around the #css: parser function from Extension:CSS. It just wraps it within Template:Hidden code to make sure it doesn't lead to an empty paragraph if used on its own.
Markup
{{page style | .bg3wiki-page-style-test { color: red } }}
<p class="bg3wiki-page-style-test">Blah blub.</p>
Renders asBlah blub.