Modul:TemplateData: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
2018-04-02 15
wp>PerfektesChaos (2018-04-02 14:15) |
wp>PerfektesChaos (2018-04-02 15) |
||
Zeile 1.424: | Zeile 1.424: | ||
if Data.leading then | if Data.leading then | ||
local toc = mw.html.create( "div" ) | local toc = mw.html.create( "div" ) | ||
local shift | |||
if Config.suppressTOCnum then | if Config.suppressTOCnum then | ||
toc:addClass( Config.suppressTOCnum ) | toc:addClass( Config.suppressTOCnum ) | ||
Zeile 1.431: | Zeile 1.432: | ||
if Data.sibling then | if Data.sibling then | ||
local block = mw.html.create( "div" ) | local block = mw.html.create( "div" ) | ||
if TemplateData.ltr then | if TemplateData.ltr then | ||
shift = "right" | shift = "right" | ||
Zeile 1.442: | Zeile 1.442: | ||
:node( block ) | :node( block ) | ||
:newline() | :newline() | ||
end | end | ||
r:newline() | r:newline() | ||
:node( toc ) | :node( toc ) | ||
:newline() | :newline() | ||
if shift then | |||
r:node( mw.html.create( "div" ) | |||
:css( "clear", shift ) ) | |||
:newline() | |||
end | |||
end | end | ||
s = features() | s = features() |