Module:Yesno: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

25 November 2023

  • curprev 09:2709:27, 25 November 2023upgradewastaken talk contribs 1,093 bytes +1,093 Created page with "--<pre> -- Function allowing for consistent treatment of boolean-like wikitext input. -- -- Based on <https://en.wikipedia.org/wiki/Module:Yesno> -- see page history there for contributors local list_t = { true, 'true', 't', 'tru', 'yes', 'y', 'on', 'valid', '1', 1 } local list_f = { false, 'false', 'f', 'no', 'n', 'not', 'off', '0', 0 } local function contains(array, value) for i=1,#array do if array[i] == value t..."