View source for Module:DecodeEncode
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function _getBoolean( boolean_str )
-- from: module:String; adapted
-- requires an explicit true
local boolean_value
if type( boolean_str ) == 'string' then
boolean_str = boolean_str:lower()
if boolean_str == 'true' or boolean_str == 'yes' or boolean_str == '1' then
boolean_value = true
else
boolean_value = false
end
elseif type( boolean_str ) == 'boolean' then
boolean_value = boolean_str
else
boolean_value = false
end
return boolean_value
000
1:0
Templates used on this page:
- Template:Category link with count (view source)
- Template:Clc (view source)
- Template:Ifsubst (view source)
- Template:Module other (view source)
- Template:Module rating (view source)
- Template:Mono (view source)
- Template:Mono/styles.css (view source)
- Template:Navbox (view source)
- Template:Navbox wikitext-handling templates (view source)
- Template:Ombox (view source)
- Template:Para (view source)
- Template:Sandbox other (view source)
- Template:Tl (view source)
- Module:Arguments (view source)
- Module:DecodeEncode (view source)
- Module:DecodeEncode/doc (view source)
- Module:Message box (view source)
- Module:Message box/configuration (view source)
- Module:Navbar (view source)
- Module:Navbar/configuration (view source)
- Module:Navbar/styles.css (view source)
- Module:Navbox (view source)
- Module:Navbox/configuration (view source)
- Module:Navbox/styles.css (view source)
- Module:No globals (view source)
- Module:String (view source)
- Module:Yesno (view source)
Return to Module:DecodeEncode.