Extension:NewPageCSS

The NewPageCSS extension uses the tag  to include a CSS in the text of the wiki page; that CSS is then put into the header of the resulting HTML, and so formats your page. If you are creating a wiki page that ends up requiring a lot of  modifiers, it's probably simpler to put them into a CSS style sheet.