Jump to content

Template:Opacity/doc

From Wikipedia, the free encyclopedia

Changes the opacity of some text. Contains an optional parameter to specify opacity between 0 (transparent) and 1 (opaque)


The following is used to create text with 25% opacity:

{{opacity|0.25|Example Text}}

Which produces this: Example Text


You can also leave the first parameter blank to use the default of 50%.

{{opacity||Example Text}}

Which produces this: Example Text


Invalid inputs for opacity will produce text will full opacity.