「模組:Wikidata」:修訂間差異
取消Erzherrscher(留言)作出的修訂45370
Erzherrscher(留言 | 貢獻) 無編輯摘要 |
Erzherrscher(留言 | 貢獻) (取消Erzherrscher(留言)作出的修訂45370) 標籤:復原 |
||
第1行: | 第1行: | ||
-- vim: set noexpandtab ft=lua ts=4 sw=4: | -- vim: set noexpandtab ft=lua ts=4 sw=4: | ||
require( ' | require('Module:No globals') | ||
local p = {} | local p = {} | ||
第514行: | 第514行: | ||
-- This is used to get a value, or a comma separated list of them if multiple values exist | -- This is used to get a value, or a comma separated list of them if multiple values exist | ||
p.getValue = function(frame) | p.getValue = function(frame) | ||
local delimdefault = " | local delimdefault = ", " -- **internationalise later** | ||
local delim = frame.args.delimiter or "" | local delim = frame.args.delimiter or "" | ||
delim = string.gsub(delim, '"', '') | delim = string.gsub(delim, '"', '') |