Module:Infobox gene: Difference between revisions

Content deleted Content added
change disease & drug list to td
m html method indent
Line 496:
:css('background-color', sideTitleBGcolor)
:wikitext(label_ext_id)
:done()
:newline()
:tag('td')
:attr('colspan', '3')
Line 520:
:wikitext(label_EC)
:done()
:newline()
:tag('td')
:attr('colspan', '3')
Line 528:
:wikitext(EC)
:done()
:newline()
:done()
end
end
Line 558:
:newline()
:tag('tr') --create title bar
:tag('th')
:attr('colspan', '3')
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:wikitext(title)
:done()
:newline()
 
Line 576:
root
:tag('tr')
:attr('colspan', 4)
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:newline()
:tag('td')
:css('background-color', rowBGcolor)
:attr('scope', 'row')
:attr('colspan', '3')
:wikitext(ref_link)
:done()
:newline()
:done()
:done()
:newline()
end
Line 626:
:newline()
:tag('tr') --create title bar
:tag('th')
:attr('colspan', '3')
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:wikitext(title)
:done()
:newline()
 
Line 646:
root
:tag('tr')
:attr('colspan', 4)
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:newline()
:tag('td')
:css('background-color', rowBGcolor)
:attr('scope', 'row')
:attr('colspan', '3')
:wikitext(ref_link)
:done()
:newline()
:done()
:newline()
end
end