Modul:Navbox ice hockey: Unterschied zwischen den Versionen

Die Seite wurde neu angelegt: „local p = { } function p.main(frame) local getArgs = require('Module:Arguments').getArgs local args = {} local parentArgs = getArgs(frame) -- Get the template name local name = parentArgs['teamname'] or 'National Hockey League' -- Set defaults args['bodyclass'] = 'hlist' args['title'] = '' .. name .. '' -- Coloring local sportscolor = require('Module:Sports color') args['titlestyle'] = sportscolor.tit…“
 
KKeine Bearbeitungszusammenfassung
 
(4 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 15: Zeile 15:
     -- Coloring
     -- Coloring
local sportscolor = require('Module:Sports color')
local sportscolor = require('Module:Sports color')
args['titlestyle'] = sportscolor.titlestripe({['args'] = {name, ['width'] = '5', ['sport'] = 'ice hockey'}})
args['titlestyle'] = sportscolor.titlestripe({['args'] = {name, ['width'] = '3', ['sport'] = 'ice hockey'}})
args['groupstyle'] = sportscolor.cellborder({['args'] = {name, ['width'] = '2', ['sport'] = 'ice hockey'}})
args['groupstyle'] = sportscolor.cellborder({['args'] = {name, ['width'] = '1', ['sport'] = 'ice hockey'}})
args['abovestyle'] = args['groupstyle']
args['abovestyle'] = args['groupstyle']
args['belowstyle'] = sportscolor.cellborder2({['args'] = {name, ['width'] = '2', ['sport'] = 'ice hockey'}})
args['belowstyle'] = sportscolor.cellborder2({['args'] = {name, ['width'] = '2', ['sport'] = 'ice hockey'}})