Provenance Page Test: {{#ask: [[Is Provenance::~Annotation:1/Provenance* ]] }}
-Specific Gene-Synonym Pair test:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
- [[Is Gene Synonym::Gene Synonym 1]]
- [[Is Associated With Gene Name::Gene Name 1]]
- |link=none
-}}
-
-Provenance for Specific Synonym (Test): {{#ask: [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]][[Is Associated With Field::Annotation:1/Gene Synonyms#1 ]] }}
-
-Gene Synonym Page Request: {{#ask: [[Is Gene Synonym Pair::{{PAGENAME}} ]] }}
-
-Gene Synonym Pair:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
- [[Is Gene Synonym::Gene Synonym 1]]
- [[Is Associated With Gene Name::Gene Name 1]]|link=none
-}}
-
-Provenance for Specific Synonym (subquery):
-{{#ask:
- [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]]
- [[Is Associated With Field::{{#ask:
- [[Is Gene Synonym Pair::{{PAGENAME}}]]
- [[Is Gene Synonym::Gene Synonym 2]]
- [[Is Associated With Gene Name::Gene Name 1]]
- |link=none
- }}
- ]]
-}}
-
-Synonym: {{#show: {{PAGENAME}}#2 | ?Is Gene Synonym Pair}}
+{{#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}}}
+ }}
-Specific Gene-Synonym Pair test:
-{{#ask: [[Is Gene Synonym Pair::{{PAGENAME}}]]
- [[Is Gene Synonym::Gene Synonym 2]]
- [[Is Associated With Gene Name::Gene Name 1]]
- |link=none
+Provenance for Specific Synonym (Test): {{#ask:
+ [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation}}/Provenance*]]
+ [[Is Associated With Field::~Gene Synonym:*]]
+ [[Is Associated With Template::Gene Synonym Repeater]]
+ |link=none
}}
------------------------------
-
{{#if:
{{#ask:
- [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation|link=none}}/Provenance*]]
- [[Is Associated With Field::{{#ask:
- [[Is Gene Synonym Pair::{{PAGENAME}}]]
- [[Is Gene Synonym::Gene Synonym 1]]
- [[Is Associated With Gene Name::Gene Name 1]]
- |link=none
- }}
- ]]
+ [[Is Provenance::~{{#show:{{PAGENAME}}|?Is Associated With Annotation}}/Provenance*]]
+ [[Is Associated With Field::~Gene Synonym:*]]
+ [[Is Associated With Template::Gene Synonym Repeater]]
+ |?is_Provenance
+ }}
+ |'''Gene Synonym:''' {{{field|Gene Synonym|restricted}}}
+ |'''Gene Synonym:''' {{{field|Gene Synonym}}}
}}
- |'''Gene Name:''' {{{field|Gene Name|autocomplete on property=has_Gene_Name|restricted}}}
-'''Gene Synonym:''' {{{field|Gene Synonym|restricted}}}
- |'''Gene Name:''' {{{field|Gene Name|autocomplete on property=has_Gene_Name}}}
-'''Gene Synonym:''' {{{field|Gene Synonym}}}
-}}
----------------------------->