跳至內容

「模組:Wikidata」:修訂間差異

取消Erzherrscher留言)作出的修訂45370
無編輯摘要
(取消Erzherrscher留言)作出的修訂45370
標籤復原
 
第1行: 第1行:
-- vim: set noexpandtab ft=lua ts=4 sw=4:
-- vim: set noexpandtab ft=lua ts=4 sw=4:
require( 'strict' )
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 = "" -- **internationalise later**
local delimdefault = ", " -- **internationalise later**
local delim = frame.args.delimiter or ""
local delim = frame.args.delimiter or ""
delim = string.gsub(delim, '"', '')
delim = string.gsub(delim, '"', '')