From: preecej Date: Fri, 29 Jul 2011 23:32:24 +0000 (+0000) Subject: Latest version of paw forms, just before migration to Test env. X-Git-Url: http://gitweb.planteome.org/?a=commitdiff_plain;h=99715e0f493a2ade1221bc31adecaf478783122d;p=old-jaiswallab-svn%2F.git Latest version of paw forms, just before migration to Test env. svn path=/; revision=131 --- diff --git a/preecej/semantic_wiki/forms/Annotation.wiki b/preecej/semantic_wiki/forms/Annotation.wiki index 012dc1b..950381c 100644 --- a/preecej/semantic_wiki/forms/Annotation.wiki +++ b/preecej/semantic_wiki/forms/Annotation.wiki @@ -8,66 +8,119 @@ if a page with that name already exists, you will be sent to a form to edit that {{{info|page name=Annotation:}}} __NOTOC__ {{#ifexist: {{PAGENAME}} - |'''{{#show:{{PAGENAME}}|?has_Gene_Symbol}} (''{{#show:{{PAGENAME}}|?has_Species_Name}}'')''' + |'''{{#show:{{PAGENAME}}|?has_Gene_Symbol}} (''{{#show:{{PAGENAME}}|?has_Species_Name}}'')''' | }} + = Annotation = {{{for template|Annotation}}} {| class="formtable" ! Species Name: -| {{{field|Species Name}}} -|- -! Species ID: -| {{{field|Species ID}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Species Name]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Species Name|restricted}}} + | {{{field|Species Name|autocomplete on property=Has Reference Taxon}}} + }} |- ! Gene Symbol: -| {{#if: {{#ask: [[Is Provenance::~Annotation:1/Provenance*]] +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] [[Is Associated With Field::Gene Symbol]] [[Is Associated With Template::Annotation]] - |?has_Provenance + |?is_Provenance }} |{{{field|Gene Symbol|restricted}}} |{{{field|Gene Symbol}}} }} |- ! Gene Name: -| {{{field|Gene Name}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Gene Name]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Gene Name|restricted}}} + | {{{field|Gene Name}}} + }} |- ! Gene Synonyms: -| {{#if: {{#ask:[[Category:Gene_Synonyms]][[Is Associated With Annotation::{{PAGENAME}} ]] }} - | {{#ask:[[Is Gene Synonym Pair::~{{PAGENAME}}/Gene_Synonyms]] - | ?is_Gene_Synonym - | headers=hide - | mainlabel=- - | format=list - }} {{#formlink:form=Gene_Synonyms|link text=Edit|link type=button|target={{PAGENAME}}/Gene_Synonyms }} - | {{#formlink:form=Gene_Synonyms|link text=Add Synonyms|link type=button|query string=Gene_Synonyms[Annotation Page]={{PAGENAME}}&super_page={{PAGENAME}} }} +| {{#ifexist: {{PAGENAME}} + | {{#if: {{#ask:[[Category:Gene_Synonyms]][[Is Associated With Annotation::{{PAGENAME}} ]] }} + | {{#ask:[[Category:Gene_Synonyms]][[Is Associated With Annotation::{{PAGENAME}} ]] + | ?is_Gene_Synonym + | headers=hide + | mainlabel=- + | format=list + }} {{#formlink:form=Gene_Synonyms|link text=Edit|link type=button|target={{PAGENAME}}/Gene_Synonyms }} + | {{#formlink:form=Gene_Synonyms|link text=Add Synonyms|link type=button|query string=Gene_Synonyms[Annotation Page]={{PAGENAME}}&super_page={{PAGENAME}} }} + }} + | To add gene synonyms, first save your basic annotation information on this "Annotation" tab. }} |- +! Gene Locus: +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Gene Locus]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Gene Locus|restricted}}} + | {{{field|Gene Locus}}} + }} +|- ! Gene Type: -| {{{field|Gene Type}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Gene Type]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Gene Type|restricted}}} + | {{{field|Gene Type}}} + }} |- ! EC Number(s): -| {{{field|EC Numbers|list|delimiter=,}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::EC Numbers]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|EC Numbers|restricted|list|delimiter=,}}} + | {{{field|EC Numbers|list|delimiter=,}}} + }} |- ! Chromosome: -| {{#if: {{#ask: [[Is Provenance::~Annotation:1/Provenance*]] +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] [[Is Associated With Field::Chromosome]] [[Is Associated With Template::Annotation]] - |?has_Provenance + |?is_Provenance }} |{{{field|Chromosome|restricted}}} |{{{field|Chromosome}}} }} |- ! Has Phenotype: -| {{{field|Has Phenotype}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Has Phenotype]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Has Phenotype|restricted}}} + | {{{field|Has Phenotype}}} + }} |- ! Description: -| {{{field|Annotation Description}}} +| {{#if: {{#ask: [[Is Provenance::~{{PAGENAME}}/Provenance*]] + [[Is Associated With Field::Annotation Description]] + [[Is Associated With Template::Annotation]] + |?is_Provenance + }} + | {{{field|Annotation Description|restricted}}} + | {{{field|Annotation Description}}} + }} |} {{{end template}}} diff --git a/preecej/semantic_wiki/forms/External_References.wiki b/preecej/semantic_wiki/forms/External_References.wiki new file mode 100644 index 0000000..4796ba6 --- /dev/null +++ b/preecej/semantic_wiki/forms/External_References.wiki @@ -0,0 +1,31 @@ + +This is the "External References" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=External References}} + + + +{{{info|page name=External_References}}} + +{{{for template|External References}}} +{| class="formtable" +! Annotation Page: +| {{{field|Annotation Page}}} +|} +{{{end template}}} + +{{{for template|External Reference Repeater|multiple}}} +'''Source:''' {{{field|External Source}}} +'''Accession ID:''' {{{field|External Accession ID}}} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Gene_Synonyms.wiki b/preecej/semantic_wiki/forms/Gene_Synonyms.wiki new file mode 100644 index 0000000..b179b05 --- /dev/null +++ b/preecej/semantic_wiki/forms/Gene_Synonyms.wiki @@ -0,0 +1,100 @@ + +This is the "Gene Synonyms" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + +{{#forminput:form=Gene Synonyms}} + + + +{{{info|page name=Gene_Synonyms}}} + +{{{for template|Gene Synonyms}}} +{| class="formtable" +! Annotation Page: +| {{{field|Annotation Page}}} +|} +{{{end template}}} + +{{{for template|Gene Synonym Repeater|multiple}}} + + + +'''Gene Synonym:''' {{{field|Gene Synonym}}} + + + +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Ontological_References.wiki b/preecej/semantic_wiki/forms/Ontological_References.wiki new file mode 100644 index 0000000..a4ddcb6 --- /dev/null +++ b/preecej/semantic_wiki/forms/Ontological_References.wiki @@ -0,0 +1,40 @@ + +This is the "Ontological References" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=Ontological References}} + + + +{{{info|page name=Ontologies}}} + +{{{for template|Ontological References}}} +{| class="formtable" +! Annotation Page: +| {{{field|Annotation Page}}} +|} +{{{end template}}} + +=== Plant Ontology === +{{{for template|Plant Ontology Reference Repeater|multiple}}} +'''Term Name:''' {{{field|Term Name|autocomplete from url=remote_PO_terms}}} +{{{end template}}} + +=== Other Ontologies === +{{{for template|Ontological Reference Repeater|multiple}}} +'''Ontology:''' {{{field|Ontology|}}} +'''Term Name:''' {{{field|Term Name|}}} +'''Term ID:''' {{{field|Term ID|}}} +'''Branch:''' {{{field|Aspect|}}} +
'''Evidence Code:''' {{{field|Evidence Code|}}} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} +
+ diff --git a/preecej/semantic_wiki/forms/Provenance.wiki b/preecej/semantic_wiki/forms/Provenance.wiki new file mode 100644 index 0000000..e2a16c8 --- /dev/null +++ b/preecej/semantic_wiki/forms/Provenance.wiki @@ -0,0 +1,32 @@ + +This is the "Provenance" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + +{{#forminput:form=Provenance}} + + + +{{{info|page name=Provenance}}} + +{{{for template|Provenance}}} +{| class="formtable" +! Annotation Page: +| {{{field|Annotation Page}}} +|} +{{{end template}}} + +{{{for template|Provenance Repeater|multiple}}} +'''Field:''' {{{field|Source Field}}} +'''Template:''' {{{field|Source Template}}} +'''Accession ID:''' {{{field|Source Accession ID}}} +'''Source:''' {{{field|Source}}} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Publication.wiki b/preecej/semantic_wiki/forms/Publication.wiki new file mode 100644 index 0000000..b86c6e8 --- /dev/null +++ b/preecej/semantic_wiki/forms/Publication.wiki @@ -0,0 +1,55 @@ + +This is the "Publication" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=Publication}} + + + +{{{info|page name=Publication:}}} +{{{for template|Publication}}} + +{{#set:Annotation References={{{Annotation References|}}}, {{{New Annotation Reference|}}} }} + +{| class="formtable" +! Publication: +| {{{field|Publication}}} +|- +! Publication ID: +| {{{field|Publication ID}}} +|- +! Publication Title: +| {{{field|Publication Title}}} +|- +! First Author: +| {{{field|First Author}}} +|- +! Journal Name: +| {{{field|Journal Name}}} +|- +! Volume: +| {{{field|Volume}}} +|- +! Year: +| {{{field|Year}}} +|- +! Pages: +| {{{field|Pages}}} +|- +! Annotation References: +| {{{field|Annotation References}}} +|- +! New Annotation Reference (to be hidden): +| {{{field|New Annotation Reference}}} +|} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Reference_Publication.wiki b/preecej/semantic_wiki/forms/Reference_Publication.wiki new file mode 100644 index 0000000..f358e5f --- /dev/null +++ b/preecej/semantic_wiki/forms/Reference_Publication.wiki @@ -0,0 +1,52 @@ + +This is the "Reference Publication" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=Reference Publication}} + + + +{{{info|page name=Publication:}}} +{{{for template|Reference Publication}}} +{| class="formtable" +! Publication: +| {{{field|Publication}}} +|- +! Publication ID: +| {{{field|Publication ID}}} +|- +! Publication Title: +| {{{field|Publication Title|hidden}}} +|- +! First Author: +| {{{field|First Author|hidden}}} +|- +! Journal Name: +| {{{field|Journal Name|hidden}}} +|- +! Volume: +| {{{field|Volume|hidden}}} +|- +! Year: +| {{{field|Year|hidden}}} +|- +! Pages: +| {{{field|Pages|hidden}}} +|- +! Annotation References: +| {{{field|Annotation References}}} +|- +! New Annotation Reference (to be hidden): +| {{{field|New Annotation Reference}}} +|} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Sequences.wiki b/preecej/semantic_wiki/forms/Sequences.wiki new file mode 100644 index 0000000..e2127df --- /dev/null +++ b/preecej/semantic_wiki/forms/Sequences.wiki @@ -0,0 +1,32 @@ + +This is the "Sequences" form. +To create a page with this form, enter the page name below; +if a page with that name already exists, you will be sent to a form to edit that page. + + +{{#forminput:form=Sequences}} + + + +{{{info|page name=Sequences}}} + +{{{for template|Sequences}}} +{| class="formtable" +! Annotation Page: +| {{{field|Annotation Page}}} +|} +{{{end template}}} + +{{{for template|Sequence Repeater|multiple}}} +'''Sequence Type:''' {{{field|Sequence Type}}} +'''Sequence Source:''' {{{field|Sequence Source}}} +'''Accession ID:''' {{{field|External Accession ID}}} +{{{end template}}} + +{{{standard input|summary}}} + +{{{standard input|watch}}} + +{{{standard input|save}}} {{{standard input|changes}}} {{{standard input|cancel}}} + + diff --git a/preecej/semantic_wiki/forms/Source.wiki b/preecej/semantic_wiki/forms/Source.wiki index 2dc68a0..62f26d6 100644 --- a/preecej/semantic_wiki/forms/Source.wiki +++ b/preecej/semantic_wiki/forms/Source.wiki @@ -12,9 +12,6 @@ if a page with that name already exists, you will be sent to a form to edit that {{{for template|Source}}} {| class="formtable" -! Accession ID: -| {{{field|Accession ID}}} -|- ! Source Date Stamp: | {{{field|Source Date Stamp}}} |-