Difference between revisions of "Template:ChadoColumnDesc"

From GMOD
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>One of a series of templates used to render the generated [[Chado]] table descriptions in this wiki.
+
<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:
# Name of table that this column links too, if the column is a foreign key.
+
# 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]].
  
 
</noinclude>|-
 
</noinclude>|-
| {{ChadoTableLink|{{{1}}}}}
+
| {{{1}}}
 
| {{{2}}}
 
| {{{2}}}
 
| {{{3}}}
 
| {{{3}}}
 
| {{{4}}}
 
| {{{4}}}

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}}}