Khác biệt giữa bản sửa đổi của “Mô đun:Infobox”

không có tóm lược sửa đổi
Không có tóm lược sửa đổi
Không có tóm lược sửa đổi
 
Dòng 164: Dòng 164:
     ret[#ret+1] = ' cellspacing="5"'
     ret[#ret+1] = ' cellspacing="5"'


    ret[#ret+1] = ' style="width:22em; text-align:left; font-size:88%; line-height:1.5em;'
     if common.isset(colors[ttype]) then
     if common.isset(colors[ttype]) then
       ret[#ret+1] = 'border-color:' .. colors[ttype]['border'] .. ';'
       ret[#ret+1] = 'border-color:' .. colors[ttype]['border'] .. ';'
Dòng 179: Dòng 178:
       if common.isset(frame.args['titleclass']) then ret[#ret+1] = '  class="' .. frame.args['titleclass'] .. '"' end
       if common.isset(frame.args['titleclass']) then ret[#ret+1] = '  class="' .. frame.args['titleclass'] .. '"' end


      ret[#ret+1] = ' style="font-size:125%; font-weight:bold;'
       style.add(ret, frame.args['titlestyle'])
       style.add(ret, frame.args['titlestyle'])
       ret[#ret+1] = '"'
       ret[#ret+1] = '"'
Dòng 195: Dòng 193:
       local rclass = frame.args['aboverowclass']
       local rclass = frame.args['aboverowclass']
       local text = frame.args['above']
       local text = frame.args['above']
       local style = 'text-align:center; font-size:125%; font-weight:bold;'
       local style = 'text-align: center; '
       if common.isset(frame.args['abovestyle']) then style = style .. ' ' .. frame.args['abovestyle'] end
       if common.isset(frame.args['abovestyle']) then style = style .. ' ' .. frame.args['abovestyle'] end