יחידה:תבנית מידע: הבדלים בין גרסאות בדף

אין תקציר עריכה
שחזור לגרסה של ערן
שורה 52: שורה 52:
Renders the right/left images (possibly 1/2/none of them available) and the main image
Renders the right/left images (possibly 1/2/none of them available) and the main image
]]
]]
local function renderAboveRow()
    -- render above row
    if not args.above then return end
   
    local row = root:tag('tr')
            :tag('th')
                :attr('colspan', 2)
                :addClass(args.aboveclass)
                :css('text-align', 'center')
                :css('font-size', '125%')
                :css('font-weight', 'bold')
                :cssText(args.abovestyle)
                :wikitext(args.above)
end
local function renderImages()
local function renderImages()
-- render right an left images  
-- render right an left images  
שורה 343: שורה 327:
args.titlestyle = frame.args['כותרת תבנית-עיצוב']
args.titlestyle = frame.args['כותרת תבנית-עיצוב']
args.titleclass = frame.args['כותרת תבנית-מחלקה']
args.titleclass = frame.args['כותרת תבנית-מחלקה']
        args.above =  frame.args['למעלה']
        args.aboveclass = frame.args['למעלה-מחלקה']
        args.abovestyle = frame.args['למעלה-עיצוב']
args.subtitle = frame.args['תת כותרת תבנית']
args.subtitle = frame.args['תת כותרת תבנית']
args.subtitlestyle = frame.args['תת כותרת תבנית-עיצוב']
args.subtitlestyle = frame.args['תת כותרת תבנית-עיצוב']