Difference between revisions of "Form:Ontological Topic"
Jump to navigation
Jump to search
(Undo revision 16825 by Hakob Barseghyan (talk)) Tag: Undo |
|||
Line 13: | Line 13: | ||
-->{{#vardefine: varTerm|{{#urldecode:{{#urlget:Term|}}}}|}}<!-- | -->{{#vardefine: varTerm|{{#urldecode:{{#urlget:Term|}}}}|}}<!-- | ||
-->{{#if: {{IfObjectExists|category=Definitional Topic|object={{#var: varTerm}}|}}<!-- | -->{{#if: {{IfObjectExists|category=Definitional Topic|object={{#var: varTerm}}|}}<!-- | ||
− | -->| | + | -->|<!-- all good |
− | -->|{{#vardefine: | + | -->|{{#vardefine: varTerm|{{#show:{{FULLPAGENAME}}|?Term|link=none}}|}}<!-- term is not given in the URL: retrieve current value |
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
-->{{#vardefine: varQuestionType|{{#urldecode:{{#urlget:QuestionType|}}}}|}}<!-- | -->{{#vardefine: varQuestionType|{{#urldecode:{{#urlget:QuestionType|}}}}|}}<!-- | ||
+ | -->{{#if: {{#var: varQuestionType}}<!-- | ||
+ | -->|<!-- all good | ||
+ | -->|{{#vardefine: varQuestionType|{{#show:{{FULLPAGENAME}}|?Ontological Question Type|link=none}}|}}<!-- question type is not given in the URL: retrieve current value | ||
+ | -->}}<!-- | ||
--><!-- | --><!-- | ||
--> | --> | ||
Line 25: | Line 29: | ||
{| class="formtable" | {| class="formtable" | ||
!width="30%"| Term: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term (class) is this ontological question about? If the term is not in the list, please first add it in the Definitional Topic category.</p> | !width="30%"| Term: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">What term (class) is this ontological question about? If the term is not in the list, please first add it in the Definitional Topic category.</p> | ||
− | |width="70%" | + | |width="70%"|{{#var:varTerm|}} {{{field|Term|hidden|default={{#var:varTerm|}}|}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! Question Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Ontological questions can concern the existence of the a class, its subtypes or supertypes, or its associations (aggregation, composition).</p> | ! Question Type: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Ontological questions can concern the existence of the a class, its subtypes or supertypes, or its associations (aggregation, composition).</p> | ||
− | + | |{{#var:varQuestionType|}} {{{field|Ontological Question Type|hidden|default={{#var:varQuestionType|}}|}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide some detail here and explain the importance of the question at issue. This section can include the usual wiki markup.</p> | ! Description: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Provide some detail here and explain the importance of the question at issue. This section can include the usual wiki markup.</p> |
Revision as of 18:20, 17 December 2022
This is the form used to create/edit all ontological questions - those of existence of X, subtypes/supertypes of X, and associations of X. it expects the following parameters passed onto the query string in the following format:
query string= Term= //the name of the term & QuestionType= // the type of the question from this list {Existence,Subtypes,Supertypes,Associations}