Modul:TemplateData: Unterschied zwischen den Versionen
2020-03-10
w>PerfektesChaos (2020-03-01) |
w>PerfektesChaos (2020-03-10) |
||
Zeile 1: | Zeile 1: | ||
local TemplateData = { suite = "TemplateData", | local TemplateData = { suite = "TemplateData", | ||
serial = "2020-03- | serial = "2020-03-10", | ||
item = 46997995 } | item = 46997995 } | ||
--[=[ | --[=[ | ||
Zeile 828: | Zeile 828: | ||
if type( boole.show ) == "string" then | if type( boole.show ) == "string" then | ||
local v = mw.html.create( "span" ) | local v = mw.html.create( "span" ) | ||
:attr( "aria-hidden", "true" ) | |||
:wikitext( boole.show ) | :wikitext( boole.show ) | ||
if boole.css then | if boole.css then | ||
Zeile 1.798: | Zeile 1.799: | ||
full() | full() | ||
elseif not Data.strip then | elseif not Data.strip then | ||
Fault( "fatal JSON error: " .. | local scream = type( Data.got ) | ||
if scream == "string" then | |||
scream = Data.got | |||
else | |||
scream = "Data.got: " .. scream | |||
end | |||
Fault( "fatal JSON error: " .. scream ) | |||
end | end | ||
end | end |