{| class="formtable"
! Species Name:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Species Name]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Species Name]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Species Name|autocomplete on property=Has Reference Taxon|restricted}}}
|-
! Gene Symbol:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Gene Symbol]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Gene Symbol]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
|{{{field|Gene Symbol|restricted}}}
|-
! Gene Name:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Gene Name]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Gene Name]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Gene Name|restricted}}}
|-
! Gene Locus:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Gene Locus]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Gene Locus]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Gene Locus|restricted}}}
|-
! Gene Type:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Gene Type]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Gene Type]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Gene Type|restricted}}}
|-
! EC Number(s):
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::EC Numbers]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::EC Numbers]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|EC Numbers|restricted|list|delimiter=,}}}
|-
! Chromosome:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Chromosome]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Chromosome]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
|{{{field|Chromosome|restricted}}}
|-
! Has Phenotype:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Has Phenotype]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Has Phenotype]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Has Phenotype|restricted}}}
|-
! Description:
| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]]
- [[Is Associated With Field::Annotation Description]]
- [[Is Associated With Template::Annotation]]
+ [[Is Associated With Field Or Object::Annotation Description]]
+ [[Is Associated With Category::Annotations]]
|?is_Provenance
}}
| {{{field|Annotation Description|restricted}}}
{{#if: {{#ask:[[Category:Publications]][[Is Associated With Annotations::~*{{PAGENAME}}* ]] OR [[Category:Reference Publications]][[Is Associated With Annotations::~*{{PAGENAME}}* ]] }}
| {{#ask:[[Category:Publications]][[Is Associated With Annotations::~*{{PAGENAME}}* ]] OR [[Category:Reference Publications]][[Is Associated With Annotations::~*{{PAGENAME}}* ]]
|? has First Author
+ |? has Publication Title
+ |? has Journal Name
|? has Publication ID
}}
|
# page id seeds, until I can figure out how to auto-increment w/in the import
# script
-my $SOURCE_TITLE_SEED = 2;
-my $ANNOT_TITLE_SEED = 21;
-my $PUB_TITLE_SEED = 7;
+my $SOURCE_TITLE_SEED = 1;
+my $ANNOT_TITLE_SEED = 1;
+my $PUB_TITLE_SEED = 1;
$Data::Dumper::Pad = "... ";
{
$writer->startTag("Page",Title=>"Publication:$pub_title_count");
$writer->startTag("Template",Name=>"Reference_Publication");
+ $writer->dataElement("Field", "PubMed", Name=>"Publication"); # TODO: replace hard-coded pub type w/ something dynamic
$writer->dataElement("Field", $ref_pub, Name=>"Publication ID");
my @annot_refs; # holds com-del string of annotation page references
foreach my $annot_ref (keys %{$ref_pubs{$ref_pub}})
{{Provenance Repeater
|Source=
|Source Accession ID=
-|Source Template=
-|Source Field=
+|Source Category=
+|Source Field or Object=
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly>{{#set_internal:is_Provenance
|has_Source={{{Source|}}}
|has_Source_Accession_ID={{{Source Accession ID|}}}
-|is_Associated_With_Field={{{Source Field|}}}
-|is_Associated_With_Template={{{Source Template|}}} }}
+|is_Associated_With_Field_Or_Object={{{Source Field or Object|}}}
+|is_Associated_With_Category={{{Source Category|}}} }}
{| class="wikitable"
! Source
| [[Has Source Accession ID::{{{Source Accession ID|}}}]]
|-
! Field
-| [[Is Associated With Field::{{{Source Field|}}}]] (''Template'': {{{Source Template|}}})
+| [[Is Associated With Field Or Object::{{{Source Field or Object|}}}]] (''Category'': {{{Source Category|}}})
|}<nowiki/></includeonly>