Template:Different print

From Meta, a Wikimedia project coordination wiki
(Redirected from Template:Hide in print)
Jump to navigation Jump to search

{{{1}}}{{{2}}}

Template documentation

This template creates different output in print and when using other media (on screen or in speech). It’s useful when e.g. a convenience link makes no sense in print. It has no required parameters, but it doesn’t make sense to give neither the print nor the no print parameter.

Template parameters

ParameterDescriptionTypeStatus
no print text1

The text to be displayed on screen/in speech

Contentsuggested
print text2

The text to be displayed in print

Contentsuggested
tagtag

The HTML tag to use, currently “span”, “div” and “bdi” are supported

Default
span
Lineoptional