Difference between revisions of "Template:ChadoColumnDesc"

From GMOD
Jump to: navigation, search
m
m
 
Line 1: Line 1:
<noinclude>One of a series of templates used to render the generated [[Chado]] table descriptions in this wiki.  This template generates a description of a '''non-foreign key'' column as a mediawiki table row. See [[Template:ChadoFKColumnDesc]] for how an FK column description is generated.
+
<noinclude>One of a series of templates used to render the generated [[Chado]] table descriptions in this wiki.  This template generates a description of a column as a MediaWiki table row.
 
+
 
Parameters:
 
Parameters:
# Always empty.  This has a value in the [[Template:ChadoFKColumnDesc]] version.
+
# If this column is a foreign key, then this is the name of the table this column comes from.  This is usually passed in wrapped inside the [[Template:ChadoTableLink|ChadoTableLink template]].   If this is not a foreign key column, then this parameter is empty. 
 
# Datatype of column.
 
# Datatype of column.
 
# Description of column.  This starts with database constraints such as PK, AK, and so on, and then contains the verbal description of the column from within [[PostgreSQL]].
 
# Description of column.  This starts with database constraints such as PK, AK, and so on, and then contains the verbal description of the column from within [[PostgreSQL]].

Latest revision as of 21:42, 19 November 2010

One of a series of templates used to render the generated Chado table descriptions in this wiki. This template generates a description of a column as a MediaWiki table row. Parameters:

  1. If this column is a foreign key, then this is the name of the table this column comes from. This is usually passed in wrapped inside the ChadoTableLink template. If this is not a foreign key column, then this parameter is empty.
  2. Datatype of column.
  3. Description of column. This starts with database constraints such as PK, AK, and so on, and then contains the verbal description of the column from within PostgreSQL.

|- | {{{1}}} | {{{2}}} | {{{3}}} | {{{4}}}