Module:Infobox gene: Difference between revisions

Content deleted Content added
Fix too small font per MOS:FONTSIZE.
fix text color in dark mode; this generally works but may cause problems, in which case revert or try specifying a different CSS value
Line 244:
:css('clear', 'none')
:css('float', 'none')
:css('background-color', 'transparent')
 
else
Line 329 ⟶ 328:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:css('padding', '0')
Line 340:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 348 ⟶ 349:
:attr('rowspan', '2')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:css('width', '43px')
:wikitext(pdb_link)
Line 354 ⟶ 356:
:attr('colspan', '2')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext(searchTitle)
:tag('span')
Line 374 ⟶ 377:
:tag('tr')
:css('background-color', titleBGcolor)
:css('text-aligncolor', 'centerinherit')
:css('text-align', 'center')
:tag('th')
:attr('colspan', '2')
Line 384 ⟶ 388:
:attr('colspan', '2')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('p')
:tag('span')
Line 493 ⟶ 498:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 500 ⟶ 506:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 509 ⟶ 516:
:attr('colspan','3')
:css('background', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 522 ⟶ 530:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_ext_id)
:done() --end th
Line 527 ⟶ 536:
:attr('colspan', '3')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 540 ⟶ 550:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_EC)
:done() --end th
Line 545 ⟶ 556:
:attr('colspan', '3')
:css('background-color', rowBGcolor)
:tagcss('spancolor', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
:wikitext(EC)
Line 577 ⟶ 589:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('tr') --create title bar
:tag('th')
:attr('colspan', '3')
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 597 ⟶ 611:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:attr('scope', 'row')
:attr('colspan', '3')
Line 636 ⟶ 652:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('tr') --create title bar
:tag('th')
Line 641 ⟶ 658:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 659 ⟶ 677:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:attr('scope', 'row')
:attr('colspan', '3')
Line 793 ⟶ 813:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:attr('class', 'collapsible collapsed')
Line 805 ⟶ 826:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(titleHuman)
:done() --end th
Line 813 ⟶ 835:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext("[[File:Ideogram human chromosome "..chr..".svg|300px|"..chrText.."]]")
:done() --end td
:done() --end tr
Line 821 ⟶ 844:
:attr('width', '15%')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_chr)
:done() --end th
Line 827 ⟶ 851:
:attr('width', '85%')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 838 ⟶ 863:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext(wikitext_for_ideogram_image)
:done() --end td
Line 847 ⟶ 873:
:attr('width', '15%')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_locus)
:done() --end th
Line 853 ⟶ 880:
:attr('width', '35%')
:css('background-color', rowBGcolor)
:tagcss('spancolor', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
:wikitext(cytoband)
Line 861 ⟶ 889:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_gstart)
:done() --end th
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 875 ⟶ 905:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_gend)
:done() --end th
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 993 ⟶ 1,025:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:attr('class', 'collapsible collapsed')
Line 1,005 ⟶ 1,038:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(titleMouse)
:done() --end th
Line 1,013 ⟶ 1,047:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext("[[File:Ideogram house mouse chromosome "..chr_mm..".svg|260px|"..chrText_mm.."]]")
:done() --end td
Line 1,021 ⟶ 1,056:
:attr('width', '15%')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_chr)
:done() --end th
Line 1,027 ⟶ 1,063:
:attr('width', '85%')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,038 ⟶ 1,075:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext(wikitext_for_ideogram_image_mm)
:done() --end td
Line 1,047 ⟶ 1,085:
:attr('width', '15%')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_locus)
:done() --end th
Line 1,053 ⟶ 1,092:
:attr('width', '35%')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,061 ⟶ 1,101:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_gstart)
:done() --end th
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,075 ⟶ 1,117:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(label_gend)
:done() --end th
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,163 ⟶ 1,207:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:attr('class', 'collapsible collapsed')
Line 1,175 ⟶ 1,220:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 1,182 ⟶ 1,228:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(bgee_title)
:done() --end th
Line 1,275 ⟶ 1,322:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,288 ⟶ 1,336:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(biogps_title)
:done() --end th
Line 1,303 ⟶ 1,352:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext(expression_images)
:done() --end td
Line 1,311 ⟶ 1,361:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('span')
:attr('class', 'plainlinks')
Line 1,340 ⟶ 1,391:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:attr('class', 'collapsible collapsed')
Line 1,352 ⟶ 1,404:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 1,358 ⟶ 1,411:
:tag('td')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:css('font-weight', 'bold')
:wikitext(mol_funct_title)
Line 1,363 ⟶ 1,417:
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('div')
:attr('class', 'plainlinks')
Line 1,373 ⟶ 1,428:
:tag('td')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:css('font-weight', 'bold')
:wikitext(cell_comp_title)
Line 1,378 ⟶ 1,434:
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('div')
:attr('class', 'plainlinks')
Line 1,388 ⟶ 1,445:
:tag('td')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:css('font-weight', 'bold')
:wikitext(bio_process_title)
Line 1,393 ⟶ 1,451:
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('div')
:attr('class', 'plainlinks')
Line 1,404 ⟶ 1,463:
:tag('td')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:css('text-align', 'center')
:attr('colspan', '4')
Line 1,820 ⟶ 1,880:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:attr('class', 'collapsible')
Line 1,832 ⟶ 1,893:
:css('text-align', 'center')
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:wikitext(title)
:done() --end th
Line 1,839 ⟶ 1,901:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext("Species") --**lclz**
:done() --end th
Line 1,852 ⟶ 1,915:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(entrezTitle)
:done() --end th
Line 1,915 ⟶ 1,979:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(ensemblTitle)
:done() --end th
Line 1,978 ⟶ 2,043:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(uniprotTitle)
:done() --end th
Line 2,041 ⟶ 2,107:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(refseq_mRNATitle)
:done() --end th
Line 2,104 ⟶ 2,171:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(refseq_protTitle)
:done() --end th
Line 2,167 ⟶ 2,235:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(locTitle)
:done() --end th
Line 2,186 ⟶ 2,255:
:attr('scope', 'row')
:css('background-color', sideTitleBGcolor)
:css('color', 'inherit')
:wikitext(pubmedTitle)
:done() --end th
Line 2,214 ⟶ 2,284:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:css('padding', '0')
Line 2,222 ⟶ 2,293:
:tag('tr') --create title header
:css('background-color', titleBGcolor)
:css('color', 'inherit')
:css('text-align', 'center')
:tag('th')
Line 2,255 ⟶ 2,327:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:wikitext(text)
:done() --end td
Line 2,262 ⟶ 2,335:
:css('text-align', 'center')
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:tag('table')
:css('padding', '0')
Line 2,272 ⟶ 2,346:
:attr('colspan', link_no_hs)
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:css('text-align', 'center')
:wikitext(hs_link)
Line 2,278 ⟶ 2,353:
:attr('colspan', link_no_mm)
:css('background-color', rowBGcolor)
:css('color', 'inherit')
:css('text-align', 'center')
:wikitext(mm_link)
Line 2,294 ⟶ 2,370:
:attr('rowspan', '2')
:css('background-color', sideTitleBGcolor)
:css('background-color', 'transparentinherit')
:css('width', '43px')
:wikitext(label)