Difference between revisions of "Form:Topic"
Jump to navigation
Jump to search
Line 65: | Line 65: | ||
-->{{#if: {{#var: varInheritedFrom}}<!-- | -->{{#if: {{#var: varInheritedFrom}}<!-- | ||
-->|<!-- | -->|<!-- | ||
+ | -->{{#vardefine: varHeritable|No}}<!-- | ||
-->{{#vardefine: varTopicType|{{#show:{{#var: varInheritedFrom}}|?Topic Type|link=none}}|}}<!-- | -->{{#vardefine: varTopicType|{{#show:{{#var: varInheritedFrom}}|?Topic Type|link=none}}|}}<!-- | ||
-->{{#vardefine: varSubfield|{{#show:{{#var: varInheritedFrom}}|?Subfield|link=none}}|}}<!-- | -->{{#vardefine: varSubfield|{{#show:{{#var: varInheritedFrom}}|?Subfield|link=none}}|}}<!-- | ||
Line 70: | Line 71: | ||
-->{{#vardefine: varObjectClass|{{#show:{{#var: varInheritedFrom}}|?Object Class|link=none}}|}}<!-- | -->{{#vardefine: varObjectClass|{{#show:{{#var: varInheritedFrom}}|?Object Class|link=none}}|}}<!-- | ||
-->{{#vardefine: varPredicate|{{#show:{{#var: varInheritedFrom}}|?Predicate|link=none}}|}}<!-- | -->{{#vardefine: varPredicate|{{#show:{{#var: varInheritedFrom}}|?Predicate|link=none}}|}}<!-- | ||
− | |||
-->{{#vardefine: varQuestionTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Question Title Formula|link=none}}|}}<!-- | -->{{#vardefine: varQuestionTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Question Title Formula|link=none}}|}}<!-- | ||
− | -->{{#vardefine: | + | -->{{#vardefine: varQuestionTextFormula|{{#show:{{#var: varInheritedFrom}}|?Question Text Formula|link=none}}|}}<!-- |
+ | -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{#var: varQuestionTextFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{#var: varObjectClass}}|}}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
Line 139: | Line 140: | ||
|width="70%"|<!-- | |width="70%"|<!-- | ||
-->{{#if: {{#var: varInheritedFrom}}<!-- | -->{{#if: {{#var: varInheritedFrom}}<!-- | ||
− | -->| | + | -->| {{#var: varQuestion}} {{{field|Question|hidden|default={{#var: varQuestion}}|}}}<!-- |
− | |||
− | |||
-->| {{{field|Question|input type=textarea|rows=4|mandatory}}}<!-- | -->| {{{field|Question|input type=textarea|rows=4|mandatory}}}<!-- | ||
-->}}<!-- | -->}}<!-- |
Revision as of 17:51, 19 January 2023
This is the form that is used to create/edit all non-definitional topics - descriptive or normative. The form requires that a subject is specified. It should be called exclusively from the definitional topic pages to ensure that all topics have a subject.
To create definitional topics, use Form:Definitional Topic.
NOTE: The form is a work in progress.
query string= Topic[Subject]= //the subject. Mandatory. Should be a page registered in the encyclopedia. & Topic[Topic Type]= //the topic type {Descriptive, Normative}. For definitional topics, use the form [[Form:Definitional Topic]] & Topic[Subfield]= //the subfield {Ontology, Dynamics, ???}. & Topic[Inherited From]= //the question from which this question is inherited (if any).