|
|
第72行: |
第72行: |
| "text" , | | "text" , |
| } | | } |
|
| |
| function renderHeader(tbl)
| |
| local row = tbl:tag('tr')
| |
| for i=1,1 do
| |
| if params["display"][i] == "true" then
| |
| local header_th = row:tag('th')
| |
| header_th
| |
| :wikitext(params["header"][i])
| |
| :css('padding' ,'10px')
| |
| :css('width' , params["col_width" ][i])
| |
| :css('height' , params["col_height" ][i])
| |
| :css('color' , params["header_color" ][i])
| |
| :css('background-color' , params["header_bg_color" ][i])
| |
| :css('border-width' , params["header_border_width" ][i])
| |
| :css('border-color' , params["header_border_color" ][i])
| |
| :css('border-style' , params["header_border_style" ][i])
| |
| :css('text-align' , params["text" ][i])
| |
| end
| |
| end
| |
| end
| |
|
| |
|
| function renderRow(row_id, args, tbl) | | function renderRow(row_id, args, tbl) |