Template:Hidden text

From Wikisource
Jump to navigation Jump to search


Documentation icon Template documentation[view] [edit] [history] [purge]

This template hides the text given as parameter 1. This means that the space for the text is allocated on the user's screen or device, but displayed only as empty space.

This template achieves this effect by setting the text's visibility style property to hidden,

From the CSS specification:

The 'visibility' property specifies whether the boxes generated by an element are rendered. Invisible boxes still affect layout.
'hidden' means that the generated box is invisible (fully transparent, nothing is drawn), but still affects layout. Furthermore, descendants of the element will be visible if they have 'visibility: visible'.


Wikitext Rendered output
Lorem {{hidden text|ipsum dolor}} sit amet. Lorem ipsum dolor sit amet.

See also[edit]