Template:Hidden text/doc
Appearance
This is a documentation subpage for Template:Hidden text. It contains usage information, categories and other content that is not part of the original template page. |
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'.
Usage
[edit]Wikitext | Rendered output |
---|---|
Lorem {{hidden text|ipsum dolor}} sit amet. | Lorem | sit amet.
See also
[edit]- {{transparent}}
- {{white}}
- {{display none}}