Modul:Vorlage:LuaModuleDoc: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
2019-10-30
(2019-10-29) |
(2019-10-30) |
||
Zeile 1: | Zeile 1: | ||
local LuaModuleDoc = { suite = "LuaModuleDoc", | local LuaModuleDoc = { suite = "LuaModuleDoc", | ||
serial = "2019-10- | serial = "2019-10-30", | ||
item = 12981914, | item = 12981914, | ||
frame = false, | frame = false, | ||
Zeile 145: | Zeile 145: | ||
local mode = 0 | local mode = 0 | ||
local repo = entity:formatPropertyValues( "P1324" ) | local repo = entity:formatPropertyValues( "P1324" ) | ||
local s | local params, s | ||
if type( repo ) == "table" and | if type( repo ) == "table" and | ||
type( repo.value) == "string" and | type( repo.value) == "string" and | ||
repo.value:find( "//" ) then | repo.value:find( "//" ) then | ||
local t = mw.text.split( repo.value, ",%s+" ) | local t = mw.text.split( repo.value, ",%s+" ) | ||
if #t > 1 then | if #t > 1 then | ||
for i = 1, #t do | for i = 1, #t do |