Difference between revisions of "Form:Topic"
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
− | --><!-- get | + | --><!-- get other values |
-->{{#vardefine: varQuestionTitle|{{#show:{{FULLPAGENAME}}|?Question Title|link=none}}|}}<!-- | -->{{#vardefine: varQuestionTitle|{{#show:{{FULLPAGENAME}}|?Question Title|link=none}}|}}<!-- | ||
− | |||
− | |||
-->{{#vardefine: varQuestionTitleFormula|{{#show:{{FULLPAGENAME}}|?Question Title Formula|link=none}}|}}<!-- | -->{{#vardefine: varQuestionTitleFormula|{{#show:{{FULLPAGENAME}}|?Question Title Formula|link=none}}|}}<!-- | ||
− | |||
− | |||
-->{{#vardefine: varObjectType|{{#show:{{FULLPAGENAME}}|?Object Type|link=none}}|}}<!-- | -->{{#vardefine: varObjectType|{{#show:{{FULLPAGENAME}}|?Object Type|link=none}}|}}<!-- | ||
-->{{#vardefine: varObjectClass|{{#show:{{FULLPAGENAME}}|?Object Class|link=none}}|}}<!-- | -->{{#vardefine: varObjectClass|{{#show:{{FULLPAGENAME}}|?Object Class|link=none}}|}}<!-- | ||
− | |||
− | |||
-->{{#vardefine: varPredicate|{{#show:{{FULLPAGENAME}}|?Predicate|link=none}}|}}<!-- | -->{{#vardefine: varPredicate|{{#show:{{FULLPAGENAME}}|?Predicate|link=none}}|}}<!-- | ||
+ | -->{{#vardefine: varAnswerTitleFormula|{{#show:{{FULLPAGENAME}}|?Answer Title Formula|link=none}}|}}<!-- | ||
--><!-- | --><!-- | ||
--><!-- get heritable | --><!-- get heritable | ||
Line 75: | Line 70: | ||
-->{{#vardefine: varQuestionTextFormula|{{#show:{{#var: varInheritedFrom}}|?Question Text Formula|link=none}}|}}<!-- | -->{{#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}}|}}|}}<!-- | -->{{#vardefine: varQuestion|{{DecodeTextFormula|formula={{#var: varQuestionTextFormula}}|subject={{#var: varSubject}}|predicate={{#var: varPredicate}}|object={{#var: varObjectClass}}|}}|}}<!-- | ||
+ | -->{{#vardefine: varAnswerTitleFormula|{{#show:{{#var: varInheritedFrom}}|?Answer Title Formula|link=none}}|}}<!-- | ||
+ | -->{{#vardefine: varSingleAnswerTextFormula|{{#show:{{#var: varInheritedFrom}}|?Single Answer Text Formula|link=none}}|}}<!-- | ||
+ | -->{{#vardefine: varMultipleAnswersTextFormula|{{#show:{{#var: varInheritedFrom}}|?Multiple Answers Text Formula|link=none}}|}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--><!-- | --><!-- | ||
Line 224: | Line 222: | ||
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">* For Singular Capitalized with an Article: <a Subject>, <a Predicate>, <an Object>. </p> | <p class="sfFieldDescription" style="font-size:0.7em; color:gray;">* For Singular Capitalized with an Article: <a Subject>, <a Predicate>, <an Object>. </p> | ||
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, the answer's formulation text will be taken from the value of the answer's object.</p> | <p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, the answer's formulation text will be taken from the value of the answer's object.</p> | ||
− | |width="70%"| {{{field|Single Answer Text Formula|input type=textarea|rows=4}}} | + | |width="70%"| {{{field|Single Answer Text Formula|input type=textarea|rows=4|default={{#var: varSingleAnswerTextFormula}}|}}} |
|- | |- | ||
! Multiple Answers Text Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to format a sentence that combines all the answers to the question and presents them together. E.g. "The stances of <object> can be taken towards <subjects>" can produce “The stances of theory acceptance, theory use, and theory pursuit can be taken towards theories”. Note that, in this case, <object> will be converted by into a comma separated array of values.</p> | ! Multiple Answers Text Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to format a sentence that combines all the answers to the question and presents them together. E.g. "The stances of <object> can be taken towards <subjects>" can produce “The stances of theory acceptance, theory use, and theory pursuit can be taken towards theories”. Note that, in this case, <object> will be converted by into a comma separated array of values.</p> | ||
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, a comma separated list of individual formulations will be printed.</p> | <p class="sfFieldDescription" style="font-size:0.7em; color:gray;">NOTE: If the formula is empty, a comma separated list of individual formulations will be printed.</p> | ||
− | | {{{field|Multiple Answers Text Formula|input type=textarea|rows=4}}} | + | | {{{field|Multiple Answers Text Formula|input type=textarea|rows=4|default={{#var: varMultipleAnswersTextFormula}}|}}} |
|- | |- | ||
! Answer Title Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to construct the title (aka the page name) of an answer to this question. Use the variables <subject>, <predicate>, and <object> as well as their various word forms (indicated above). E.g. if the subject is Theory and the object is Theory Acceptance, then "Epistemic Stances Towards <Subjects> - <Object>" will produce "Epistemic Stances Towards Theory - Theory Acceptance". NOTE: Make sure to use the Capitalized word forms in page titles.</p> | ! Answer Title Formula: <br><p class="sfFieldDescription" style="font-size:0.7em; color:gray;">Indicate how to construct the title (aka the page name) of an answer to this question. Use the variables <subject>, <predicate>, and <object> as well as their various word forms (indicated above). E.g. if the subject is Theory and the object is Theory Acceptance, then "Epistemic Stances Towards <Subjects> - <Object>" will produce "Epistemic Stances Towards Theory - Theory Acceptance". NOTE: Make sure to use the Capitalized word forms in page titles.</p> | ||
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the formula is empty, the user will be prompted to enter an answer's title.</p> | <p class="sfFieldDescription" style="font-size:0.7em; color:gray;">If the formula is empty, the user will be prompted to enter an answer's title.</p> | ||
<p class="sfFieldDescription" style="font-size:0.7em; color:gray;">IMPORTANT: the author names and the year of formulation will be added to the answer's page title automatically.</p> | <p class="sfFieldDescription" style="font-size:0.7em; color:gray;">IMPORTANT: the author names and the year of formulation will be added to the answer's page title automatically.</p> | ||
− | | {{{field|Answer Title Formula|input type=textarea|rows=4}}} | + | | {{{field|Answer Title Formula|input type=textarea|rows=4|default={{#var: varAnswerTitleFormula}}|}}} |
|- | |- | ||
! 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:02, 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).