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 = {}
local args
--- Helper function checking if a substring is in a string
--
-- @param needle string - Value to search for
-- @param haystack string - String to search in
--
-- @return bool - True if found
local function stringContains( needle, haystack )
return string.find( string.lower( haystack ), needle, 1, true )
end
-- This is from Module:String2
-- FIXME: Figure out how to call in from Lua properly
local function titlecase( text )
local alwayslower = {['a'] = 1, ['an'] = 1, ['the'] = 1,
['and'] = 1, ['but'] = 1, ['or'] = 1, ['for'] = 1,
['nor'] = 1, ['on'] = 1, ['in'] = 1, ['at'] = 1, ['to'] = 1,
['from'] = 1, ['by'] = 1, ['of'] = 1, ['up'] = 1 }
local res = ''
local s = mw.text.trim( text or "" )
000
1:0
Templates used on this page:
- Template:Documentation (view source) (protected)
- Template:Template link general (view source)
- Template:Tl (view source)
- Module:Arguments (view source) (protected)
- Module:Array (view source)
- Module:Cite RSI/doc (view source)
- Module:DependencyList (view source)
- Module:DependencyList/i18n.json (view source)
- Module:Documentation (view source)
- Module:Documentation/i18n.json (view source)
- Module:Documentation/styles.css (view source)
- Module:Format link (view source)
- Module:Hatnote (view source)
- Module:Hatnote/styles.css (view source)
- Module:Hatnote list (view source)
- Module:I18n (view source)
- Module:I18n/category/en.json (view source)
- Module:Mbox (view source)
- Module:Mbox/styles.css (view source)
- Module:Module toc (view source)
- Module:Paramtest (view source)
- Module:Template link general (view source)
- Module:Translate (view source)
- Module:User error (view source)
- Module:Yesno (view source)
Return to Module:Cite RSI.