Modul:TemplateData: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
2017-04-08
wp>PerfektesChaos (2017-03-31) |
wp>PerfektesChaos (2017-04-08) |
||
Zeile 1: | Zeile 1: | ||
local TemplateData = { serial = "2017- | local TemplateData = { serial = "2017-04-08", | ||
suite = "TemplateData" } | suite = "TemplateData" } | ||
--[=[ | --[=[ | ||
Zeile 143: | Zeile 143: | ||
:node( mw.html.create( "code" ) | :node( mw.html.create( "code" ) | ||
:wikitext( k ) ) | :wikitext( k ) ) | ||
: | :node( "br" ) | ||
:wikitext( fair( v ) ) ) | :wikitext( fair( v ) ) ) | ||
end -- for k, v | end -- for k, v | ||
Zeile 550: | Zeile 550: | ||
Data.params[ access ].type = s | Data.params[ access ].type = s | ||
typed:wikitext( factory( "doc-param-type-" .. s ) ) | typed:wikitext( factory( "doc-param-type-" .. s ) ) | ||
: | :tag( "br" ) | ||
typed:node( mw.html.create( "span" ) | |||
:addClass( "error" ) | :addClass( "error" ) | ||
:wikitext( param.type ) ) | :wikitext( param.type ) ) | ||
Zeile 595: | Zeile 595: | ||
if type( param.deprecated ) == "string" then | if type( param.deprecated ) == "string" then | ||
ranking:tag( "br" ) | ranking:tag( "br" ) | ||
ranking:wikitext( param.deprecated ) | |||
end | end | ||
end | end |