Template:Yesno

Template page

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Yesno/doc. Changes can be proposed in the talk page.

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. Alignment can be specified using the optional align parameter.

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

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
String1

The string to test

Unknownoptional
Sizesize

Size of output, optional

Example
100px
Unknownoptional
Alignmentalign

Alignment of tick. Either "left", "right", or "center"

Example
center
Unknownoptional