From Wikisource
Jump to navigation Jump to search

This template makes some styles optional. It uses javascript code at Display options.

if it is used in a page, a box "display options" shows up in the left column, under the toolbox.

Syntax : {{Option|name of the option|style|text}}

Examples :

wiki command result
{{Option|Blue text|color:#0000ff|Blue text}} Blue text
{{Option|Hidden text|display:none|I'm off...}} I'm off...
<span style="color:#ff0000">{{Option|Black&text|color:#000000|Black text}}</span> Black text