Template:Yesno

Red cross.png

Template documentation (for the above template, sometimes hidden or invisible)

This template will display a tick if the parameter {{{1}}} is present, or a cross if it isn't present. The size may be altered using the optional size parameter.

Examples
  • {{yesno|Lorem ipsum}} produces Green tick.png
  • {{yesno|<!-- This is a comment, otherwise there is nothing here. -->}} produces Red cross.png
  • {{yesno|Lorem ipsum|size=60px}} produces Green tick.png

Produces a tick or a cross depending on whether the first parameter is present.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
String1

The string to test

Unknownoptional
Sizesize

Size of output, optional

Example
100px
Unknownoptional

Visit Template:Yesno/doc to edit this text! (How does this work?)