|Species ID=
|Gene Symbol=
|Gene Name=
+|Gene Locus=
|Gene Type=
|EC Number(s)=
|Chromosome=
}}
</pre>
Edit the page to see the template text.
-</noinclude><includeonly>
+</noinclude><includeonly>__NOTOC__
+<font size=6 color="#67536c">'''[[Has Gene Symbol::{{{Gene Symbol|}}}]] (''[[Has Species Name::{{{Species Name|}}}]]'')'''</font>
-__NOTOC__
-<font size=6>'''[[Has Gene Symbol::{{{Gene Symbol|}}}]] (''[[Has Species Name::{{{Species Name|}}}]]'')'''</font>
+{{#get_web_data:
+ |url=http://eutils.ncbi.nlm.nih.gov/entrez/eutils//esearch.fcgi?db=taxonomy&term={{{Species Name|}}}
+ |format=XML
+ |data=species_id=id
+}}
+{{#set:Has Species ID={{#external_value:species_id}} }}
= Annotation =
| [[Has Species Name::{{{Species Name|}}}]]
|-
! Species ID
-| [[Has Species ID::{{{Species ID|}}}]]
+| NCBI:[[Has Species ID::{{#external_value:species_id}}]]
|-
! Gene Symbol
| [[Has Gene Symbol::{{{Gene Symbol|}}}]]
|-
! Gene Synonyms
| {{#if: {{#ask:[[Category:Gene_Synonyms]][[Is Associated With Annotation::{{PAGENAME}} ]] }}
- | {{#ask:[[Is Gene Synonym Pair::~{{PAGENAME}}/Gene_Synonyms]]
+ | {{#ask:[[Category:Gene_Synonyms]][[Is Associated With Annotation::{{PAGENAME}}]]
| ?is_Gene_Synonym
| headers=hide
| mainlabel=-
| None available
}}
|-
+! Gene Locus
+| [[Has Gene Locus::{{{Gene Locus|}}}]]
+|-
! Gene Type
| [[Has Gene Type::{{{Gene Type|}}}]]
|-
--- /dev/null
+<noinclude>
+This is the "External Reference Repeater" template.
+It should be called in the following format:
+<pre>
+{{External Reference Repeater
+|External Source=
+|External Accession ID=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>{{#set_internal:is_External_Reference
+|from_External_Source={{{External Source|}}}
+|has_External_Accession_ID={{{External Accession ID|}}}
+}}
+
+{| class="wikitable"
+! Source
+| [[From External Source::{{{External Source|}}}]]
+|-
+! Accession ID
+| [[Has External Accession ID::{{{External Accession ID|}}}]]
+|}
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "External References" template.
+It should be called in the following format:
+<pre>
+{{External References
+|Annotation Page=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Annotation Page
+| [[Is Associated With Annotation::{{{Annotation Page|}}}]]
+|}
+
+[[Category:External References]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Gene Synonym Repeater" template.
+It should be called in the following format:
+<pre>
+{{Gene Synonym Repeater
+|Gene Synonym=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>{| class="wikitable"
+! Gene Synonym
+| [[Is Gene Synonym::{{{Gene Synonym|}}}]]
+|}<nowiki/></includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Gene Synonyms" template.
+It should be called in the following format:
+<pre>
+{{Gene Synonyms
+|Annotation Page=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Annotation Page
+| [[Is Associated With Annotation::{{{Annotation Page|}}}]]
+|-
+! Gene Name
+| {{#show: {{{Annotation Page|}}}|?has_Gene_Name}}
+|}
+
+[[Category:Gene Synonyms]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Ontological Reference Repeater" template.
+It should be called in the following format:
+<pre>
+{{Ontological Reference Repeater
+|Ontology=
+|Term ID=
+|Term Name=
+|Aspect=
+|Evidence Code=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{{#set_internal:is_Ontological_Reference
+|from_Ontology={{{Ontology|}}}
+|has_Term_ID={{{Term ID|}}}
+|has_Term_Name={{{Term Name|}}}
+|has_Aspect={{{Aspect|}}}
+}}
+{| class="wikitable"
+! Ontology
+| [[From Ontology::{{{Ontology|}}}]]
+|-
+! Term Name
+| [[Has Term Name::{{{Term Name|}}}]]
+|-
+! Term ID
+| [[Has Term ID::{{{Term ID|}}}]]
+|-
+! Branch
+| [[Has Aspect::{{{Aspect|}}}]]
+|-
+! Evidence Code
+| [[Has Evidence Code::{{{Evidence Code|}}}]]
+|}
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Ontological References" template.
+It should be called in the following format:
+<pre>
+{{Ontological References
+|Annotation Page=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Annotation Page
+| [[Is Associated With Annotation::{{{Annotation Page|}}}]]
+|}
+
+[[Category:Ontological References]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Plant Ontology Reference Repeater" template.
+It should be called in the following format:
+<pre>
+{{Plant Ontology Reference Repeater
+|Term ID=
+|Term Name=
+|Aspect=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>{{#get_web_data:
+ |url=http://dev.planteome.org/w/prototyping/TermSearch_JSON.php?user=paw&field=name&type=term_detail&qval={{{Term Name|}}}&format=json
+ |format=JSON
+ |data=term_id=id,term_aspect=aspect,term_definition=definition,term_comment=comment
+}}
+{{#set_internal:is_Ontological_Reference
+|from_Ontology=Plant Ontology
+|has_Term_ID={{#external_value:term_id}}
+|has_Term_Name={{{Term Name|}}}
+|has_Aspect={{#external_value:term_aspect}}
+}}
+{| class="wikitable"
+! Ontology
+| Plant Ontology
+|-
+! Term Name
+| [[Has Term Name::{{{Term Name|}}}]]
+|-
+! Term ID
+| [[Has Term ID::{{#external_value:term_id}}]]
+|-
+! Branch
+| {{#external_value:term_aspect}}
+|-
+! Definition
+| {{#external_value:term_definition}}
+|}
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Provenance" template.
+It should be called in the following format:
+<pre>
+{{Provenance
+|Annotation Page=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Annotation
+| [[Is Associated With Annotation::{{{Annotation Page|}}}]]
+|}
+
+[[Category:Provenance]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Provenance Repeater" template.
+It should be called in the following format:
+<pre>
+{{Provenance Repeater
+|Source=
+|Source Accession ID=
+|Source Template=
+|Source Field=
+}}
+</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|}}} }}
+
+{| class="wikitable"
+! Source
+| [[Has Source::{{{Source|}}}]]
+|-
+! Accession ID
+| [[Has Source Accession ID::{{{Source Accession ID|}}}]]
+|-
+! Field
+| [[Is Associated With Field::{{{Source Field|}}}]] (''Template'': {{{Source Template|}}})
+|}<nowiki/></includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Publication" template.
+It should be called in the following format:
+<pre>
+{{Publication
+|Publication=
+|Publication ID=
+|Publication Title=
+|First Author=
+|Journal Name=
+|Volume=
+|Year=
+|Pages=
+|Annotation References=
+|New Annotation Reference=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Publication
+| [[Has Publication Type::{{{Publication|}}}]]
+|-
+! Publication Identifier
+| [[Has Publication ID::{{{Publication ID|}}}]]
+|-
+! Publication Title
+| [[Has Publication Title::{{{Publication Title|}}}]]
+|-
+! First Author
+| [[Has First Author::{{{First Author|}}}]]
+|-
+! Journal Name
+| [[Has Journal Name::{{{Journal Name|}}}]]
+|-
+! Volume
+| [[Has Publication Volume::{{{Volume|}}}]]
+|-
+! Year
+| [[Has Publication Year::{{{Year|}}}]]
+|-
+! Pages
+| [[Has Publication Pages::{{{Pages|}}}]]
+|-
+! Annotation References
+| {{#arraymap:{{{Annotation References|}}}|,|x|[[Is Associated With Annotations::x]]}}
+|-
+! New Annotation Reference (to be hidden)
+| [[Has New Annotation Association::{{{New Annotation Reference|}}}]]
+|}
+
+[[Category:Publications]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Reference Publication" template.
+It should be called in the following format:
+<pre>
+{{Reference Publication
+|Publication=
+|Publication ID=
+|Publication Title=
+|First Author=
+|Journal Name=
+|Volume=
+|Year=
+|Pages=
+|Annotation References=
+|New Annotation Reference=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+
+{{#get_web_data:
+url=http://dev.planteome.org/w/prototyping/NCBI_eDocSummary.php?pub_id={{{Publication ID|}}}
+|format=XML
+|data=pub_id=Id,year=PubDate,first_author=LastAuthor,journal_name=FullJournalName,title=Title,volume=Volume,pages=Pages
+}}
+
+{| class="wikitable"
+! Publication
+| [[Has Publication Type::{{{Publication|}}}]]
+|-
+! Publication Identifier
+| [[Has Publication ID::{{{Publication ID|}}}]]
+|-
+! Publication Title
+| [[Has Publication Title::{{#for_external_table:{{{title}}} }}]]
+|-
+! First Author
+| [[Has First Author::{{#for_external_table:{{{first_author}}} }}]]
+|-
+! Journal Name
+| [[Has Journal Name::{{#for_external_table:{{{journal_name}}} }}]]
+|-
+! Volume
+| [[Has Publication Volume::{{#for_external_table:{{{volume}}} }}]]
+|-
+! Year
+| [[Has Publication Year::{{#for_external_table:{{{year}}} }}]]
+|-
+! Pages
+| [[Has Publication Pages::{{#for_external_table:{{{pages}}} }}]]
+|-
+! Annotation References
+| {{#arraymap:{{{Annotation References|}}}|,|x|[[Is Associated With Annotations::x]]}}
+|-
+! New Annotation Reference (to be hidden)
+| [[Has New Annotation Association::{{{New Annotation Reference|}}}]]
+|}
+
+[[Category:Reference Publications]]
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Sequence Repeater" template.
+It should be called in the following format:
+<pre>
+{{Sequence Repeater
+|Sequence Type=
+|Sequence Source=
+|External Accession ID=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>{{#set_internal:is_Sequence_Reference
+|has_Sequence_Type={{{Sequence Type}}}
+|has_Sequence_Source={{{Sequence Source|}}}
+|has_External_Accession_ID={{{External Accession ID|}}}
+}}
+{| class="wikitable"
+! Sequence Type
+| [[Has Sequence Type::{{{Sequence Type|}}}]]
+|-
+! Sequence Source
+| [[Has Sequence Source::{{{Sequence Source|}}}]]
+|-
+! Accession ID
+| [[Has External Accession ID::{{{External Accession ID|}}}]]
+|}
+</includeonly>
+
--- /dev/null
+<noinclude>
+This is the "Sequences" template.
+It should be called in the following format:
+<pre>
+{{Sequences
+|Annotation Page=
+}}
+</pre>
+Edit the page to see the template text.
+</noinclude><includeonly>
+{| class="wikitable"
+! Annotation Page
+| [[Is Associated With Annotation::{{{Annotation Page|}}}]]
+|}
+
+[[Category:Sequences]]
+</includeonly>
+
It should be called in the following format:
<pre>
{{Source
-|Accession ID=
|Source Date Stamp=
|Source Database=
|Source Version=
Edit the page to see the template text.
</noinclude><includeonly>
{| class="wikitable"
-! Accession ID
-| [[Has Accession ID::{{{Accession ID|}}}]]
-|-
! Release Date
| [[Has Date Stamp::{{{Source Date Stamp|}}}]]
|-