Nicht angemeldeter Benutzer - Bearbeiten von Seiten ist nur als angemeldeter Benutzer möglich.
Änderungen
Zur Navigation springen
Zur Suche springen
Zeile 1:
Zeile 1:
− +
Zeile 41:
Zeile 41:
− +
− +
− +
− +
+
Zeile 132:
Zeile 133:
− +
+
+
Zeile 656:
Zeile 659:
+
+
+
+
+
Zeile 1.010:
Zeile 1.018:
+
Zeile 1.029:
Zeile 1.038:
+
+
+
Zeile 1.051:
Zeile 1.063:
− +
2017-05-12
local TemplateData = { serial = "2017-04-12",
local TemplateData = { serial = "2017-05-12",
suite = "TemplateData" }
suite = "TemplateData" }
--[=[
--[=[
}
}
local Permit = {
local Permit = {
colors = { required = "EAF3FF",
colors = { required = "EAF3FF",
suggested = "FFFFFF",
suggested = "FFFFFF",
optional = "D0D0D0",
optional = "EAECF0",
deprecated = "FFCBCB" },
deprecated = "FFCBCB",
tableheadbg = "B3B7FF" },
params = { aliases = "table",
params = { aliases = "table",
autovalue = "string",
autovalue = "string",
-- Returns number, or nil
-- Returns number, or nil
local seek = string.format( Permit.search,
local seek = string.format( Permit.search,
ask:gsub( "([%-()^$%[%]%%])", "%%%1" ) )
ask:gsub( "%%", "%%%%" )
:gsub( "([%-.()+*?^$%[%]])",
"%%%1" ) )
local i, k = Data.source:find( seek, at )
local i, k = Data.source:find( seek, at )
local r, slice, source
local r, slice, source
local r
local r
if Data.tree and Data.tree.params then
if Data.tree and Data.tree.params then
local style = "#" .. Permit.colors.tableheadbg
local tr = mw.html.create( "tr" )
local tr = mw.html.create( "tr" )
feat()
feat()
tr:node( mw.html.create( "th" )
tr:node( mw.html.create( "th" )
:attr( "colspan", "2" )
:attr( "colspan", "2" )
:css( "background-color", style )
:wikitext( factory( "doc-param-name" ) ) )
:wikitext( factory( "doc-param-name" ) ) )
:node( mw.html.create( "th" )
:node( mw.html.create( "th" )
:css( "background-color", style )
:wikitext( factory( "doc-param-desc" ) ) )
:wikitext( factory( "doc-param-desc" ) ) )
:node( mw.html.create( "th" )
:node( mw.html.create( "th" )
:css( "background-color", style )
:wikitext( factory( "doc-param-type" ) ) )
:wikitext( factory( "doc-param-type" ) ) )
:node( mw.html.create( "th" )
:node( mw.html.create( "th" )
:css( "background-color", style )
:wikitext( factory( "doc-param-status" ) ) )
:wikitext( factory( "doc-param-status" ) ) )
r = mw.html.create( "table" )
r = mw.html.create( "table" )
-- arglist -- table, template parameters
-- arglist -- table, template parameters
-- Returns string
-- Returns string
local spy=""
local source
local source
for k, v in pairs( Config ) do
for k, v in pairs( Config ) do
if start == "<" then
if start == "<" then
Data.strip = s
Data.strip = s
if s:find( "[<|>]" ) then
spy=string.format( "[[category:%s]]", Config.strange )
end
elseif start == "{" then
elseif start == "{" then
source = s
source = s
end
end
TemplateData.getPlainJSON( source )
TemplateData.getPlainJSON( source )
return finalize()
return spy .. finalize()
end -- furnish()
end -- furnish()