Jump to content
Toggle menu
  • 12,3 E szócikkek
  • 21,5 E fájlok
  • 4 felhasználók
  • 63,9 E szerkesztések
SCWIKI
Toggle preferences menu
Toggle personal menu
Nem vagy bejelentkezve
Your IP address will be publicly visible if you make any edits.

Renders a tri-state boolean as a machine-readable icon: a green check (yes), a grey cross (no), or an amber help glyph (unknown). The icon-only face of Module:Boolean; the value is normalised through Module:Yesno, so yes/1/true and no/0/false all work. Anything unrecognised (or an empty value) renders the unknown glyph.

Machine-readable three ways: a title tooltip, a data-state (yes/no/unknown) attribute, and visually-hidden text for screen readers.

Usage

{{Boolean|yes}}
{{Boolean|no}}
{{Boolean}}

Renders a tri-state boolean (yes / no / unknown) as a machine-readable icon.

Sablonparaméterek

ParaméterLeírásTípusÁllapot
Value1

The boolean value. yes/1/true, no/0/false; empty or unrecognised renders the unknown glyph.

Javasolt értékek
yes no
Karakterláncnem kötelező
Tartalomjegyzék