Difference between revisions of "Template:ChadoTableDesc"

From GMOD
Jump to: navigation, search
m (Undo revision 15109 by Clements (Talk))
m
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
Example:
 
Example:
 
: <tt><nowiki>{{ChadoTableDesc|General|db|A database authority. Typical databases in bioinformatics are FlyBase, GO, UniProt, NCBI, MGI, etc. The authority is generally known by this shortened form, which is unique within the bioinformatics and biomedical realm. To Do - add support for URIs, URNs (e.g. LSIDs). We can do this by treating the URL as a URI - however, some applications may expect this to be resolvable - to be decided.}}</nowiki></tt>
 
: <tt><nowiki>{{ChadoTableDesc|General|db|A database authority. Typical databases in bioinformatics are FlyBase, GO, UniProt, NCBI, MGI, etc. The authority is generally known by this shortened form, which is unique within the bioinformatics and biomedical realm. To Do - add support for URIs, URNs (e.g. LSIDs). We can do this by treating the URL as a URI - however, some applications may expect this to be resolvable - to be decided.}}</nowiki></tt>
</noinclude>
+
----
 
+
</noinclude>{|
'''Module: {{ChadoModuleLink|{{{1}}}|{{{1}}}}}'''
+
| '''Table:'''
 
+
| {{ChadoTableName|{{{2}}}}}
{{ChadoTableName|{{{2}}}}} description from schema:
+
|-
<div class="indent">
+
| '''Module:'''
 +
| '''{{ChadoModuleLink|{{{1}}}|{{{1}}}}}'''
 +
|}
 
{{{3}}}
 
{{{3}}}
</div>
 

Latest revision as of 23:40, 10 December 2010

This template is used in the generated Chado table descriptions. It displays the table description that comes from withing the PostgreSQL table comment.

Parameters:

  1. Chado module name
  2. Table name
  3. Description from SQL.

Example:

{{ChadoTableDesc|General|db|A database authority. Typical databases in bioinformatics are FlyBase, GO, UniProt, NCBI, MGI, etc. The authority is generally known by this shortened form, which is unique within the bioinformatics and biomedical realm. To Do - add support for URIs, URNs (e.g. LSIDs). We can do this by treating the URL as a URI - however, some applications may expect this to be resolvable - to be decided.}}

Table: {{{2}}}
Module: [[Chado {{{1}}} Module|{{{1}}}]]

{{{3}}}