Modul:TemplateData: Unterschied zwischen den Versionen
2017-06-30
wp>PerfektesChaos (2017-05-27) |
wp>PerfektesChaos (2017-06-30) |
||
Zeile 1: | Zeile 1: | ||
local TemplateData = { serial = "2017- | local TemplateData = { serial = "2017-06-30", | ||
suite = "TemplateData" } | suite = "TemplateData" } | ||
--[=[ | --[=[ | ||
Zeile 397: | Zeile 397: | ||
-- asked -- true, if mandatory description | -- asked -- true, if mandatory description | ||
-- Returns <block>, with head, or nil | -- Returns <block>, with head, or nil | ||
local para = mw.html.create( " | local para = mw.html.create( "div" ) | ||
local plus, r | local plus, r | ||
if about and about.description then | if about and about.description then | ||
Zeile 577: | Zeile 577: | ||
if show then | if show then | ||
dd = mw.html.create( "dd" ) | dd = mw.html.create( "dd" ) | ||
:wikitext( show ) | :wikitext( show ) | ||
section = factory( "doc-param-" .. s ) | section = factory( "doc-param-" .. s ) | ||
if param.type == "boolean" and | if param.type == "boolean" and |