Display title | Module:Yesno |
Default sort key | Yesno |
Page length (in bytes) | 745 |
Namespace ID | 828 |
Namespace | Module |
Page ID | 528 |
Page content language | en - English |
Page content model | Scribunto |
Indexing by robots | Allowed |
Number of redirects to this page | 0 |
Number of subpages of this page | 1 (0 redirects; 1 non-redirect) |
Edit | Allow all users (infinite) |
Move | Allow all users (infinite) |
Page creator | wikipedia>MusikAnimal |
Date of page creation | 01:27, 1 April 2020 |
Latest editor | Timothy (talk | contribs) |
Date of latest edit | 12:40, 19 April 2024 |
Total number of edits | 4 |
Total number of distinct authors | 3 |
Recent number of edits (within past 90 days) | 0 |
Recent number of distinct authors | 0 |
Description | Content |
Article description: (description ) This attribute controls the content of the description and og:description elements. | Lua error: Internal error: The interpreter exited with status 2.
Lua error: Internal error: The interpreter exited with status 2.
This module provides a consistent interface for processing boolean or boolean-style string input. While Lua allows the true and false boolean values, wikicode templates can only express boolean values through strings such as "yes", "no", etc. This module processes these kinds of strings and turns them into boolean input for Lua to process. It also returns nil values as nil, to allow for distinctions between nil and false. The module also accepts other Lua structures as input, i.e. booleans, numbers, tables, and functions. If it is passed input that it does not recognise as boolean or nil, it is possible to specify a default value to return. |