Template: Test area: Difference between revisions

From referenceTSS
Jump to: navigation, search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>[[Category:Sample pages]]
{{Loading|loadingimage=sprites.gif}}<noinclude>[[Category:Sample pages]]</noinclude>
This [[Help:Semantic templates|semantic template]] provides a simple way to simultaneously annotate a page with the property [[Property:Surface area|surface area]] and display its value in a standardized scientific notation.
<html><style>
table {
border-collapse:collapse;
}
.inner tr{
border-bottom-style: dotted;
border-bottom-width: thin;
}
.section_head{
font-weight: bold;
font-size: 16px;
font-style:;
}


Usage: this takes two parameters, the value of the area and the power of 10 for it,
.item_label {
for example <code><nowiki>{{Surface area|6.088|18}}</nowiki></code>
    text-align:left;
 
    width:60px;
It assumes the value is in square meters.
}
 
.item_label_long {
Here's the actual template "code": </noinclude>[[Test area::{{{param1}}}e{{{param2}}} m²|{{{param1}}} × 10<sup>{{{param2}}}</sup> m²]]
    text-align:left;
    width:200px;
    word-wrap:break-word;
}
.ttb {
    width:400px;
    word-wrap:break-word;
}
</style></html>
<span class="section_head">Basic information about the TSS</span>
<hr width="370px" size="2" style="text-align:left;margin-left:0" noshade>
<table width="370px"><tr><td>
<div style="width:42%; float:left;">
<table class="inner" >
<tr><th scope="row" class="item_label">TSS ID:</th><td>[[Tss id::{{{tss_id}}}]]</td></tr>
<tr><th scope="row" class="item_label">Species:</th><td>{{{species}}}</td></tr>
<tr><th scope="row" class="item_label">Chr:</th><td>{{{chr}}}</td></tr>
<tr><th scope="row" class="item_label">TSS Classification:</th><td>{{{tss_classification}}}</td></tr>
</table>
</div>
<div style="width:42%; float:right;margin-left:40px">
<table class="inner" >
<tr><th scope="row" class="item_label">Start:</th><td>{{{start}}}</td></tr>
<tr><th scope="row" class="item_label">End:</th><td>{{{end}}}</td></tr>
<tr><th scope="row" class="item_label">Strand:</th><td>{{{strand}}}</td></tr>
<tr><th scope="row" class="item_label">TSS Score:</th><td>{{{strand}}}</td></tr>
</table>
</div></td></tr>
</table>
<br/>
<br/>
<span class="section_head">Gene and protein annotation</span>
<hr width="270px" size="2" style="text-align:left;margin-left:0" noshade>
<table border="0" ><tr><td>
<div style="width:42%; float:left;">
<table class="inner" >
<tr><th scope="row" align="left">Transcript_name:</th><td>{{{transcript_name}}}</td></tr>
<tr><th scope="row" align="left">Distance:</th><td>{{{distance}}}</td></tr>
<tr><th scope="row" align="left">GeneID:</th><td>{{{gene_id}}}</td></tr>
<tr><th scope="row" align="left">HGNC/MGI_ID:</th><td>{{{hgnc_mgi_id}}}</td></tr>
<tr><th scope="row" align="left">UniProt_ID:</th><td>{{{uniprot_id}}}</td></tr>
</table></div>
<div style="width:42%; float:right;">
<table class="inner" >
<tr><th scope="row" align="left">Gene_name:</th><td>{{{gene_name}}}</td></tr>
<tr><th scope="row" align="left">Gene_symbol:</th><td>{{{gene_symbol}}}</td></tr>
<tr><th scope="row" align="left">Gene_synonyms:</th><td>{{{gene_synonyms}}}</td></tr>
<tr><th scope="row" align="left">Gene_source:</th><td>{{{gene_source}}}</td></tr>
</table>
</div></td></tr>
</table>
<br/>
<br/>
<span class="section_head">Transcript annotation</span>
<hr width="200px" size="2" style="text-align:left;margin-left:0" noshade>
<table class="inner" border="0" >
<tr><th scope="row" align="left">Transcript_name:</th><td>{{{transcript_name}}}</td></tr>
<tr><th scope="row" align="left">Distance:</th><td>{{{distance}}}</td></tr>
<tr><th scope="row" align="left">Num_trans:</th><td>{{{num_trans}}}</td></tr>
<tr><th scope="row" align="left">All_trans:</th><td>:{{{all_trans}}}</td></tr>
</table>
<br/>
<br/>
<span class="section_head">TATA-Box annotation</span>
<hr width="200px" size="2" style="text-align:left;margin-left:0" noshade>
<table class="inner" style="width: 600px;table-layout:fixed;">
<tr><th scope="row" class="item_label_long">Distance to TSS:</th><td class="ttb">{{{distance_to_tss}}}</td></tr>
<tr><th scope="row" class="item_label_long">Nearest PromoterID:</th><td class="ttb">{{{nearest_promoter_id}}}</td></tr>
<tr><th scope="row" class="item_label_long">Entrez ID:</th><td class="ttb">{{{entrez_id}}}</td></tr>
<tr><th scope="row" class="item_label_long">Nearest Unigene:</th><td class="ttb">{{{nearest_unigene}}}</td></tr>
<tr><th scope="row" class="item_label_long">Nearest Refseq:</th><td class="ttb">{{{nearest_refseq}}}</td></tr>
<tr><th scope="row" class="item_label_long">Nearest Ensembl:</th><td class="ttb">{{{nearest_ensembl}}}</td></tr>
<tr><th scope="row" class="item_label_long">Gene Name:</th><td class="ttb">{{{gene_name}}}</td></tr>
<tr><th scope="row" class="item_label_long">Gene Alias:</th><td class="ttb">{{{gene_alias}}}</td></tr>
<tr><th scope="row" class="item_label_long">Gene Description:</th><td class="ttb">{{{gene_description}}}</td></tr>
<tr><th scope="row" class="item_label_long">Gene Type:</th><td class="ttb">{{{gene_type}}}</td></tr>
<tr><th scope="row" class="item_label_long">CpG%:</th><td class="ttb">{{{cpg_percent}}}</td></tr>
<tr><th scope="row" class="item_label_long">GC%:</th><td class="ttb">{{{gc_percent}}}</td></tr>
<tr><th scope="row" class="item_label_long">TATA-Box(TBP)/Promoter/Homer Distance From TSS(sequence,strand,conservation):</th><td class="ttb">{{{tata_box}}}</td></tr>
</table>
[[Test area::{{{param1}}}e{{{param2}}} m²|{{{param1}}} × 10<sup>{{{param2}}}</sup> m²]]

Latest revision as of 13:34, 7 March 2018

Basic information about the TSS


TSS ID:{{{tss_id}}}
Species:{{{species}}}
Chr:{{{chr}}}
TSS Classification:{{{tss_classification}}}
Start:{{{start}}}
End:{{{end}}}
Strand:{{{strand}}}
TSS Score:{{{strand}}}



Gene and protein annotation


Transcript_name:{{{transcript_name}}}
Distance:{{{distance}}}
GeneID:{{{gene_id}}}
HGNC/MGI_ID:{{{hgnc_mgi_id}}}
UniProt_ID:{{{uniprot_id}}}
Gene_name:{{{gene_name}}}
Gene_symbol:{{{gene_symbol}}}
Gene_synonyms:{{{gene_synonyms}}}
Gene_source:{{{gene_source}}}



Transcript annotation


Transcript_name:{{{transcript_name}}}
Distance:{{{distance}}}
Num_trans:{{{num_trans}}}
All_trans::{{{all_trans}}}



TATA-Box annotation


Distance to TSS:{{{distance_to_tss}}}
Nearest PromoterID:{{{nearest_promoter_id}}}
Entrez ID:{{{entrez_id}}}
Nearest Unigene:{{{nearest_unigene}}}
Nearest Refseq:{{{nearest_refseq}}}
Nearest Ensembl:{{{nearest_ensembl}}}
Gene Name:{{{gene_name}}}
Gene Alias:{{{gene_alias}}}
Gene Description:{{{gene_description}}}
Gene Type:{{{gene_type}}}
CpG%:{{{cpg_percent}}}
GC%:{{{gc_percent}}}
TATA-Box(TBP)/Promoter/Homer Distance From TSS(sequence,strand,conservation):{{{tata_box}}}

{{{param1}}} × 10{{{param2}}}