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 10:
Zeile 10:
+
+
+
+
Zeile 664:
Zeile 668:
− +
+
+
+
+
+
+
+
+
+
+
+
Zeile 679:
Zeile 694:
− r = mw.html.create( "table" ) +
− :addClass( "wikitable" )+
− if Data.order and #Data.order > 1 then+
− r:addClass( "sortable" )
− end
− if Config.stylesTable then
− r:cssText( Config.stylesTable )
− end
− r:newline()
−
− :node( tr )
− :newline()+
− r:node( feature( Data.order[ i ] ) ) +
+
+
+
+
+
+
+
Zeile 1.025:
Zeile 1.039:
− +
Zeile 1.033:
Zeile 1.047:
− +
− Config.loudly = true+
− +
Zeile 1.079:
Zeile 1.093:
− +
+
2017-05-25
local TemplateData = { serial = "2017-05-24",
local TemplateData = { serial = "2017-05-25",
suite = "TemplateData" }
suite = "TemplateData" }
--[=[
--[=[
-- multiple #invoke option names mapped into unique internal fields
-- multiple #invoke option names mapped into unique internal fields
cat = "strange",
cat = "strange",
-- classParams = "classTable",
cssParams = "stylesTable",
cssParams = "stylesTable",
cssParWrap = "stylesTabWrap",
debug = false,
debug = false,
docpageCreate = "suffix",
docpageCreate = "suffix",
docpageDetect = "subpage",
docpageDetect = "subpage",
msgDescMiss = "solo",
msgDescMiss = "solo",
-- classTable = false, -- class for params table
loudly = false, -- show exported element, etc.
loudly = false, -- show exported element, etc.
solo = false, -- complaint on missing description
solo = false, -- complaint on missing description
strange = false, -- title of maintenance category
strange = false, -- title of maintenance category
stylesTable = false, -- styles for params table
stylesTable = false, -- styles for params table
stylesTabWrap = false, -- styles for params table wrapper
subpage = false, -- pattern to identify subpage
subpage = false, -- pattern to identify subpage
suffix = false -- subpage creation scheme
suffix = false -- subpage creation scheme
if Data.tree and Data.tree.params then
if Data.tree and Data.tree.params then
local style = "#" .. Permit.colors.tableheadbg
local style = "#" .. Permit.colors.tableheadbg
local tr = mw.html.create( "tr" )
local tbl = mw.html.create( "table" )
:addClass( "wikitable" )
local tr = mw.html.create( "tr" )
feat()
feat()
if Data.order and #Data.order > 1 then
tbl:addClass( "sortable" )
end
-- if Config.classTable then
-- tbl:addClass( Config.classTable )
-- end
if Config.stylesTable then
tbl:cssText( Config.stylesTable )
end
tr:node( mw.html.create( "th" )
tr:node( mw.html.create( "th" )
:attr( "colspan", "2" )
:attr( "colspan", "2" )
:css( "background-color", style )
:css( "background-color", style )
:wikitext( factory( "doc-param-status" ) ) )
:wikitext( factory( "doc-param-status" ) ) )
tbl:newline()
-- :node( mw.html.create( "thead" )
:node( tr )
-- :node( mw.html.create( "thead" )
-- )
-- )
:newline()
if Data.order then
if Data.order then
for i = 1, #Data.order do
for i = 1, #Data.order do
tbl:node( feature( Data.order[ i ] ) )
end -- for i = 1, #Data.order
end -- for i = 1, #Data.order
end
if Config.stylesTabWrap then
r = mw.html.create( "div" )
:cssText( Config.stylesTabWrap )
:node( tbl )
else
r = tbl
end
end
end
end
-- arglist -- table, template parameters
-- arglist -- table, template parameters
-- Returns string
-- Returns string
local spy=""
--local spy=""
local source
local source
for k, v in pairs( Config ) do
for k, v in pairs( Config ) do
end -- for k, v
end -- for k, v
Config.loudly = faculty( arglist.debug or adapt.debug )
Config.loudly = faculty( arglist.debug or adapt.debug )
if mw.site.server:find( "//de.wikipedia.beta.wmflabs.org", 1, true ) then
--if mw.site.server:find( "//de.wikipedia.beta.wmflabs.org", 1, true ) then
-- Config.loudly = true
end
--end
Data.lazy = faculty( arglist.lazy ) and not Config.loudly
Data.lazy = faculty( arglist.lazy ) and not Config.loudly
Data.leading = faculty( arglist.TOC )
Data.leading = faculty( arglist.TOC )
end
end
TemplateData.getPlainJSON( source )
TemplateData.getPlainJSON( source )
return spy .. finalize()
return finalize()
--return spy .. finalize()
end -- furnish()
end -- furnish()