424
edits
| Line 5: | Line 5: | ||
local function _requirements(resource, value, link, text, lang) | local function _requirements(resource, value, link, text, lang) | ||
--[[ Language switch isn't | --[[ Language switch isn't actually needed, but stems from early design when | ||
all languages would have a single wiki, leaving in as this may change in the | all languages would have a single wiki, leaving in as this may change in the | ||
future ]] | future ]] | ||
| Line 26: | Line 26: | ||
--Check after trim as may be whitespace only | --Check after trim as may be whitespace only | ||
if com.exists(value) then | if com.exists(value) then | ||
value = ' | value = '' .. value .. '' | ||
else | else | ||
value = '' | value = '' | ||
edits