View source for Module:Football manager history
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
-- Implement [[Template:Football manager history]] to avoid articles being
-- added to [[:Category:Pages where template include size is exceeded]]
-- when the template is used many times.
local function clean(text, default)
-- Return text, if not empty, after trimming leading/trailing whitespace.
-- Otherwise return default which is nil unless set by caller.
if text then
text = text:match("^%s*(.-)%s*$")
if text ~= '' then
return text
end
end
return default
end
local function yes(parameter)
-- Return true if parameter should be interpreted as "yes".
-- Do not want to accept mixed upper/lowercase.
return ({ Y = true, y = true, yes = true, T = true, ['true'] = true })[parameter]
end
000
1:0
Template used on this page:
Return to Module:Football manager history.