{{class notice|class=.wst-notice}}

produces

This template applies the class(es)
.wst-notice
that can be targeted with a work's index styles.css using page styles

This template is embedded into other templates to allow for standard application of text.