Module:Item
From ArchivesWiki
Documentation for this module may be created at Module:Item/doc
local p = {}
p.storageLocation = function ( frame )
if frame.args.storage_location == nil or frame.args.storage_location == '' then
return ''
end
local sl = frame.args.storage_location
local key = nil
local keyDisplay = ''
if frame.args.storage_location_sort_key ~= nil and frame.args.storage_location_sort_key ~= '' then
key = frame.args.storage_location_sort_key
keyDisplay = ' (<em>sort key:</em> ' .. key .. ')'
end
return '[[' .. sl .. ']]' .. keyDisplay
end
return p